Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mark

Pages: [1]
1
Yate bugs / SIP-T Sonus ISUP issue
« on: September 19, 2015, 11:50:42 AM »
Hello all

First of all i would like to say thanks to the creators  for so great software - Yate.

I have problem with Sonus as SIP-T(SIP-I) gateway

Problem is:

When we set up isup=enable and do dialplan(regex) as it is explained we have SIP error(400 Bad request)

Discovering the issue we notified(and "Sonus guys" confirmed) - we have extra CRLF when calling ISUP

it is like this:
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO.
Content-Type: multipart/mixed;boundary=1432792387_3652669427.
Content-Length: 423.
.
.
--1432792387_3652669427.
Content-Type: application/sdp.
v=0.

when we call common SIP all is nice:

User-Agent: eyeBeam release 1102u stamp 52345.
Content-Length: 339.
.
v=0.


could anyone point me to the source file where this thing can be fixed?

I have inspected sources a little-  message.cpp where i have set
from-
body->buildHeaders(s);s
 s << "Content-Length: " << body->getBody().length() << "\r\n\r\n";
to-
 s << "Content-Length: " << body->getBody().length() << "\r\n";

after those changes - SIP-T works quite well BUT, outgoing with ordinary SIP doesn't work because we have no CRLF between SIP message and SDP....

Content-Length: 418.
v=0.

so my "solution" works but it isn't any solution because it brokes other functionality(common SIP)

Any ideas are very appreciated  ???







 






Pages: [1]