<HTML xmlns:eXclaimer="http://www.exclaimer.co.uk">
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-16">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-16"><TITLE>SIP registration fails</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD><BODY ><DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=941430818-13042005>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.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=941430818-13042005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=941430818-13042005>My suggestion is get rid off what you dont need and use
only those what is barely essential.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=941430818-13042005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=941430818-13042005>When you are using NAT Ip you need to have entries
like: </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=941430818-13042005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=941430818-13042005>host=dynamic</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=941430818-13042005></SPAN></FONT> </DIV><SPAN
class=941430818-13042005></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>Seshu<SPAN class=941430818-13042005></SPAN></FONT></FONT></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>William
Marks<BR><B>Sent:</B> Wednesday, April 13, 2005 10:57 AM<BR><B>To:</B>
asterisk-users@lists.digium.com<BR><B>Subject:</B> [Asterisk-Users] SIP
registration fails<BR></FONT><BR></DIV>
<DIV></DIV>
<P><FONT size=2>Hello List ;)</FONT> </P>
<P><FONT size=2>I'm quite amazed by the features, asterisk offers but as I'm
quite new to this stuff, I've got a few questions.</FONT> </P>
<P><FONT size=2>First of all the relevant part of my sip.conf:</FONT> <BR><FONT
size=2>------------ cut ---- sip.conf ------------------</FONT> <BR><FONT
size=2>[general]</FONT> <BR><FONT size=2>port =
5060
; Port to bind to</FONT> <BR><FONT size=2>bindaddr =
0.0.0.0
; Address to bind to</FONT> <BR><FONT size=2>srvlookup=yes</FONT> <BR><FONT
size=2>nat=yes</FONT> <BR><FONT
size=2>localnet=192.168.11.0/255.255.255.0</FONT> <BR><FONT
size=2>externip=<myexternaldyndnsname></FONT> <BR><FONT
size=2>realm=<myrealm></FONT> </P>
<P><FONT size=2>context =
from-sip
; Default for incoming calls</FONT> <BR><FONT size=2>insecure=very</FONT>
<BR><FONT size=2>tos=0x18</FONT> <BR><FONT size=2>dtmfmode=info</FONT> <BR><FONT
size=2>disallow=all</FONT> <BR><FONT size=2>allow=gsm</FONT> <BR><FONT
size=2>allow=alaw</FONT> <BR><FONT size=2>allow=ulaw</FONT> <BR><FONT
size=2>register =>
<mysipid>:<mysippass>@sip.web.de/<mysipid></FONT> </P>
<P><FONT size=2>[webde]</FONT> <BR><FONT size=2>type=friend</FONT> <BR><FONT
size=2>username=<mysipid></FONT> <BR><FONT
size=2>secret=<mysippass></FONT> <BR><FONT size=2>host=sip.web.de</FONT>
<BR><FONT size=2>fromuser=<mysipid></FONT> <BR><FONT
size=2>fromdomain=sip.web.de</FONT> <BR><FONT size=2>nat=no</FONT> <BR><FONT
size=2>canreinvite=no</FONT> <BR><FONT size=2>insecure=very</FONT> <BR><FONT
size=2>qualify=400</FONT> <BR><FONT size=2>dtmfmode=info</FONT> <BR><FONT
size=2>------------ cut ---- sip.conf ------------------</FONT> </P>
<P><FONT size=2>My questions on this are:</FONT> <BR><FONT size=2>a) why is SIP
registration failing?</FONT> <BR><FONT size=2>b) how is mapping between
"register=>" and [webde] done?</FONT> </P>
<P><FONT size=2>many thanks.</FONT> </P><BR></DIV>
<DIV>
<HR>
</DIV>
<DIV>
<P CLASS="BulletedList" STYLE="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; mso-list: none; tab-stops: .5in"><SPAN STYLE="FONT-SIZE: 8pt; COLOR: gray; mso-bidi-font-family: Arial"><FONT FACE="Arial">NOTICE: If received in error, please destroy and notify sender.<SPAN STYLE="mso-spacerun: yes"> </SPAN>Sender does not waive confidentiality or privilege, and use is prohibited.</FONT></SPAN></P>
</DIV></BODY></HTML>