-----Original Message-----
From: Hendrik Magilsen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 4:13 PM
To: asterisk-users@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:[EMAIL PROTECTED]:5060;nt_end_pt=YM0+~Kc*n2erQnte~QOiq1.rjXp6i~CQ0QA~Nv2sHe6vi8Q~MQaK9crHbcS~RP2k4X~NsDetMEGucDEzCbwuMDYw7DVwj+V*ROTPQz3~LnhSc5g~M10qdt-tnadpz1tW4YO3c0t-5dzd9cetMlZPeA1c2.~T4SW01tJk5003172o~UHdFFm~NAf4imazaS;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:[EMAIL PROTECTED]:5060;nt_end_pt=YM0+~Kc*n2erQnte~QOiq1.rjXp6i~CQ0QA~Nv2sHe6vi8Q~MQaK9crHbcS~RP2k4X~NsDetMEGucDEzCbwuMDYw7DVwj+V*ROTPQz3~LnhSc5g~M10qdt-tnadpz1tW4YO3c0t-5dzd9cetMlZPeA1c2.~T4SW01tJk5003172o~UHdFFm~NAf4imazaS;nt_server_host=xxx'

 

 

Thanks

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to