<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.emailstyle17
        {font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Hendrik Magilsen
[mailto:hmagilsen@hotmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, April 06, 2005
4:13 PM<br>
<b><span style='font-weight:bold'>To:</span></b>
asterisk-users@lists.digium.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> SIP messages truncated to
256 characters</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>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?</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>What is sent</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>r:
<sip:conference@xxx.xxx.xxx.xxx: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></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>What Asterisk sees</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Apr 6 15:32:23 WARNING[31877]:
chan_sip.c:995 ditch_braces: No closing brace in '<sip:conference@xxx.xxx.xxx.xxx: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'</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Thanks</span></font></p>
</div>
</body>
</html>