[Asterisk-Users] FW: Cisco 7960, SIP, NAT, Voicemal
Adams, Gavin
gadams at promisant.com
Tue Aug 5 07:01:54 MST 2003
> From: Dave Weis [mailto:djweis at sjdjweis.com]
>
> On Mon, 4 Aug 2003, John Todd wrote:
> > Try this:
> > exten => 4001,1,Dial(SIP/gadams,10,r)
> > I don't know how the syntax you've specified will behave; maybe it
> > will work, but it's not any format I've used. Try the syntax above
> > for your Dial line and see if it results in different actions.
>
> I can not get my 7960 to work with a non-numeric userid/username. I
have
> to define it in sip.conf as
> [101]
> instead of
> [cisco1]
> I change the authentication settings in the SIP menu on the phone and
in
> the sip.conf file but it will not register. The version is POS30202
I'm using the 4.4 SIP firmware and appear to have good auth based on
username instead of extension.
Sip.conf:
[gadams]
type=friend
username=gadams
secret=blah
context=default
host=dynamic
canreinvite=no
nat=yes
mailbox=4001
extension.conf:
exten => 4001,1,Dial(SIP/gadams,10,r)
and the specific SIPxxxxxxx.cnf file:
; Name - extension of phone in * terms
line1_displayname : "Gavin Adams"
line1_name : gadams
line1_authname : gadams
line1_password : xxxxxxxx
Just struggling with a NAT/firewall issue now. It appears that since the
src/dst pair for SIP is UDP 5060, and I have multiple phones hiding
behind the same IP address, it's problematic. Going to attempt to do
static NAT translation instead of "hide NAT" (FW-1).
HTH,
--- Gavin
More information about the asterisk-users
mailing list