Hi BogDan,<br>
<br>
Yes, I see Record-Route header in the 200 ok.......<br>
Please can u check the ngrepped of the X-lite <br>
with Hard phones iit is fine ...........<br>
Below one is ngrep from X-lite users, <br>
<br>
U <a href="http://192.168.2.3:5060">192.168.2.3:5060</a> -> <a href="http://61.17.248.68:2645">61.17.248.68:2645</a><br>
SIP/2.0 180 Ringing.<br>
Via: SIP/2.0/UDP <a href="http://192.168.2.19:5060">192.168.2.19:5060</a>;received=<a href="http://61.17.248.68">61.17.248.68</a>;rport=2645;branch=z9hG4bK07D6ABA60AB44ED785D560E08E4FB906.<br>
From: 9004 <<a href="mailto:sip:9004@59.93.61.80">sip:9004@59.93.61.80</a>>;tag=2300839400.<br>
To: <<a href="mailto:sip:9005@59.93.61.80">sip:9005@59.93.61.80</a>>;tag=1115807967.<br>
Contact: <sip:9005@61.17.248.68:5060>.<br>
Record-Route: <sip:<a href="http://192.168.2.3:5060">192.168.2.3:5060</a>;nat=yes;ftag=2300839400;lr=on>.<br>
Call-ID: <a href="mailto:79F5551B-74DF-46D6-99B0-81D1B0B62DE2@192.168.2.19">79F5551B-74DF-46D6-99B0-81D1B0B62DE2@192.168.2.19</a>.<br>
CSeq: 28497 INVITE.<br>
Server: X-Lite release 1103m.<br>
Content-Length: 0.<br>
#<br>
U <a href="http://61.17.248.68:5060">61.17.248.68:5060</a> -> <a href="http://192.168.2.3:5060">192.168.2.3:5060</a><br>
#<br>
U <a href="http://61.17.248.68:2645">61.17.248.68:2645</a> -> <a href="http://192.168.2.3:5060">192.168.2.3:5060</a><br>
#<br>
U <a href="http://61.17.248.68:5060">61.17.248.68:5060</a> -> <a href="http://192.168.2.3:5060">192.168.2.3:5060</a><br>
SIP/2.0 200 Ok.<br>
Via: SIP/2.0/UDP <a href="http://192.168.2.3">192.168.2.3</a>;branch=z9hG4bK82f3.04882de2.0;received=<a href="http://59.93.61.80">59.93.61.80</a>.<br>
Via: SIP/2.0/UDP <a href="http://192.168.2.19:5060">192.168.2.19:5060</a>;received=<a href="http://61.17.248.68">61.17.248.68</a>;rport=2645;branch=z9hG4bK07D6ABA60AB44ED785D560E08E4FB906.<br>
From: 9004 <<a href="mailto:sip:9004@59.93.61.80">sip:9004@59.93.61.80</a>>;tag=2300839400.<br>
To: <<a href="mailto:sip:9005@59.93.61.80">sip:9005@59.93.61.80</a>>;tag=1115807967.<br>
Contact: <sip:9005@192.168.2.3:5060>.<br>
Record-Route: <sip:<a href="http://192.168.2.3:5060">192.168.2.3:5060</a>;nat=yes;ftag=2300839400;lr=on>.<br>
Call-ID: <a href="mailto:79F5551B-74DF-46D6-99B0-81D1B0B62DE2@192.168.2.19">79F5551B-74DF-46D6-99B0-81D1B0B62DE2@192.168.2.19</a>.<br>
CSeq: 28497 INVITE.<br>
Content-Type: application/sdp.<br>
Server: X-Lite release 1103m.<br>
Content-Length: 290.<br>
v=0.<br>
o=9005 8334687 8344000 IN IP4 <a href="http://192.168.2.3">192.168.2.3</a>.<br>
s=X-Lite.<br>
c=IN IP4 <a href="http://192.168.2.3">192.168.2.3</a>.<br>
t=0 0.<br>
m=audio 16358 RTP/AVP 0 8 3 98 97 101.<br>
a=rtpmap:0 pcmu/8000.<br>
a=rtpmap:8 pcma/8000.<br>
a=rtpmap:3 gsm/8000.<br>
a=rtpmap:98 iLBC/8000.<br>
a=rtpmap:97 speex/8000.<br>
a=rtpmap:101 telephone-event/8000.<br>
a=fmtp:101 0-15.<br>
#<br>
U <a href="http://192.168.2.3:5060">192.168.2.3:5060</a> -> <a href="http://61.17.248.68:2645">61.17.248.68:2645</a><br>
SIP/2.0 200 Ok.<br>
Via: SIP/2.0/UDP <a href="http://192.168.2.19:5060">192.168.2.19:5060</a>;received=<a href="http://61.17.248.68">61.17.248.68</a>;rport=2645;branch=z9hG4bK07D6ABA60AB44ED785D560E08E4FB906.<br>
From: 9004 <<a href="mailto:sip:9004@59.93.61.80">sip:9004@59.93.61.80</a>>;tag=2300839400.<br>
To: <<a href="mailto:sip:9005@59.93.61.80">sip:9005@59.93.61.80</a>>;tag=1115807967.<br>
Contact: <sip:9005@61.17.248.68:5060>.<br>
Record-Route: <sip:<a href="http://192.168.2.3:5060">192.168.2.3:5060</a>;nat=yes;ftag=2300839400;lr=on>.<br>
Call-ID: <a href="mailto:79F5551B-74DF-46D6-99B0-81D1B0B62DE2@192.168.2.19">79F5551B-74DF-46D6-99B0-81D1B0B62DE2@192.168.2.19</a>.<br>
CSeq: 28497 INVITE.<br>
Content-Type: application/sdp.<br>
Server: X-Lite release 1103m.<br>
Content-Length: 290.<br>
.<br>
v=0.<br>
o=9005 8334687 8344000 IN IP4 <a href="http://192.168.2.3">192.168.2.3</a>.<br>
s=X-Lite.<br>
c=IN IP4 <a href="http://192.168.2.3">192.168.2.3</a>.<br>
t=0 0.<br>
m=audio 16358 RTP/AVP 0 8 3 98 97 101.<br>
a=rtpmap:0 pcmu/8000.<br>
a=rtpmap:8 pcma/8000.<br>
a=rtpmap:3 gsm/8000.<br>
a=rtpmap:98 iLBC/8000.<br>
a=rtpmap:97 speex/8000.<br>
a=rtpmap:101 telephone-event/8000.<br>
a=fmtp:101 0-15.<br>
--------------No ACK reuest to sip server -----------<br>
<br>
And the Below one is ngrep from Cisco ATA 188 phone <br>
<br>
#<br>
U <a href="http://192.168.2.3:5060">192.168.2.3:5060</a> -> <a href="http://61.17.248.68:5060">61.17.248.68:5060</a><br>
SIP/2.0 180 Ringing.<br>
Via: SIP/2.0/UDP <a href="http://192.168.2.4:5060">192.168.2.4:5060</a>;rport=5060;received=<a href="http://61.17.248.68">61.17.248.68</a>;branch=z9hG4bKf83dc9b8da84bb0d.<br>
Record-Route: <sip:<a href="http://192.168.2.3:5060">192.168.2.3:5060</a>;nat=yes;ftag=944392830;lr=on>.<br>
From: 9001 <<a href="mailto:sip:9001@59.93.61.80">sip:9001@59.93.61.80</a>;user=phone>;tag=944392830.<br>
To: <<a href="mailto:sip:9002@59.93.61.80">sip:9002@59.93.61.80</a>;user=phone>;tag=606700996.<br>
Call-ID: <a href="mailto:1749181330@192.168.2.4">1749181330@192.168.2.4</a>.<br>
CSeq: 2 INVITE.<br>
Require: 100rel.<br>
RSeq: 1.<br>
Contact: 9002 <sip:9002@61.17.248.68:5060;user=phone;transport=udp>.<br>
Server: Cisco ATA 188 v3.2.1 atasip (050616A).<br>
Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, PRACK, UPDATE.<br>
Content-Length: 0.<br>
#<br>
#<br>
U <a href="http://61.17.248.68:5060">61.17.248.68:5060</a> -> <a href="http://192.168.2.3:5060">192.168.2.3:5060</a><br>
SIP/2.0 200 OK.<br>
Via: SIP/2.0/UDP <a href="http://192.168.2.3">192.168.2.3</a>;branch=z9hG4bKa7ef.3290d1b6.0.<br>
Via: SIP/2.0/UDP <a href="http://192.168.2.4:5060">192.168.2.4:5060</a>;rport=5060;received=<a href="http://61.17.248.68">61.17.248.68</a>;branch=z9hG4bKf83dc9b8da84bb0d.<br>
Record-Route: <sip:<a href="http://192.168.2.3:5060">192.168.2.3:5060</a>;nat=yes;ftag=944392830;lr=on>.<br>
From: 9001 <<a href="mailto:sip:9001@59.93.61.80">sip:9001@59.93.61.80</a>;user=phone>;tag=944392830.<br>
To: <<a href="mailto:sip:9002@59.93.61.80">sip:9002@59.93.61.80</a>;user=phone>;tag=606700996.<br>
Call-ID: <a href="mailto:1749181330@192.168.2.4">1749181330@192.168.2.4</a>.<br>
CSeq: 2 INVITE.<br>
Contact: 9002 <sip:9002@192.168.2.4:5060;user=phone;transport=udp>.<br>
Server: Cisco ATA 188 v3.2.1 atasip (050616A).<br>
Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, PRACK, UPDATE.<br>
Supported: replaces.<br>
Content-Length: 193.<br>
Content-Type: application/sdp.<br>
.<br>
v=0.<br>
o=9002 13872 13872 IN IP4 <a href="http://192.168.2.4">192.168.2.4</a>.<br>
s=ATA186 Call.<br>
c=IN IP4 <a href="http://192.168.2.4">192.168.2.4</a>.<br>
t=0 0.<br>
m=audio 16384 RTP/AVP 0 101.<br>
a=rtpmap:0 PCMU/8000/1.<br>
a=rtpmap:101 telephone-event/8000.<br>
a=fmtp:101 0-15.<br>
<br>
#<br>
U <a href="http://192.168.2.3:5060">192.168.2.3:5060</a> -> <a href="http://61.17.248.68:5060">61.17.248.68:5060</a><br>
SIP/2.0 200 OK.<br>
Via: SIP/2.0/UDP <a href="http://192.168.2.4:5060">192.168.2.4:5060</a>;rport=5060;received=<a href="http://61.17.248.68">61.17.248.68</a>;branch=z9hG4bKf83dc9b8da84bb0d.<br>
Record-Route: <sip:<a href="http://192.168.2.3:5060">192.168.2.3:5060</a>;nat=yes;ftag=944392830;lr=on>.<br>
From: 9001 <<a href="mailto:sip:9001@59.93.61.80">sip:9001@59.93.61.80</a>;user=phone>;tag=944392830.<br>
To: <<a href="mailto:sip:9002@59.93.61.80">sip:9002@59.93.61.80</a>;user=phone>;tag=606700996.<br>
Call-ID: <a href="mailto:1749181330@192.168.2.4">1749181330@192.168.2.4</a>.<br>
CSeq: 2 INVITE.<br>
Contact: 9002 <sip:9002@61.17.248.68:5060;user=phone;transport=udp>.<br>
Server: Cisco ATA 188 v3.2.1 atasip (050616A).<br>
Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, PRACK, UPDATE.<br>
Supported: replaces.<br>
Content-Length: 193.<br>
Content-Type: application/sdp.<br>
.<br>
v=0.<br>
o=9002 13872 13872 IN IP4 <a href="http://192.168.2.4">192.168.2.4</a>.<br>
s=ATA186 Call.<br>
c=IN IP4 <a href="http://192.168.2.4">192.168.2.4</a>.<br>
t=0 0.<br>
m=audio 16384 RTP/AVP 0 101.<br>
a=rtpmap:0 PCMU/8000/1.<br>
a=rtpmap:101 telephone-event/8000.<br>
a=fmtp:101 0-15.<br>
U <a href="http://61.17.248.68:5060">61.17.248.68:5060</a> -> <a href="http://192.168.2.3:5060">192.168.2.3:5060</a><br>
ACK <a href="mailto:sip:9002@61.17.248.68">sip:9002@61.17.248.68</a> SIP/2.0.<br>
Route: <sip:<a href="http://192.168.2.3:5060">192.168.2.3:5060</a>;nat=yes;ftag=944392830;lr=on>.<br>
Via: SIP/2.0/UDP <a href="http://192.168.2.4:5060">192.168.2.4:5060</a>;branch=z9hG4bKdcc7a733706e39e7.<br>
From: 9001 <<a href="mailto:sip:9001@59.93.61.80">sip:9001@59.93.61.80</a>;user=phone>;tag=944392830.<br>
To: <<a href="mailto:sip:9002@59.93.61.80">sip:9002@59.93.61.80</a>;user=phone>;tag=606700996.<br>
Call-ID: <a href="mailto:1749181330@192.168.2.4">1749181330@192.168.2.4</a>.<br>
CSeq: 2 ACK.<br>
User-Agent: Cisco ATA 188 v3.2.1 atasip (050616A).<br>
Proxy-Authorization: Digest
username="9001",realm="<a href="http://59.93.61.80">59.93.61.80</a>",nonce="45c31da4f01c51af5f0ae0ea1e59af3cc6bb49eb",uri="<a href="mailto:sip:9002@59.93.61.80">sip:9002@59.93.61.80</a>
",response="89fb53d2e67d31adfee6dee63ea75108",qop=auth,nc=00000003,cnonce="28491128".<br>
Content-Length: 0.<br>
.<br>
<br>
#<br>
U <a href="http://192.168.2.3:5060">192.168.2.3:5060</a> -> <a href="http://61.17.248.68:5060">61.17.248.68:5060</a><br>
ACK <a href="mailto:sip:9002@61.17.248.68">sip:9002@61.17.248.68</a> SIP/2.0.<br>
Max-Forwards: 10.<br>
Record-Route: <sip:<a href="http://192.168.2.3">192.168.2.3</a>;lr=on;ftag=944392830>.<br>
Via: SIP/2.0/UDP <a href="http://192.168.2.3">192.168.2.3</a>;branch=z9hG4bKa7ef.3290d1b6.2.<br>
Via: SIP/2.0/UDP <a href="http://192.168.2.4:5060">192.168.2.4:5060</a>;received=<a href="http://61.17.248.68">61.17.248.68</a>;branch=z9hG4bKdcc7a733706e39e7.<br>
From: 9001 <<a href="mailto:sip:9001@59.93.61.80">sip:9001@59.93.61.80</a>;user=phone>;tag=944392830.<br>
To: <<a href="mailto:sip:9002@59.93.61.80">sip:9002@59.93.61.80</a>;user=phone>;tag=606700996.<br>
Call-ID: <a href="mailto:1749181330@192.168.2.4">1749181330@192.168.2.4</a>.<br>
CSeq: 2 ACK.<br>
User-Agent: Cisco ATA 188 v3.2.1 atasip (050616A).<br>
Proxy-Authorization: Digest
username="9001",realm="<a href="http://59.93.61.80">59.93.61.80</a>",nonce="45c31da4f01c51af5f0ae0ea1e59af3cc6bb49eb",uri="<a href="mailto:sip:9002@59.93.61.80">sip:9002@59.93.61.80</a>
",response="89fb53d2e67d31adfee6dee63ea75108",qop=auth,nc=00000003,cnonce="28491128".<br>
Content-Length: 0.<br>
<br>
<br><br><div><span class="gmail_quote">On 2/5/07, <b class="gmail_sendername">Bogdan-Andrei Iancu</b> <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ravi,<br><br>so you see any Record-Route hdrs in the 200 OK reply?<br><br>regards,<br>bogdan<br><br>raviprakash sunkara wrote:<br><br>> Hi BogDan,<br>> Good AfterNoon, and Thanks For replying to me,<br>><br>>
I used the Following code for Record_route();<br>><br>> route {<br>> ....<br>> .....<br>>
if(method=="INVITE" && nat_uac_test("3") )<br>> {<br>>
record_route_preset("sip:<br>> <a href="http://192.168.2.3:5060">192.168.2.3:5060</a> <<a href="http://192.168.2.3:5060">http://192.168.2.3:5060</a>>;nat=yes");<br>> }else
if ( method ! = " REGISTER ")<br>>
{<br>> record_route();<br>>
}<br>>
}<br>> where <a href="http://192.168.2.3:5060">192.168.2.3:5060</a> <<a href="http://192.168.2.3:5060">http://192.168.2.3:5060</a>> is the private IP of<br>> the SIP server behind the NAT.<br>><br>><br>
> On 2/5/07, * Bogdan-Andrei Iancu* <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>> <mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>>> wrote:<br>><br>
> Hi Ravi,<br>><br>> do you do record_route() for the INVITE? if not, the sequential<br>> requests<br>> of the dialog will bypass your server.<br>><br>> regards,<br>> bogdan
<br>><br>> raviprakash sunkara wrote:<br>><br>> > Hello Users,<br>> ><br>>
> When I tested the OpenSER
server with CISCO ATA 186/188 IP phones<br>> > SIP EyeP media (Softphnoes ) is working fine with RTP , when Both<br>> > Users and SIP Server is in Behind the NAT,<br>> ><br>> > But Problem with Softphones ( X-lite ) .
<br>> ><br>> > When I ngrep the Calls of X-lite users i didn't see any Ack<br>> Packet to<br>> > OpenSER After the Invite Packets received .<br>> ><br>> > Please Help me in this Part
<br>> ><br>> ><br>> > --<br>> > Thanks and Regards<br>> > Ravi Prakash Sunkara<br>> > <a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com
</a><br>> <mailto:<a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a>><br>> <mailto:<a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a><br>
> <mailto:<a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a>>><br>> > M:+91 9985077535<br>> > O:+91 40 23114549<br>> > F:+91 40 40208727<br>> >
<a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a><br>> <mailto:<a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a>> <mailto:<br>> <a href="mailto:ravi.sunkara@hyperion-tech.com">
ravi.sunkara@hyperion-tech.com</a><br>> <mailto:<a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a>>><br>> > <a href="http://www.hyperion-tech.com">www.hyperion-tech.com
</a> <<a href="http://www.hyperion-tech.com">http://www.hyperion-tech.com</a>><br>> <<a href="http://www.hyperion-tech.com">http://www.hyperion-tech.com</a>><br>> ><br>> >------------------------------------------------------------------------
<br>><br>> ><br>> >_______________________________________________<br>> >Users mailing list<br>> ><a href="mailto:Users@openser.org">Users@openser.org</a> <mailto:<a href="mailto:Users@openser.org">
Users@openser.org</a>><br>> > <a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a><br>> ><br>> ><br>><br>><br>><br>>
<br>> --<br>> Thanks and Regards<br>> Ravi Prakash Sunkara<br>> <a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a> <mailto:<a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com
</a>><br>> M:+91 9985077535<br>> O:+91 40 23114549<br>> F:+91 40 40208727<br>> <a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a> <mailto:<a href="mailto:ravi.sunkara@hyperion-tech.com">
ravi.sunkara@hyperion-tech.com</a>><br>> <a href="http://www.hyperion-tech.com">www.hyperion-tech.com</a> <<a href="http://www.hyperion-tech.com">http://www.hyperion-tech.com</a>><br><br><br></blockquote></div>
<br><br clear="all"><br>-- <br>Thanks and Regards<br>Ravi Prakash Sunkara                <br><a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a>         <br>M:+91 9985077535<br>O:+91 40 23114549<br>F:+91 40 40208727                 
<br><a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a><br><a href="http://www.hyperion-tech.com">www.hyperion-tech.com</a>