Carlos Chavez
2013-Aug-02 00:41 UTC
[asterisk-users] External sip phones register with the servers IP...
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 at 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" <sip:asterisk at 192.168.2.50>;tag=as4ed13172 To: <sip:2003 at 192.168.2.50:58545;ob> Contact: <sip:asterisk at 192.168.2.50:5060> Call-ID: 46fd0ef840d6781d219269ae415e156e at 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
Michael L. Young
2013-Aug-02 02:17 UTC
[asterisk-users] External sip phones register with the servers IP...
----- Original Message -----> From: "Carlos Chavez" <cursor at telecomabmex.com> > To: asterisk-users at lists.digium.com > Sent: Thursday, August 1, 2013 8:41:19 PM > Subject: [asterisk-users] External sip phones register with the servers IP... > > 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 at 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" <sip:asterisk at 192.168.2.50>;tag=as4ed13172 > To: <sip:2003 at 192.168.2.50:58545;ob> > Contact: <sip:asterisk at 192.168.2.50:5060> > Call-ID: 46fd0ef840d6781d219269ae415e156e at 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?Did you look at the CHANGES file? There are new settings for NAT. If you are using the same settings as in 1.8, there is a posiblity that you will have problems depending on what settings you have (which you did not include in this message). Also, I would recommend 11.5 since there was a one-way audio issue fixed related to using the two new NAT settings. -- Michael (elguero)