linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] Error in SIP destination port in NAT mode


From: Oscar Gomez Fuente
Subject: [Linphone-users] Error in SIP destination port in NAT mode
Date: Mon, 26 Dec 2011 11:51:53 +0100

Hi,

When I use linphonec (3.3.2 or 3.3.4) in NAT mode, with different sip port to 5060, for example 49152. The call hang up on 36 seconds. I've captured the sip package with wireshark and I've observed  that the NAT mode seems not working well.

My connection scheme is as follows:

                                            ==============================
                                            =========     INTERNET   ========= 
                                            ==============================
                                                            []                        []
                                                            []                        []
                                                            []                        []
================================                     ================================
== WAN: 95.8.80.234                             ==                     == WAN: 95.16.32.206                          ==
== Router A                                           ==                     == Router B                                         ==
==                                                        ==                     ==                                                        ==
== NAT 49152-49157    => 49152-49157  ==                     == NAT 49152-49157    => 49152-49157  ==
==               192.168.168.170                 ==                    ==               192.168.1.100                     ==
==                                                        ==                     ==                                                        ==
== Local IP Router: 192.168.168.1          ==                     == Local IP Router: 192.168.1.1             ==
==                                                        ==                      ==                                                       ==
================================                     ================================
                                       []                                                               []
                                       []                                                               []
                                       []                                                               []
================================                     =================================
== IP local: 192.168.168.170                  ==                     == IP local: 192.168.1.100                        ==
== linphone 3.3.2                                   ==                     == linphone 3.3.2                                     ==
==                                                        ==                     ==                                                          ==
== NAT activated: 95.8.80.234               ==                     == NAT activated: 95.16.32.206                ==
== SIP Port: 49152                               ==                     == SIP Port: 49152                                   ==
== Audio RTP Port: 49154                     ==                     == Audio RTP Port: 49154                        ==
== Video RTP Port: 49156                     ==                     == Video RTP Port: 49156                        ==
================================                     =================================


I attach the ACK SIP package sent from router A to router B [We made in linphonec a call using the command: call sip:address@hidden:49152]:

-------------------Wireshark capture-------------------
4061    37.356541    192.168.168.170    95.16.32.206    SIP    Request: ACK sip:address@hidden
Frame 4061 (397 bytes on wire, 397 bytes captured)
Ethernet II, Src: D-Link_71:eb:d7 (00:13:46:XX:XX:XX), Dst: Avm_8a:7b:9e (bc:05:43:XX:XX:XX)
Internet Protocol, Src: 192.168.168.170 (192.168.168.170), Dst: 95.16.32.206 (95.16.32.206)
User Datagram Protocol, Src Port: 49152 (49152), Dst Port: sip (5060)
Session Initiation Protocol
-------------------Wireshark capture-------------------

In Dst Port: appears 5060 insteed 49152. 

Does anyone know what could be happening?

Best regards,
Oscar Gómez Fuente.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]