Hello folks, Can somebody please guide me on this. Thanks !
On Wed, May 20, 2015 at 7:42 PM, Rahul MathuR <[email protected]> wrote: > Hello, > > > I'm facing issues with far-end NAT traversal this case being, (wifi to 3G) > is still not working. > I am using Linphone-Android, one on 3G and other behind Wifi router. > I am able to call from 3G to Wifi, Wifi to Wifi (using same Wifi router) > but for some reason, Wifi to 3G is constantly getting RTO'ed. > > Please note that even though it is not responding to INVITEs sent by SIP > server (on the specific IP:port), it is very well responding to the > keep-alive OPTIONS messages from outbound-proxy. > > > Below is the trace of what is happening on my systems - > > Registration of UAC Behind WiFi > ******************************* > > UAC ------> Proxy > ----------------- > > REGISTER sip:188.227.178.226 SIP/2.0 > Via: SIP/2.0/UDP 59.178.140.180:5060;branch=z9hG4bK.MAq2ODF9T;rport > From: <sip:[email protected]>;tag=BQR7JcwOi > To: sip:[email protected] > CSeq: 25 REGISTER > Call-ID: GCOzYfxLqw > Max-Forwards: 70 > Supported: replaces, outbound > Contact: <sip:[email protected] > >;+sip.instance="<urn:uuid:b368e9b2-d156-4377-8e5e-b1b6f293de45>" > Expires: 3600 > User-Agent: LinphoneAndroid/3 (belle-sip/1.3.2) > Authorization: Digest realm="188.227.178.226", > nonce="555b738d000137e5140acc6ffeafac33d1aafa6094b3da16", > username="181085", uri="sip:188.227.178.226", > response="d622655dcae5c6861c05e71533cb445e" > > > > Proxy ------> SIP Server > ------------------------ > > REGISTER sip:188.227.178.226 SIP/2.0 > Via: SIP/2.0/UDP 104.222.98.124:7878 > ;branch=z9hG4bKf61e.10e33f9242f9bab1186af8c0d860f197.0 > Via: SIP/2.0/UDP 59.178.140.180:5060 > ;received=59.178.140.180;branch=z9hG4bK.MAq2ODF9T;rport=5060 > From: <sip:[email protected]>;tag=BQR7JcwOi > To: sip:[email protected] > CSeq: 25 REGISTER > Call-ID: GCOzYfxLqw > Max-Forwards: 69 > Supported: replaces, outbound > Contact: <sip:[email protected] > >;+sip.instance="<urn:uuid:b368e9b2-d156-4377-8e5e-b1b6f293de45>" > Expires: 3600 > User-Agent: LinphoneAndroid/3 (belle-sip/1.3.2) > Authorization: Digest realm="188.227.178.226", > nonce="555b738d000137e5140acc6ffeafac33d1aafa6094b3da16", > username="181085", uri="sip:188.227.178.226", > response="d622655dcae5c6861c05e71533cb445e" > P-hint: outbound > > > > SIP Server ------> Proxy > ------------------------ > > SIP/2.0 200 OK > Via: SIP/2.0/UDP 104.222.98.124:7878 > ;received=104.222.98.124;rport=7878;branch=z9hG4bKf61e.10e33f9242f9bab1186af8c0d860f197.0 > Via: SIP/2.0/UDP 59.178.140.180:5060 > ;received=59.178.140.180;branch=z9hG4bK.MAq2ODF9T;rport=5060 > From: <sip:[email protected]>;tag=BQR7JcwOi > To: sip:[email protected];tag=66565ae6872f3b1972fa74c2273140bf.91f7 > CSeq: 25 REGISTER > Call-ID: GCOzYfxLqw > Contact: <sip:[email protected]>;expires=120 > Server: OpenSIPS (1.8.3-notls (x86_64/linux)) > Content-Length: 0 > > > Proxy ------> UAC > ----------------- > > SIP/2.0 200 OK > Via: SIP/2.0/UDP 59.178.140.180:5060 > ;received=59.178.140.180;branch=z9hG4bK.MAq2ODF9T;rport=5060 > From: <sip:[email protected]>;tag=BQR7JcwOi > To: sip:[email protected];tag=66565ae6872f3b1972fa74c2273140bf.91f7 > CSeq: 25 REGISTER > Call-ID: GCOzYfxLqw > Contact: <sip:[email protected]>;expires=120 > Server: OpenSIPS (1.8.3-notls (x86_64/linux)) > Content-Length: 0 > > > > Registration of UAC on 3G > ************************* > > UAC ------> Proxy > ----------------- > > REGISTER sip:188.227.178.226 SIP/2.0 > Via: SIP/2.0/UDP 106.201.89.50:5060;branch=z9hG4bK.TZ8-sBaxi;rport > From: <sip:[email protected]>;tag=bL0ESqY70 > To: sip:[email protected] > CSeq: 25 REGISTER > Call-ID: ei4dEgWhzV > Max-Forwards: 70 > Supported: replaces, outbound > Contact: <sip:[email protected] > >;+sip.instance="<urn:uuid:61dd7345-d790-4146-8a00-7df4478193e6>" > Expires: 3600 > User-Agent: LinphoneAndroid/3 (belle-sip/1.3.2) > Authorization: Digest realm="188.227.178.226", > nonce="555b7343000137493797b541c03d370fd95d1c5f1b634449", username="10185", > uri="sip:188.227.178.226", response="1e9f404568b1fbded560fafc8714db31" > > > Proxy ------> SIP Server > ------------------------ > > REGISTER sip:188.227.178.226 SIP/2.0 > Via: SIP/2.0/UDP 104.222.98.124:7878 > ;branch=z9hG4bKdf92.7d24b9515de3bb87a736bb7e40cd1923.0 > Via: SIP/2.0/UDP 106.201.89.50:5060 > ;received=106.201.89.50;branch=z9hG4bK.TZ8-sBaxi;rport=5060 > From: <sip:[email protected]>;tag=bL0ESqY70 > To: sip:[email protected] > CSeq: 25 REGISTER > Call-ID: ei4dEgWhzV > Max-Forwards: 69 > Supported: replaces, outbound > Contact: <sip:[email protected] > >;+sip.instance="<urn:uuid:61dd7345-d790-4146-8a00-7df4478193e6>" > Expires: 3600 > User-Agent: LinphoneAndroid/3 (belle-sip/1.3.2) > Authorization: Digest realm="188.227.178.226", > nonce="555b7343000137493797b541c03d370fd95d1c5f1b634449", username="10185", > uri="sip:188.227.178.226", response="1e9f404568b1fbded560fafc8714db31" > P-hint: outbound > > > SIP Server ------> Proxy > ------------------------ > > SIP/2.0 200 OK > Via: SIP/2.0/UDP 104.222.98.124:7878 > ;received=104.222.98.124;rport=7878;branch=z9hG4bKaf92.109b3a2c233dcc8d0a0adafe734e77d5.0 > Via: SIP/2.0/UDP 106.201.89.50:5060 > ;received=106.201.89.50;branch=z9hG4bK.u6mLnvNhh;rport=5060 > From: <sip:[email protected]>;tag=bL0ESqY70 > To: sip:[email protected];tag=66565ae6872f3b1972fa74c2273140bf.caca > CSeq: 26 REGISTER > Call-ID: ei4dEgWhzV > Contact: <sip:[email protected]>;expires=120 > Server: OpenSIPS (1.8.3-notls (x86_64/linux)) > Content-Length: 0 > > > Proxy ------> UAC > ----------------- > > SIP/2.0 200 OK > Via: SIP/2.0/UDP 106.201.89.50:5060 > ;received=106.201.89.50;branch=z9hG4bK.u6mLnvNhh;rport=5060 > From: <sip:[email protected]>;tag=bL0ESqY70 > To: sip:[email protected];tag=66565ae6872f3b1972fa74c2273140bf.caca > CSeq: 26 REGISTER > Call-ID: ei4dEgWhzV > Contact: <sip:[email protected]>;expires=120 > Server: OpenSIPS (1.8.3-notls (x86_64/linux)) > Content-Length: 0 > > > > > > Calling from UAa (wifi) to UAb (3G) > *********************************** > > UAa ------> Proxy > ----------------- > > INVITE sip:[email protected] SIP/2.0 > Via: SIP/2.0/UDP 59.178.140.180:5060;branch=z9hG4bK.dii5ugxwb;rport > From: <sip:[email protected]>;tag=sjR6XkprZ > To: sip:[email protected] > CSeq: 20 INVITE > Call-ID: 5kP-E1uHL1 > Max-Forwards: 70 > Route: <sip:104.222.98.124:7878;lr> > Supported: replaces, outbound > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO, UPDATE > Content-Type: application/sdp > Content-Length: 421 > Contact: <sip:[email protected] > >;+sip.instance="<urn:uuid:b368e9b2-d156-4377-8e5e-b1b6f293de45>" > User-Agent: LinphoneAndroid/3 (belle-sip/1.3.2) > > v=0 > o=181085 2051 698 IN IP4 59.178.140.180 > s=Talk > c=IN IP4 59.178.140.180 > b=AS:380 > t=0 0 > m=audio 11695 RTP/AVP 124 120 111 110 0 8 101 > a=rtpmap:124 opus/48000/2 > a=fmtp:124 useinbandfec=1; stereo=0; sprop-stereo=0 > a=rtpmap:120 SILK/16000 > a=rtpmap:111 speex/16000 > a=fmtp:111 vbr=on > a=rtpmap:110 speex/8000 > a=fmtp:110 vbr=on > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-15 > a=rtcp:7077 IN IP4 192.168.1.2 > > > Proxy ------> SIP Server > ------------------------ > > INVITE sip:[email protected] SIP/2.0 > Record-Route: <sip:104.222.98.124:7878;lr=on;nat=yes> > Via: SIP/2.0/UDP 104.222.98.124:7878 > ;branch=z9hG4bKae74.d03682b95a7f012aaa8cc9e9bc9b14f5.0 > Via: SIP/2.0/UDP 59.178.140.180:5060 > ;received=59.178.140.180;branch=z9hG4bK.dii5ugxwb;rport=5060 > From: <sip:[email protected]>;tag=sjR6XkprZ > To: sip:[email protected] > CSeq: 20 INVITE > Call-ID: 5kP-E1uHL1 > Max-Forwards: 69 > Supported: replaces, outbound > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO, UPDATE > Content-Type: application/sdp > Content-Length: 421 > Contact: <sip:[email protected] > >;+sip.instance="<urn:uuid:b368e9b2-d156-4377-8e5e-b1b6f293de45>" > User-Agent: LinphoneAndroid/3 (belle-sip/1.3.2) > Path: <sip:104.222.98.124:7878;lr;received=sip:59.178.140.180:5060> > P-hint: outbound > > v=0 > o=181085 2051 698 IN IP4 104.222.98.124 > s=Talk > c=IN IP4 104.222.98.124 > b=AS:380 > t=0 0 > m=audio 19880 RTP/AVP 124 120 111 110 0 8 101 > a=rtpmap:124 opus/48000/2 > a=fmtp:124 useinbandfec=1; stereo=0; sprop-stereo=0 > a=rtpmap:120 SILK/16000 > a=rtpmap:111 speex/16000 > a=fmtp:111 vbr=on > a=rtpmap:110 speex/8000 > a=fmtp:110 vbr=on > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-15 > a=rtcp:19881 > a=nortpproxy:yes > > > SIP Server ------> Proxy > ------------------------ > > SIP/2.0 100 Giving a try > Via: SIP/2.0/UDP 104.222.98.124:7878 > ;received=104.222.98.124;rport=7878;branch=z9hG4bKbe74.a7aaf30744452fb8d6e4a007c5454b22.0 > Via: SIP/2.0/UDP 59.178.140.180:5060 > ;received=59.178.140.180;branch=z9hG4bK.xKUkXp0dg;rport=5060 > From: <sip:[email protected]>;tag=sjR6XkprZ > To: sip:[email protected] > CSeq: 21 INVITE > Call-ID: 5kP-E1uHL1 > Server: OpenSIPS (1.8.3-notls (x86_64/linux)) > Content-Length: 0 > > > SIP Server ------> UAb > ---------------------- > > INVITE sip:[email protected] SIP/2.0 > Record-Route: <sip:188.227.178.226;lr;did=b63.3b918bd2> > Record-Route: <sip:104.222.98.124:7878;lr=on;nat=yes> > Via: SIP/2.0/UDP 188.227.178.226:5060;branch=z9hG4bKbe74.e083e367.0 > Via: SIP/2.0/UDP 104.222.98.124:7878 > ;rport=7878;received=104.222.98.124;branch=z9hG4bKbe74.a7aaf30744452fb8d6e4a007c5454b22.0 > Via: SIP/2.0/UDP 59.178.140.180:5060 > ;received=59.178.140.180;branch=z9hG4bK.xKUkXp0dg;rport=5060 > From: <sip:[email protected]>;tag=sjR6XkprZ > To: sip:[email protected] > CSeq: 21 INVITE > Call-ID: 5kP-E1uHL1 > Max-Forwards: 68 > Supported: replaces, outbound > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO, UPDATE > Content-Type: application/sdp > Content-Length: 421 > Contact: <sip:[email protected] > >;+sip.instance="<urn:uuid:b368e9b2-d156-4377-8e5e-b1b6f293de45>" > User-Agent: LinphoneAndroid/3 (belle-sip/1.3.2) > Path: <sip:104.222.98.124:7878;lr;received=sip:59.178.140.180:5060> > P-hint: outbound > > v=0 > o=181085 2051 698 IN IP4 104.222.98.124 > s=Talk > c=IN IP4 104.222.98.124 > b=AS:380 > t=0 0 > m=audio 10326 RTP/AVP 124 120 111 110 0 8 101 > a=rtpmap:124 opus/48000/2 > a=fmtp:124 useinbandfec=1; stereo=0; sprop-stereo=0 > a=rtpmap:120 SILK/16000 > a=rtpmap:111 speex/16000 > a=fmtp:111 vbr=on > a=rtpmap:110 speex/8000 > a=fmtp:110 vbr=on > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-15 > a=rtcp:10327 > a=nortpproxy:yes > > > Finally, > > SIP Server ------> Proxy > ------------------------ > > SIP/2.0 408 Request Timeout > Via: SIP/2.0/UDP 104.222.98.124:7878 > ;received=104.222.98.124;rport=7878;branch=z9hG4bKbe74.a7aaf30744452fb8d6e4a007c5454b22.0 > Via: SIP/2.0/UDP 59.178.140.180:5060 > ;received=59.178.140.180;branch=z9hG4bK.xKUkXp0dg;rport=5060 > From: <sip:[email protected]>;tag=sjR6XkprZ > To: sip:[email protected];tag=9da0519e96ad88f8de3fd8d2c9042128-3485 > CSeq: 21 INVITE > Call-ID: 5kP-E1uHL1 > Server: OpenSIPS (1.8.3-notls (x86_64/linux)) > Content-Length: 0 > > Linphone config: > [net] > download_bw=380 > upload_bw=380 > stun_server=stun.linphone.org > firewall_policy=2 > > [sip] > contact="Linphone Android" <sip:linphone.android@unknown-host> > use_info=0 > use_ipv6=0 > keepalive_period=10000 > ping_with_options=1 > default_proxy=0 > > > [proxy_0] > reg_proxy=<sip:104.222.98.124:7878;transport=udp> > reg_route=<sip:104.222.98.124:7878;transport=udp> > reg_expires=300 > reg_sendregister=1 > > [video] > size=qcif > automatically_accept=1 > > [app] > sharing_server=https://www.linphone.org:444/lft.php > tunnel=disabled > > [tunnel] > host= > port=443 > > > > Could somebody kindly let me know what wrong am i doing here ? > -- > Regards, > Rahul > -- Warm Regds. MathuRahul
_______________________________________________ Linphone-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/linphone-users
