[Asterisk-Users] SIP messages truncated to 256 characters

Hendrik Magilsen hmagilsen at hotmail.com
Wed Apr 6 13:17:00 MST 2005


 

 

-----Original Message-----
From: Hendrik Magilsen [mailto:hmagilsen at hotmail.com] 
Sent: Wednesday, April 06, 2005 4:13 PM
To: asterisk-users at lists.digium.com
Subject: SIP messages truncated to 256 characters

 

I'm troubleshooting a REFER message.  It appears that incoming REFER message
details are being truncated to 256 characters.  I'm dealing with a SIP
provider that sends out large reference strings.  The r: parameter is just a
bit bigger than the 256 characters asterisk seems to be truncating to,
consequently it loses part of the reference domain and the transaction
fails.  I'm poking through the source code in chan_sip.c, but C is not my
strong suit, can someone point me to the variable declarations for incoming
message strings so I can increase the size and recompile to see if this
sorts out my call issue?

 

What is sent

r:
<sip:conference at xxx.xxx.xxx.xxx:5060;nt_end_pt=YM0+~Kc*n2erQnte~QOiq1.rjXp6i
~CQ0QA~Nv2sHe6vi8Q~MQaK9crHbcS~RP2k4X~NsDetMEGucDEzCbwuMDYw7DVwj+V*ROTPQz3~L
nhSc5g~M10qdt-tnadpz1tW4YO3c0t-5dzd9cetMlZPeA1c2.~T4SW01tJk5003172o~UHdFFm~N
Af4imazaS;nt_server_host=xxx.xxx.xxx.xxx>

 

What Asterisk sees

Apr  6 15:32:23 WARNING[31877]: chan_sip.c:995 ditch_braces: No closing
brace in
'<sip:conference at xxx.xxx.xxx.xxx:5060;nt_end_pt=YM0+~Kc*n2erQnte~QOiq1.rjXp6
i~CQ0QA~Nv2sHe6vi8Q~MQaK9crHbcS~RP2k4X~NsDetMEGucDEzCbwuMDYw7DVwj+V*ROTPQz3~
LnhSc5g~M10qdt-tnadpz1tW4YO3c0t-5dzd9cetMlZPeA1c2.~T4SW01tJk5003172o~UHdFFm~
NAf4imazaS;nt_server_host=xxx'

 

 

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050406/535e72c7/attachment.htm


More information about the asterisk-users mailing list