[Asterisk-Users] SIP registration fails

Kanuri, Seshu (Company IT) Seshu.Kanuri at morganstanley.com
Wed Apr 13 11:11:27 MST 2005


You may better look at example sip.conf files you will be able to find
on WIKI as there appears to be several incosnsistencies in your
sip.conf.
 
My suggestion is get rid off what you dont need and use only those what
is barely essential.
 
When you are using NAT Ip you need to have entries like: 
 
host=dynamic
 
Seshu

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of William
Marks
Sent: Wednesday, April 13, 2005 10:57 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] SIP registration fails



Hello List ;) 

I'm quite amazed by the features, asterisk offers but as I'm quite new
to this stuff, I've got a few questions. 

First of all the relevant part of my sip.conf: 
------------ cut ---- sip.conf ------------------ 
[general] 
port = 5060                     ; Port to bind to 
bindaddr = 0.0.0.0              ; Address to bind to 
srvlookup=yes 
nat=yes 
localnet=192.168.11.0/255.255.255.0 
externip=<myexternaldyndnsname> 
realm=<myrealm> 

context = from-sip              ; Default for incoming calls 
insecure=very 
tos=0x18 
dtmfmode=info 
disallow=all 
allow=gsm 
allow=alaw 
allow=ulaw 
register => <mysipid>:<mysippass>@sip.web.de/<mysipid> 

[webde] 
type=friend 
username=<mysipid> 
secret=<mysippass> 
host=sip.web.de 
fromuser=<mysipid> 
fromdomain=sip.web.de 
nat=no 
canreinvite=no 
insecure=very 
qualify=400 
dtmfmode=info 
------------ cut ---- sip.conf ------------------ 

My questions on this are: 
a) why is SIP registration failing? 
b) how is mapping between "register=>" and [webde] done? 

many thanks. 
--------------------------------------------------------
 
NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality or privilege, and use is prohibited. 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050413/cac1580c/attachment.htm


More information about the asterisk-users mailing list