[Asterisk-Users] Strange SIP issue (again)

Andreas Schiffler aschiffler at appwares.com
Wed Apr 7 11:39:59 MST 2004


My FWD and ICH through NAT work just fine (for outgoing calls) depending
on the setup I choose. The setup is just mutually exclusive.

FWD needs:
externip=a.b.c.d    	; a.b.c.d is the IP of the router (Linux/Nat)
outside_addr=a.b.c.d	; as per your config this is optional

ICH doesn't need this though -  in fact it rejects the call with an
error if the above lines are set.

Obviously proxy recovery is implemented differently for the two
providers. I'd like to get both services working together and I think it
would be best if * allows for more fine grained control of the SIP
messages related to NAT. This might already be implemented and I just
don't know how to use it ...



On Wed, 2004-04-07 at 08:55, Jakob Strebel wrote:
> Andreas,
> below is my partial sip.conf (which is relevant for fwd)
> this works for me.
> jakob
> 
> [general]
> port = 5060                     ; Port to bind to
> bindaddr = 0.0.0.0              ; Address to bind to
> nat=yes 			;
> externip = myhost.dyns.net       ; Addr put in SIP messages if we're behind 
> a NAT
> localnet = 192.168.10.0         ; Internal NETWORK address
> localmask = 255.255.255.0      ; Internal netmask
> 
> ;
> ;*********************************************
> ; REGISTER WITH SIP PROVIDER
> ;*********************************************
> ;
> register => 54501:xxxx at fwd.pulver.com/1234 ; Register with FWD as 1234
> 
> ;*********************************************
> ; OUTBOUND SIP CHANNELS
> ;*********************************************
> 
> [fwd]
> type=friend
> secret=xxx
> username=54501
> host=fwd.pulver.com
> ;outboundproxy=192.168.69.247:5082   ; not sure if this is implemented
> canreinvite=no
> 
> _______________________________________________
> 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