[Asterisk-Users] Strange SIP issue (again)

2004-04-07 Thread Andreas Schiffler
Hi,

just to repeat my previous post (and trying to find a solution):

Setup is * behind NAT.

I can use FWD (time service, echo server) without problems when I add 
this to sip.conf:

externip=a.b.c.d; a.b.c.d is the IP of the router (Linux/Nat)
outside_addr=a.b.c.d

My ICH however now responds with:

-- Got SIP response 481 Call Leg/Transaction Does Not Exist back from 
213.137.73.140

If I leave the above section out, ICH works fine for outbound calls but
FWD is quiet. I have yet to get inbound calls to work.


So fix this scenario, my suggestion would be to change the * sources so
that the externip/outside_addr variables can be set/disabled for
individual SIP providers rather than globally.

Regards
Andreas


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Strange SIP issue (again)

2004-04-07 Thread Jakob Strebel
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:[EMAIL PROTECTED]/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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Strange SIP issue (again)

2004-04-07 Thread Andreas Schiffler

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:[EMAIL PROTECTED]/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
 [EMAIL PROTECTED]
 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users