Trying to setup SIP to register with a VOIP provider. I am behind a firewall (IPCOP) with NAT. Getting this, in CLI with SIP debug on. Retransmitting #2 (no NAT) to aa.bbb.ccc.ddd:5060: REGISTER sip:voip-xxx.com SIP/2.0 Via: SIP/2.0/UDP 192.168.0.xxx:5060;branch=z9hG4bK727a6144;rport From: <sip:me at voip-xx.com>;tag=eufhksk To: <sip:me at voip-xx.com> Call-ID: alongnumber at 192.168.0.xxx CSeq: 103 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Expires: 120 Contact: <sip:s at 192.168.0.xxx> Event: registration Content-Length: 0 I suspect there is something, somewhere, where I can tell it the "Contact" should in fact be my public IP, not the local IP. Anyone know? Or know what else it might be? I am almost 100% certain my credentials are correct. joe a.
Hi Joe, In your SIP.conf, under [general] try setting "externip=XXX.XXX.XXX.XXX" to your public IP address. Hope this helps, Zaheer -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joe Acquisto Sent: Friday, December 14, 2007 2:44 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] SIP fails to register Trying to setup SIP to register with a VOIP provider. I am behind a firewall (IPCOP) with NAT. Getting this, in CLI with SIP debug on. Retransmitting #2 (no NAT) to aa.bbb.ccc.ddd:5060: REGISTER sip:voip-xxx.com SIP/2.0 Via: SIP/2.0/UDP 192.168.0.xxx:5060;branch=z9hG4bK727a6144;rport From: <sip:me at voip-xx.com>;tag=eufhksk To: <sip:me at voip-xx.com> Call-ID: alongnumber at 192.168.0.xxx CSeq: 103 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Expires: 120 Contact: <sip:s at 192.168.0.xxx> Event: registration Content-Length: 0 I suspect there is something, somewhere, where I can tell it the "Contact" should in fact be my public IP, not the local IP. Anyone know? Or know what else it might be? I am almost 100% certain my credentials are correct. joe a. _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Thanks, I believe that is what I was looking for. joe a.>>> On 12/14/2007 at 3:44 PM, "Zaheer K. Master" <lists at adamantsecurity.com>wrote:> Hi Joe, > In your SIP.conf, under [general] try setting "externip=XXX.XXX.XXX.XXX" to > your public IP address. > > Hope this helps, > Zaheer > > -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joe Acquisto > Sent: Friday, December 14, 2007 2:44 PM > To: asterisk-users at lists.digium.com > Subject: [asterisk-users] SIP fails to register > > Trying to setup SIP to register with a VOIP provider. I am behind a > firewall (IPCOP) with NAT. > > Getting this, in CLI with SIP debug on. > > Retransmitting #2 (no NAT) to aa.bbb.ccc.ddd:5060: > REGISTER sip:voip-xxx.com SIP/2.0 > Via: SIP/2.0/UDP 192.168.0.xxx:5060;branch=z9hG4bK727a6144;rport > From: <sip:me at voip-xx.com>;tag=eufhksk > To: <sip:me at voip-xx.com> > Call-ID: alongnumber at 192.168.0.xxx > CSeq: 103 REGISTER > User-Agent: Asterisk PBX > Max-Forwards: 70 > Expires: 120 > Contact: <sip:s at 192.168.0.xxx> > Event: registration > Content-Length: 0 > > I suspect there is something, somewhere, where I can tell it the "Contact" > should in fact be my public IP, not the local IP. > > Anyone know? Or know what else it might be? I am almost 100% certain my > credentials are correct. > > joe a. > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users