External Sip Phones Register With The Servers IP…

Home » Asterisk Users » External Sip Phones Register With The Servers IP…
Asterisk Users 3 Comments

We have just updated our office server to Asterisk 11.4.0 from 1.8.15 and internally everything is working fine. The problem we are having is that we cannot use any external phone connected through the Internet. This used to work fine with 1.8 but since the upgrade whenever you register any phone from an outside network the phone tries to register using the servers internal IP.

I endo up having something like this:

Sending to 187.163.93.235:58545 (no NAT)
— Registered SIP ‘2003’ at 192.168.2.50:58545
Reliably Transmitting (no NAT) to 192.168.2.50:58545:
OPTIONS sip:2003@192.168.2.50:58545;ob SIP/2.0
Via: SIP/2.0/UDP 192.168.2.50:5060;branch=z9hG4bK5f2019c0
Max-Forwards: 70
From: “asterisk” ;tag=as4ed13172
To:
Contact:
Call-ID: 46fd0ef840d6781d219269ae415e156e@192.168.2.50:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 11.4.0
Date: Fri, 02 Aug 2013 00:27:48 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer Content-Length: 0

I really cannot understand what is wrong, I have checked my sip.conf configuration and it is the same as in past versions. externaddr and localnet are set to the proper values. Any ideas?


Carlos Chavez Director de Tecnología Telecomunicaciones Abiertas de México S.A. de C.V. Tel: +52-55-91169161 Ext 2001

3 thoughts on - External Sip Phones Register With The Servers IP…

  • I have tried with all nat variations and I get the same result. I
    upgraded to 11.5 yesterday but same problem. External phones still register using the servers internal IP. IAX works fine.

  • Please post one of your sip.conf phone configs, so we can have a look.

    Alyed

    2013/8/2 Carlos Chavez