Hello,<br><br>I am using SER as a redirect server.<br>I recently posted almost the same question.<br>This time the format of the CONTACT is different. It contains call information.<br><br>Recently I came across an issue where the 302 sent back by SER is
<br>not liked by a soft switch. Particularly , the format of the CONTACT <br>field according to the softswitch..
<br><br>Here is an excerpt of the 302 reply send back ...<br><span><font color="#0000ff" face="Tahoma" size="2"><br>Session Initiation Protocol<br> Status-Line: SIP/2.0 302 MovedTemporarily<br> Status-Code: 302
<br> Resent Packet: False<br> Message Header<br> Via:SIP/2.0/UDP <a href="http://70.167.132.2">70.167.132.2</a>;branch=z9hG4bK-BroadWorks.70.167.132.2-172.20.20.46V5060-0-476027561-38657848-1175625610577-
<br> From:"7000 Arris-EMTA-SIP"<<a href="mailto:sip:6782347000@70.167.132.2">sip:6782347000@70.167.132.2</a>;user=phone>;tag=38657848-1175625610577-<br> SIP Display info: "7000 Arris-EMTA-SIP"
<br> SIP from address: <a href="mailto:sip:6782347000@70.167.132.2">sip:6782347000@70.167.132.2</a><br> SIP tag: 38657848-1175625610577-<br> To:<sip:+16782349999;csel=noind@172.20.20.46:5060;user=phone>;tag=
b27e1a1d33761e85846fc98f5f3a7e58.4baf<br> SIP to address: sip:+16782349999<br> SIP tag: b27e1a1d33761e85846fc98f5f3a7e58.4baf<br> <a href="mailto:Call-ID:BW144010577030407-1243907316@70.167.132.2">
Call-ID:BW144010577030407-1243907316@70.167.132.2</a><br> CSeq:476027561 INVITE<br> <span style="color: rgb(204, 0, 0);">Contact: sip:+16782349999;csel=noind@172.20.20.37:5060;user=phone;transport=udp</span>
<br> Server: Sip EXpress router (0.8.14 (i386/linux))<br> Content-Length: 0<br> <br><span style="color: rgb(0, 0, 0);">the softswitch is wanting the contact field with <sip:xxxx@xxx.xxx.xxx.xxx:5060> like a FROM or TO URI.
<br>It is claiming that since it contains call information within the sip URI, it should be enclosed <br>withing < >.<br style="color: rgb(0, 0, 0);"> </span>
<br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Here is ser.cfg part that does the sl_send_reply();</span><br style="color: rgb(0, 0, 0);"><br> # do a stateless redirect, if return code is correct<br>
if (method=="INVITE")<br> {<br> xlog("L_INFO", "SourceIP <%is> \n");<br> xlog("L_INFO", "From-uri<%fu>, r-uri <%ru> \n");<br> if (!gl_redirect())
<span style="color: rgb(204, 0, 0);">
<< custom function that just gets a Server to redirect to</span><br> {<br> sl_send_reply("480", "TemporarilyUnavailable");<br> xlog("L_WARN", "Sending a 480 response with r-uri <%ru>\n");
<br> break;<br>
}<br> else<br> {<br> sl_send_reply("302", "MovedTemporarily");<br> xlog("L_DBG", "Sending a 302 response with r-uri <%ru>\n");<br>
break;
<br> }<br> };<br><br><span style="color: rgb(0, 0, 0);">Any help is appreciated.</span></font></span><span style="color: rgb(0, 0, 0);"><font face="Tahoma" size="2"><strong></strong></font>
</span><br style="color: rgb(0, 0, 0);"><span><font color="#0000ff" face="Tahoma" size="2"><br><br clear="all"></font></span>thanks,<br clear="all"><br>-- <br>Jignesh Gandhi<br><a href="mailto:jigpgandhi@gmail.com">jigpgandhi@gmail.com
</a>