[asterisk-users] Don't get asterisk to run behind NAT router

Dimitar Dimitrov ddimitrov at consult.bg
Thu Jan 29 07:52:11 CST 2009


Hi Tamer
Try to configure canreinvite=no or canreinvite=nonat.

Regards
Dimitar

Tamer Higazi написа:
> Hi people!
> I am not getting smart getting asterisk 1.6  behind a NAT to run.
>
> 1. I enabled IP forwarding on debian linux
> 2. told asterisk in "general" that he is behind NAT and mentioned him
> his external static IP Adress as well his domain in the outside world.
>
> If a client who is connected with a DSL modem calls me, a grandstream
> module in the LAN behind the router, in the same network asterisk is
> running at, takes the call. but we can't hear / talk with each other.
>
>
> Ay ideas to get this thing solved?!
>
>
>
> My general section in sip.conf:
>
> [general]
> port=5060
> bindaddr=0.0.0.0
> localnet=192.168.1.0/255.255.255.0
> externip=85.183.112.3
> externhost=voipfax.higazi-it.com
> allowtransfer=yes
> qualify=yes
> nat=yes
>
> [2006]
> type=friend
> secret=frank
> host=dynamic
> context=nurintern
> nat=no
>
> [2007]
> type=friend
> secret=jochen
> host=192.168.1.2
> context=nurintern
> nat=yes
>
> _______________________________________________
> -- 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
>
>
>   


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2921 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090129/fe3a66f9/attachment.bin 


More information about the asterisk-users mailing list