I've got 4 Cisco 7960's and they're behind a firewall (sonic wall). The asterisk box is on a WAN connection on the other end of a DS3, the phones connect fine to the Asterisk server as you can see from the output of show sip peers below. tp3/tp3 <firewall-ip> D N 255.255.255.255 60665 Unmonitored tp2/tp2 <firewall-ip> D N 255.255.255.255 60646 Unmonitored tp1/tp1 <firewall-ip> D N 255.255.255.255 60649 Unmonitored Now, the Cisco phones are set to use nat (nat = 1) and in the SIP configuration, the phones are also configured for SIP. [tp1] type=friend secret=tp1 host=dynamic nat=yes callerid="Test Phone 1" I can make calls out over the phones, but can't get anything back in. If I call voicemail say, then that's fine. But if I try and call another phone behind the firewall, it just sits there :/ IS there a specific port range I need to open? Should I be using a different sip config? Cheers for any help, Ben www.griffin.com
I had the same problem. What I found is I needed to set register with proxy to yes in the sip config. Hope this helps -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Ben Merrills Sent: Thursday, July 08, 2004 7:01 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Cisco 7960 NAT question I've got 4 Cisco 7960's and they're behind a firewall (sonic wall). The asterisk box is on a WAN connection on the other end of a DS3, the phones connect fine to the Asterisk server as you can see from the output of show sip peers below. tp3/tp3 <firewall-ip> D N 255.255.255.255 60665 Unmonitored tp2/tp2 <firewall-ip> D N 255.255.255.255 60646 Unmonitored tp1/tp1 <firewall-ip> D N 255.255.255.255 60649 Unmonitored Now, the Cisco phones are set to use nat (nat = 1) and in the SIP configuration, the phones are also configured for SIP. [tp1] type=friend secret=tp1 host=dynamic nat=yes callerid="Test Phone 1" I can make calls out over the phones, but can't get anything back in. If I call voicemail say, then that's fine. But if I try and call another phone behind the firewall, it just sits there :/ IS there a specific port range I need to open? Should I be using a different sip config? Cheers for any help, Ben www.griffin.com _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
> I've got 4 Cisco 7960's and they're behind a firewall (sonic wall). The > asterisk box is on a WAN connection on the other end of a DS3, the > phones connect fine to the Asterisk server as you can see from the > output of show sip peers below. > > tp3/tp3 <firewall-ip> D N 255.255.255.255 60665 > Unmonitored > tp2/tp2 <firewall-ip> D N 255.255.255.255 60646 > Unmonitored > tp1/tp1 <firewall-ip> D N 255.255.255.255 60649 > Unmonitored > > Now, the Cisco phones are set to use nat (nat = 1) and in the SIP > configuration, the phones are also configured for SIP. > > [tp1] > type=friend > secret=tp1 > host=dynamic > nat=yes > callerid="Test Phone 1" > > I can make calls out over the phones, but can't get anything back in. If > I call voicemail say, then that's fine. But if I try and call another > phone behind the firewall, it just sits there :/ > > IS there a specific port range I need to open? Should I be using a > different sip config?The sonicwall has a user selectable option to support sip. Have you tried to enable it? (Don't know how well that actually works, never tested it.)