[Asterisk-Users] CVS Changes (NAT-SIP)

Brian West brian at bkw.org
Mon Jan 19 23:07:32 MST 2004


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 at 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
>



More information about the asterisk-users mailing list