Markus Miertschink
2004-Apr-06 08:09 UTC
[Asterisk-Users] SIP Proxy Problem (NAT Environment)
I have the problem calling from a NAT firewalled SIP Phone to sipgate.de. Somehow it is working. The connection works. Everything seems to be fine. I could talk to the external phone. But: the external voice gets not transmitted to my internal (calling) phone. Calling inbound from SipGate to the same phone works perfectly. Both channels are perfectly "proxied". The * is used as a proxy and registered the sipgate account. This way works: SIPGATE ----->NAT(IP0)------>Asterisk(IP1)------->IP-Phone(IP2) This not (partially): SIPGATE<----NAT(IP0)<-----Asterisk(IP1)<-----IP-Phone(IP2) All ports are mapped to the address of IP1. If I look into the tcpdump log it seems that all ports used there are matching my NAT settings. Asterisk is happy. No problems. I only run into immediate abortion of the call if Asterisk is configured using outbound_address with the ip of IP0. I have no clue what to do anymore. Regards, Markus ____________ Virus checked by G DATA AntiVirusKit Version: AVK 14.0.635 from 31.03.2004 Virus news: www.antiviruslab.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040406/b59b48d6/attachment.htm
Make sure you have nat=yes for the sip.conf entry for SIPGATE. ---------------------------------------- Michael Shuler, C.E.O. BitWise Systems, Inc. 1301 W. Pioneer Parkway Peoria, IL 61615 Office: (217) 585-0357 Cell: (309) 657-6365 Fax: (309) 213-3500 E-Mail: mike@bwsys.net Customer Service: (877) 976-0711 -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Markus Miertschink Sent: Tuesday, April 06, 2004 10:09 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] SIP Proxy Problem (NAT Environment) I have the problem calling from a NAT firewalled SIP Phone to sipgate.de. Somehow it is working. The connection works. Everything seems to be fine. I could talk to the external phone. But: the external voice gets not transmitted to my internal (calling) phone. Calling inbound from SipGate to the same phone works perfectly. Both channels are perfectly "proxied". The * is used as a proxy and registered the sipgate account. This way works: SIPGATE ----->NAT(IP0)------>Asterisk(IP1)------->IP-Phone(IP2) This not (partially): SIPGATE<----NAT(IP0)<-----Asterisk(IP1)<-----IP-Phone(IP2) All ports are mapped to the address of IP1. If I look into the tcpdump log it seems that all ports used there are matching my NAT settings. Asterisk is happy. No problems. I only run into immediate abortion of the call if Asterisk is configured using outbound_address with the ip of IP0. I have no clue what to do anymore. Regards, Markus ____________ Virus checked by G DATA AntiVirusKit Version: AVK 14.0.635 from 31.03.2004 Virus news: www.antiviruslab.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040406/d321d6b4/attachment.htm
Markus Miertschink
2004-Apr-06 08:57 UTC
AW: [Asterisk-Users] SIP Proxy Problem (NAT Environment)
It is set to yes. Strangely it works - only if I make the call from one direction one voice channel gets no voice transmitted. _____ Von: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] Im Auftrag von Michael Shuler Gesendet: Dienstag, 6. April 2004 17:30 An: asterisk-users@lists.digium.com Betreff: RE: [Asterisk-Users] SIP Proxy Problem (NAT Environment) Make sure you have nat=yes for the sip.conf entry for SIPGATE. ---------------------------------------- Michael Shuler, C.E.O. BitWise Systems, Inc. 1301 W. Pioneer Parkway Peoria, IL 61615 Office: (217) 585-0357 Cell: (309) 657-6365 Fax: (309) 213-3500 E-Mail: mike@bwsys.net Customer Service: (877) 976-0711 -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Markus Miertschink Sent: Tuesday, April 06, 2004 10:09 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] SIP Proxy Problem (NAT Environment) I have the problem calling from a NAT firewalled SIP Phone to sipgate.de. Somehow it is working. The connection works. Everything seems to be fine. I could talk to the external phone. But: the external voice gets not transmitted to my internal (calling) phone. Calling inbound from SipGate to the same phone works perfectly. Both channels are perfectly "proxied". The * is used as a proxy and registered the sipgate account. This way works: SIPGATE ----->NAT(IP0)------>Asterisk(IP1)------->IP-Phone(IP2) This not (partially): SIPGATE<----NAT(IP0)<-----Asterisk(IP1)<-----IP-Phone(IP2) All ports are mapped to the address of IP1. If I look into the tcpdump log it seems that all ports used there are matching my NAT settings. Asterisk is happy. No problems. I only run into immediate abortion of the call if Asterisk is configured using outbound_address with the ip of IP0. I have no clue what to do anymore. Regards, Markus ____________ Virus checked by G DATA AntiVirusKit Version: AVK 14.0.635 from 31.03.2004 Virus news: www.antiviruslab.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040406/4945d9d0/attachment.htm
Then your firewall is closing the return RTP port to fast. Check for the latest firmware and also make sure the SPI (stateful packet inspection) is turned off if you router has that option. Otherwise you may have to give up and fall back to port forwarding. ---------------------------------------- Michael Shuler, C.E.O. BitWise Systems, Inc. 1301 W. Pioneer Parkway Peoria, IL 61615 Office: (217) 585-0357 Cell: (309) 657-6365 Fax: (309) 213-3500 E-Mail: mike@bwsys.net Customer Service: (877) 976-0711 -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Markus Miertschink Sent: Tuesday, April 06, 2004 10:58 AM To: asterisk-users@lists.digium.com Subject: AW: [Asterisk-Users] SIP Proxy Problem (NAT Environment) It is set to yes. Strangely it works - only if I make the call from one direction one voice channel gets no voice transmitted. _____ Von: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] Im Auftrag von Michael Shuler Gesendet: Dienstag, 6. April 2004 17:30 An: asterisk-users@lists.digium.com Betreff: RE: [Asterisk-Users] SIP Proxy Problem (NAT Environment) Make sure you have nat=yes for the sip.conf entry for SIPGATE. ---------------------------------------- Michael Shuler, C.E.O. BitWise Systems, Inc. 1301 W. Pioneer Parkway Peoria, IL 61615 Office: (217) 585-0357 Cell: (309) 657-6365 Fax: (309) 213-3500 E-Mail: mike@bwsys.net Customer Service: (877) 976-0711 -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Markus Miertschink Sent: Tuesday, April 06, 2004 10:09 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] SIP Proxy Problem (NAT Environment) I have the problem calling from a NAT firewalled SIP Phone to sipgate.de. Somehow it is working. The connection works. Everything seems to be fine. I could talk to the external phone. But: the external voice gets not transmitted to my internal (calling) phone. Calling inbound from SipGate to the same phone works perfectly. Both channels are perfectly "proxied". The * is used as a proxy and registered the sipgate account. This way works: SIPGATE ----->NAT(IP0)------>Asterisk(IP1)------->IP-Phone(IP2) This not (partially): SIPGATE<----NAT(IP0)<-----Asterisk(IP1)<-----IP-Phone(IP2) All ports are mapped to the address of IP1. If I look into the tcpdump log it seems that all ports used there are matching my NAT settings. Asterisk is happy. No problems. I only run into immediate abortion of the call if Asterisk is configured using outbound_address with the ip of IP0. I have no clue what to do anymore. Regards, Markus ____________ Virus checked by G DATA AntiVirusKit Version: AVK 14.0.635 from 31.03.2004 Virus news: www.antiviruslab.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040407/69cdc22c/attachment.htm