I had been running an older patched CVS to get VOIP working with NAT and everything had been running fine. I just built * on a new box with CVS-01/18/04-12:19:25. And now I can get remote SIP users to register. Has anything major changed... [general] port = 5060 ; Port to bind to bindaddr = 0.0.0.0 ; Address to bind to externip = 69.132.68.17 ; Address that we're going to put in SIP messages if we're behind a NAT localnet = 192.168.1.0 ; Internal NETWORK address localmask = 255.255.255.0 ; Internal netmask context = default ; Default for incoming calls ;srvlookup = yes ; Enable SRV lookups on outbound calls ;pedantic = yes ; Enable slow, pedantic checking for Pingtel ;tos=lowdelay ;tos=184 ;maxexpirey=3600 ; Max length of incoming registration we allow ;defaultexpirey=120 ; Default length of incoming/outoing registration ;notifymimetype=text/plain ; Allow overriding of mime type in NOTIFY ;videosupport=yes ; Turn on support for SIP video disallow=all ; Disallow all codecs allow=ulaw ; Allow codecs in order of preference allow=ilbc [1001] type=friend secret=1001 host=dynamic username=1001 mailbox=1001 context=local nat=no [1006] type=friend secret=oicu812 host=dynamic username=1006 mailbox=1006 context=local nat=yes canreinvite=no qualify=500 Internal SIP users can register it just the outside users. -gcc
Can you clarify this? Does it or doesn't it work? bkw On Mon, 19 Jan 2004, Asterisk User Group wrote:> I had been running an older patched CVS to get VOIP working with NAT and > everything had been running fine. I just built * on a new box with > CVS-01/18/04-12:19:25. And now I can get remote SIP users to register. > Has anything major changed... > > [general] > port = 5060 ; Port to bind to > bindaddr = 0.0.0.0 ; Address to bind to > externip = 69.132.68.17 ; Address that we're going to put in SIP > messages if we're behind a NAT > localnet = 192.168.1.0 ; Internal NETWORK address > localmask = 255.255.255.0 ; Internal netmask > context = default ; Default for incoming calls > ;srvlookup = yes ; Enable SRV lookups on outbound calls > ;pedantic = yes ; Enable slow, pedantic checking for > Pingtel > ;tos=lowdelay > ;tos=184 > ;maxexpirey=3600 ; Max length of incoming registration we > allow > ;defaultexpirey=120 ; Default length of incoming/outoing > registration > ;notifymimetype=text/plain ; Allow overriding of mime type in > NOTIFY > ;videosupport=yes ; Turn on support for SIP video > disallow=all ; Disallow all codecs > allow=ulaw ; Allow codecs in order of preference > allow=ilbc > > [1001] > type=friend > secret=1001 > host=dynamic > username=1001 > mailbox=1001 > context=local > nat=no > > [1006] > type=friend > secret=oicu812 > host=dynamic > username=1006 > mailbox=1006 > context=local > nat=yes > canreinvite=no > qualify=500 > > Internal SIP users can register it just the outside users. > > -gcc > _______________________________________________ > 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 >
It is not working..... Need HELP -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Brian West Posted At: Tuesday, January 20, 2004 1:08 AM Posted To: Asterisk User Group Conversation: [Asterisk-Users] CVS Changes (NAT-SIP) Subject: Re: [Asterisk-Users] CVS Changes (NAT-SIP) Can you clarify this? Does it or doesn't it work? bkw On Mon, 19 Jan 2004, Asterisk User Group wrote:> I had been running an older patched CVS to get VOIP working with NAT > and everything had been running fine. I just built * on a new box > with CVS-01/18/04-12:19:25. And now I can get remote SIP users to > register. Has anything major changed... > > [general] > port = 5060 ; Port to bind to > bindaddr = 0.0.0.0 ; Address to bind to > externip = 69.132.68.17 ; Address that we're going to put inSIP> messages if we're behind a NAT > localnet = 192.168.1.0 ; Internal NETWORK address > localmask = 255.255.255.0 ; Internal netmask > context = default ; Default for incoming calls > ;srvlookup = yes ; Enable SRV lookups on outbound calls > ;pedantic = yes ; Enable slow, pedantic checking for > Pingtel > ;tos=lowdelay > ;tos=184 > ;maxexpirey=3600 ; Max length of incoming registrationwe> allow > ;defaultexpirey=120 ; Default length of incoming/outoing > registration > ;notifymimetype=text/plain ; Allow overriding of mime type in > NOTIFY > ;videosupport=yes ; Turn on support for SIP video > disallow=all ; Disallow all codecs > allow=ulaw ; Allow codecs in order of preference > allow=ilbc > > [1001] > type=friend > secret=1001 > host=dynamic > username=1001 > mailbox=1001 > context=local > nat=no > > [1006] > type=friend > secret=oicu812 > host=dynamic > username=1006 > mailbox=1006 > context=local > nat=yes > canreinvite=no > qualify=500 > > Internal SIP users can register it just the outside users. > > -gcc > _______________________________________________ > 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 >_______________________________________________ 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 am having the same problem with a new CVS. Patrick also has the problem here http://lists.digium.com/pipermail/asterisk-users/2004-January/035114.html Keven had a problem here http://lists.digium.com/pipermail/asterisk-users/2004-January/035262.html but was able to get it fixed. Can you post a patch?. My asterisk computer is multi-homed behind NAT so maybe that is a factor? Is Asterisk behind NAT working with a new CVS for anybody? Thanks, ----- Original Message ----- From: "Asterisk User Group" <astgrp@cwkb.com> To: <asterisk-users@lists.digium.com> Sent: Monday, January 19, 2004 10:16 PM Subject: [Asterisk-Users] CVS Changes (NAT-SIP) I had been running an older patched CVS to get VOIP working with NAT and everything had been running fine. I just built * on a new box with CVS-01/18/04-12:19:25. And now I can get remote SIP users to register. Has anything major changed... [general] port = 5060 ; Port to bind to bindaddr = 0.0.0.0 ; Address to bind to externip = 69.132.68.17 ; Address that we're going to put in SIP messages if we're behind a NAT localnet = 192.168.1.0 ; Internal NETWORK address localmask = 255.255.255.0 ; Internal netmask context = default ; Default for incoming calls ;srvlookup = yes ; Enable SRV lookups on outbound calls ;pedantic = yes ; Enable slow, pedantic checking for Pingtel ;tos=lowdelay ;tos=184 ;maxexpirey=3600 ; Max length of incoming registration we allow ;defaultexpirey=120 ; Default length of incoming/outoing registration ;notifymimetype=text/plain ; Allow overriding of mime type in NOTIFY ;videosupport=yes ; Turn on support for SIP video disallow=all ; Disallow all codecs allow=ulaw ; Allow codecs in order of preference allow=ilbc [1001] type=friend secret=1001 host=dynamic username=1001 mailbox=1001 context=local nat=no [1006] type=friend secret=oicu812 host=dynamic username=1006 mailbox=1006 context=local nat=yes canreinvite=no qualify=500 Internal SIP users can register it just the outside users. -gcc _______________________________________________ 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 was able to resolve this problem, after removing and adding back the port settings in the firewall. I changed hardware and IP's. So I can only guess that arp table was messed up. I'm sure rebooting the firewall would have given me the same result. But everything has been working fine since then. Not sure if this helps. -gcc -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Jim Flagg Posted At: Friday, February 06, 2004 1:27 PM Posted To: Asterisk User Group Conversation: [Asterisk-Users] CVS Changes (NAT-SIP) Subject: Re: [Asterisk-Users] CVS Changes (NAT-SIP) I am having the same problem with a new CVS. Patrick also has the problem here http://lists.digium.com/pipermail/asterisk-users/2004-January/035114.htm l Keven had a problem here http://lists.digium.com/pipermail/asterisk-users/2004-January/035262.htm l but was able to get it fixed. Can you post a patch?. My asterisk computer is multi-homed behind NAT so maybe that is a factor? Is Asterisk behind NAT working with a new CVS for anybody? Thanks, ----- Original Message ----- From: "Asterisk User Group" <astgrp@cwkb.com> To: <asterisk-users@lists.digium.com> Sent: Monday, January 19, 2004 10:16 PM Subject: [Asterisk-Users] CVS Changes (NAT-SIP) I had been running an older patched CVS to get VOIP working with NAT and everything had been running fine. I just built * on a new box with CVS-01/18/04-12:19:25. And now I can get remote SIP users to register. Has anything major changed... [general] port = 5060 ; Port to bind to bindaddr = 0.0.0.0 ; Address to bind to externip = 69.132.68.17 ; Address that we're going to put in SIP messages if we're behind a NAT localnet = 192.168.1.0 ; Internal NETWORK address localmask = 255.255.255.0 ; Internal netmask context = default ; Default for incoming calls ;srvlookup = yes ; Enable SRV lookups on outbound calls ;pedantic = yes ; Enable slow, pedantic checking for Pingtel ;tos=lowdelay ;tos=184 ;maxexpirey=3600 ; Max length of incoming registration we allow ;defaultexpirey=120 ; Default length of incoming/outoing registration ;notifymimetype=text/plain ; Allow overriding of mime type in NOTIFY ;videosupport=yes ; Turn on support for SIP video disallow=all ; Disallow all codecs allow=ulaw ; Allow codecs in order of preference allow=ilbc [1001] type=friend secret=1001 host=dynamic username=1001 mailbox=1001 context=local nat=no [1006] type=friend secret=oicu812 host=dynamic username=1006 mailbox=1006 context=local nat=yes canreinvite=no qualify=500 Internal SIP users can register it just the outside users. -gcc _______________________________________________ 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 _______________________________________________ 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