Is there a way to generate a new call leg in openser?<br><br><div class="gmail_quote">On Dec 10, 2007 7:03 PM, Alex Balashov <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br>And probably a new call-ID as well. In other words, you'd probably need<br>all the logical elements of a distinct call leg, per the RFC; the source<br>of application you'd want to use a back-to-back user agent for if you
<br>weren't using OpenSER.<br><div><div></div><div class="Wj3C7c"><br><br>On Mon, 10 Dec 2007, Daniel Corbe wrote:<br><br>> I have a problem. I'm taking INVITES from a PortaSIP proxy and handing it<br>> back with a new request URI and To: header; however, their loop
<br>> detection algorithm is calling this a loop.<br>> Is there a way to fix this from within OpenSER? I'm assuming my proxy would<br>> have to send an INVITE with a completely new branch tag and From tag?<br>
><br>> 10 Dec 14:52:30.831/GLOBAL/b2bua: SENDING message to <a href="http://206.71.169.114:5060" target="_blank">206.71.169.114:5060</a>:<br>> INVITE sip:*94310@206.71.169.114:5060 SIP/2.0<br>> Via: SIP/2.0/UDP
<a href="http://216.151.143.69:5061" target="_blank">216.151.143.69:5061</a><br>> ;branch=z9hG4bKecaee2770d3db1e3a26ddc741511b55b;rport<br>> Max-Forwards: 70<br>> From: <<a href="mailto:sip:18589520696@216.151.143.69">
sip:18589520696@216.151.143.69</a>>;tag=3b383c39c2bc93d8106f4425074ef399<br>> To: <<a href="mailto:sip:*94310@206.71.169.114">sip:*94310@206.71.169.114</a>><br>> Call-ID: 722814-3406315950-714741@msx69.mydomain.com
~1o<br>> CSeq: 200 INVITE<br>> Contact: Anonymous <sip:<a href="http://216.151.143.69:5061" target="_blank">216.151.143.69:5061</a>><br>> Expires: 300<br>> User-Agent: Sippy<br>> cisco-GUID: 2108088383-2809270748-2290810900-572575638
<br>> h323-conf-id: 2108088383-2809270748-2290810900-572575638<br>> Content-Length: 201<br>> Content-Type: application/sdp<br>> v=0<br>> o=Sippy 156402124 0 IN IP4 <a href="http://216.151.143.69" target="_blank">
216.151.143.69</a><br>> s=sip call<br>> t=0 0<br>> m=audio 42486 RTP/AVP 18 0 8<br>> c=IN IP4 <a href="http://216.151.143.77" target="_blank">216.151.143.77</a><br>> a=rtpmap:8 PCMA/8000<br>> a=rtpmap:0 PCMU/8000
<br>> a=rtpmap:18 G729/8000<br>> a=sendrecv<br>><br>> 10 Dec 14:52:30.841/GLOBAL/b2bua: RECEIVED message from <a href="http://206.71.169.114:5060" target="_blank">206.71.169.114:5060</a>:<br>> SIP/2.0 100 Giving a try
<br>> Via: SIP/2.0/UDP <a href="http://216.151.143.69:5061" target="_blank">216.151.143.69:5061</a><br>> ;branch=z9hG4bKecaee2770d3db1e3a26ddc741511b55b;rport=5061<br>> From: <<a href="mailto:sip:18589520696@216.151.143.69">
sip:18589520696@216.151.143.69</a>>;tag=3b383c39c2bc93d8106f4425074ef399<br>> To: <<a href="mailto:sip:*94310@206.71.169.114">sip:*94310@206.71.169.114</a>><br>> Call-ID: 722814-3406315950-714741@msx69.mydomain.com
~1o<br>> CSeq: 200 INVITE<br>> Server: OpenSER (1.2.2-notls (i386/freebsd))<br>> Content-Length: 0<br>><br>> 10 Dec 14:52:30.842/GLOBAL/ser[69804]: RECEIVED message from<br>> <a href="http://206.71.169.114:5060" target="_blank">
206.71.169.114:5060</a>:<br>> INVITE sip:1a10000000009@216.151.143.69:5060 SIP/2.0<br>> Record-Route: <sip:<a href="http://206.71.169.114" target="_blank">206.71.169.114</a><br>> ;lr=on;ftag=3b383c39c2bc93d8106f4425074ef399;did=
fad.a2f4eb52><br>> Via: SIP/2.0/UDP <a href="http://206.71.169.114" target="_blank">206.71.169.114</a>;branch=z9hG4bK961c.41ea57a.0<br>> Via: SIP/2.0/UDP <a href="http://216.151.143.69:5061" target="_blank">216.151.143.69:5061
</a><br>> ;branch=z9hG4bKecaee2770d3db1e3a26ddc741511b55b;rport=5061<br>> Max-Forwards: 69<br>> From: <<a href="mailto:sip:18589520696@216.151.143.69">sip:18589520696@216.151.143.69</a>>;tag=3b383c39c2bc93d8106f4425074ef399
<br>> To: <sip:1a10000000009@216.151.143.69:5060><br>> Call-ID: 722814-3406315950-714741@msx69.mydomain.com~1o<br>> CSeq: 200 INVITE<br>> Contact: Anonymous <sip:<a href="http://216.151.143.69:5061" target="_blank">
216.151.143.69:5061</a>><br>> Expires: 300<br>> User-Agent: Sippy<br>> cisco-GUID: 2108088383-2809270748-2290810900-572575638<br>> h323-conf-id: 2108088383-2809270748-2290810900-572575638<br>> Content-Length: 201
<br>> Content-Type: application/sdp<br>> P-hint: rr-enforced<br>> v=0<br>> o=Sippy 156402124 0 IN IP4 <a href="http://216.151.143.69" target="_blank">216.151.143.69</a><br>> s=sip call<br>> t=0 0<br>> m=audio 42486 RTP/AVP 18 0 8
<br>> c=IN IP4 <a href="http://216.151.143.77" target="_blank">216.151.143.77</a><br>> a=rtpmap:8 PCMA/8000<br>> a=rtpmap:0 PCMU/8000<br>> a=rtpmap:18 G729/8000<br>> a=sendrecv<br>><br>> 10 Dec 14:52:
30.842/722814-3406315950-714741@msx69.mydomain.com~1o/ser[69804]:<br>> processing INVITE received from <a href="http://206.71.169.114" target="_blank">206.71.169.114</a><br>> 10 Dec 14:52:30.843/GLOBAL/ser[69804]: SENDING message to
<br>> <a href="http://206.71.169.114:5060" target="_blank">206.71.169.114:5060</a>:<br>> SIP/2.0 100 trying -- your call is important to us<br>> Via: SIP/2.0/UDP <a href="http://206.71.169.114" target="_blank">206.71.169.114
</a>;branch=z9hG4bK961c.41ea57a.0<br>> Via: SIP/2.0/UDP <a href="http://216.151.143.69:5061" target="_blank">216.151.143.69:5061</a><br>> ;branch=z9hG4bKecaee2770d3db1e3a26ddc741511b55b;rport=5061<br>> From: <
<a href="mailto:sip:18589520696@216.151.143.69">sip:18589520696@216.151.143.69</a>>;tag=3b383c39c2bc93d8106f4425074ef399<br>> To: <sip:1a10000000009@216.151.143.69:5060><br>> Call-ID: 722814-3406315950-714741@msx69.mydomain.com
~1o<br>> CSeq: 200 INVITE<br>> Server: Sip EXpress router (0.9.6 (i386/freebsd))<br>> Content-Length: 0<br>><br>> 10 Dec 14:52:30.844/GLOBAL/ser[69804]: SENDING message to<br>> <a href="http://216.151.143.69:5061" target="_blank">
216.151.143.69:5061</a>:<br>> INVITE sip:1a10000000009@216.151.143.69:5061 SIP/2.0<br>> Record-Route: <sip:<a href="http://216.151.143.69" target="_blank">216.151.143.69</a>;ftag=3b383c39c2bc93d8106f4425074ef399;lr>
<br>> Record-Route: <sip:<a href="http://206.71.169.114" target="_blank">206.71.169.114</a><br>> ;lr=on;ftag=3b383c39c2bc93d8106f4425074ef399;did=fad.a2f4eb52><br>> Via: SIP/2.0/UDP <a href="http://216.151.143.69" target="_blank">
216.151.143.69</a>;branch=<br>> z9hG4bK961c.003d31266db19cfeb34aa550d186a976.0<br>> Via: SIP/2.0/UDP <a href="http://206.71.169.114" target="_blank">206.71.169.114</a>;branch=z9hG4bK961c.41ea57a.0<br>> Via: SIP/2.0/UDP
<a href="http://216.151.143.69:5061" target="_blank">216.151.143.69:5061</a><br>> ;branch=z9hG4bKecaee2770d3db1e3a26ddc741511b55b;rport=5061<br>> Max-Forwards: 16<br>> From: <<a href="mailto:sip:18589520696@216.151.143.69">
sip:18589520696@216.151.143.69</a>>;tag=3b383c39c2bc93d8106f4425074ef399<br>> To: <sip:1a10000000009@216.151.143.69:5060><br>> Call-ID: 722814-3406315950-714741@msx69.mydomain.com~1o<br>> CSeq: 200 INVITE
<br>> Contact: Anonymous <sip:<a href="http://216.151.143.69:5061" target="_blank">216.151.143.69:5061</a>><br>> Expires: 300<br>> User-Agent: Sippy<br>> cisco-GUID: 2108088383-2809270748-2290810900-572575638
<br>> Content-Length: 201<br>> Content-Type: application/sdp<br>> P-hint: rr-enforced<br>> v=0<br>> o=Sippy 156402124 0 IN IP4 <a href="http://216.151.143.69" target="_blank">216.151.143.69</a><br>> s=sip call
<br>> t=0 0<br>> m=audio 42486 RTP/AVP 18 0 8<br>> c=IN IP4 <a href="http://216.151.143.77" target="_blank">216.151.143.77</a><br>> a=rtpmap:8 PCMA/8000<br>> a=rtpmap:0 PCMU/8000<br>> a=rtpmap:18 G729/8000
<br>> a=sendrecv<br>><br>> 10 Dec 14:52:30.844/GLOBAL/b2bua: RECEIVED message from <a href="http://216.151.143.69:5060" target="_blank">216.151.143.69:5060</a>:<br>> INVITE sip:1a10000000009@216.151.143.69:5061 SIP/2.0
<br>> Record-Route: <sip:<a href="http://216.151.143.69" target="_blank">216.151.143.69</a>;ftag=3b383c39c2bc93d8106f4425074ef399;lr><br>> Record-Route: <sip:<a href="http://206.71.169.114" target="_blank">
206.71.169.114</a><br>> ;lr=on;ftag=3b383c39c2bc93d8106f4425074ef399;did=fad.a2f4eb52><br>> Via: SIP/2.0/UDP <a href="http://216.151.143.69" target="_blank">216.151.143.69</a>;branch=<br>> z9hG4bK961c.003d31266db19cfeb34aa550d186a976.0
<br>> Via: SIP/2.0/UDP <a href="http://206.71.169.114" target="_blank">206.71.169.114</a>;branch=z9hG4bK961c.41ea57a.0<br>> Via: SIP/2.0/UDP <a href="http://216.151.143.69:5061" target="_blank">216.151.143.69:5061</a>
<br>> ;branch=z9hG4bKecaee2770d3db1e3a26ddc741511b55b;rport=5061<br>> Max-Forwards: 16<br>> From: <<a href="mailto:sip:18589520696@216.151.143.69">sip:18589520696@216.151.143.69</a>>;tag=3b383c39c2bc93d8106f4425074ef399
<br>> To: <sip:1a10000000009@216.151.143.69:5060><br>> Call-ID: 722814-3406315950-714741@msx69.mydomain.com~1o<br>> CSeq: 200 INVITE<br>> Contact: Anonymous <sip:<a href="http://216.151.143.69:5061" target="_blank">
216.151.143.69:5061</a>><br>> Expires: 300<br>> User-Agent: Sippy<br>> cisco-GUID: 2108088383-2809270748-2290810900-572575638<br>> Content-Length: 201<br>> Content-Type: application/sdp<br>> P-hint: rr-enforced
<br>> v=0<br>> o=Sippy 156402124 0 IN IP4 <a href="http://216.151.143.69" target="_blank">216.151.143.69</a><br>> s=sip call<br>> t=0 0<br>> m=audio 42486 RTP/AVP 18 0 8<br>> c=IN IP4 <a href="http://216.151.143.77" target="_blank">
216.151.143.77</a><br>> a=rtpmap:8 PCMA/8000<br>> a=rtpmap:0 PCMU/8000<br>> a=rtpmap:18 G729/8000<br>> a=sendrecv<br>><br>> 10 Dec 14:52:30.847/GLOBAL/b2bua: SENDING message to <a href="http://216.151.143.69:5060" target="_blank">
216.151.143.69:5060</a>:<br>> SIP/2.0 482 Loop Detected<br>> Via: SIP/2.0/UDP <a href="http://216.151.143.69" target="_blank">216.151.143.69</a>;branch=<br>> z9hG4bK961c.003d31266db19cfeb34aa550d186a976.0<br>> Via: SIP/2.0/UDP
<a href="http://206.71.169.114" target="_blank">206.71.169.114</a>;branch=z9hG4bK961c.41ea57a.0<br>> Via: SIP/2.0/UDP <a href="http://216.151.143.69:5061" target="_blank">216.151.143.69:5061</a><br>> ;branch=z9hG4bKecaee2770d3db1e3a26ddc741511b55b;rport=5061
<br>> Record-Route: <sip:<a href="http://216.151.143.69" target="_blank">216.151.143.69</a>;ftag=3b383c39c2bc93d8106f4425074ef399;lr><br>> Record-Route: <sip:<a href="http://206.71.169.114" target="_blank">
206.71.169.114</a><br>> ;lr=on;ftag=3b383c39c2bc93d8106f4425074ef399;did=fad.a2f4eb52><br>> From: <<a href="mailto:sip:18589520696@216.151.143.69">sip:18589520696@216.151.143.69</a>>;tag=3b383c39c2bc93d8106f4425074ef399
<br>> To: <sip:1a10000000009@216.151.143.69:5060><br>> Call-ID: 722814-3406315950-714741@msx69.mydomain.com~1o<br>> CSeq: 200 INVITE<br>> Server: Sippy<br>><br><br></div></div><font color="#888888">--
<br>Alex Balashov<br>Evariste Systems<br>Web : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>Tel : +1-678-954-0670<br>Direct : +1-678-954-0671<br></font></blockquote></div>
<br>