<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>AW: [Asterisk-Users] SIP registration fails</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hi Seshu,</FONT>
</P>
<P><FONT SIZE=2>that's where I started off. But most of them are not working (at least not for me).</FONT>
<BR><FONT SIZE=2>My desired setup (for now) is very simple: SIP provider(web.de) <--> * <--> 2 SIP phones</FONT>
<BR><FONT SIZE=2>But none of the examples explains how the "register" statement and the corresponding host-entry are linked to each other.</FONT></P>
<P><FONT SIZE=2>Could you help?</FONT>
</P>
<P><FONT SIZE=2>Will</FONT>
</P>
<P><FONT SIZE=2>-----Ursprüngliche Nachricht-----</FONT>
<BR><FONT SIZE=2>Von: Kanuri, Seshu (Company IT) [<A HREF="mailto:Seshu.Kanuri@morganstanley.com">mailto:Seshu.Kanuri@morganstanley.com</A>]</FONT>
<BR><FONT SIZE=2>Gesendet: Mittwoch, 13. April 2005 20:11</FONT>
<BR><FONT SIZE=2>An: Asterisk Users Mailing List - Non-Commercial Discussion</FONT>
<BR><FONT SIZE=2>Betreff: RE: [Asterisk-Users] SIP registration fails</FONT>
</P>
<BR>
<P><FONT SIZE=2>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.</FONT></P>
<P><FONT SIZE=2>My suggestion is get rid off what you dont need and use only those what is barely essential.</FONT>
</P>
<P><FONT SIZE=2>When you are using NAT Ip you need to have entries like: </FONT>
</P>
<P><FONT SIZE=2>host=dynamic</FONT>
</P>
<P><FONT SIZE=2>Seshu</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>From: asterisk-users-bounces@lists.digium.com [<A HREF="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</A>] On Behalf Of William Marks</FONT></P>
<P><FONT SIZE=2>Sent: Wednesday, April 13, 2005 10:57 AM</FONT>
<BR><FONT SIZE=2>To: asterisk-users@lists.digium.com</FONT>
<BR><FONT SIZE=2>Subject: [Asterisk-Users] SIP registration fails</FONT>
</P>
<BR>
<P><FONT SIZE=2>Hello List ;) </FONT>
<BR><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>
<BR><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>
<BR><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>
<BR><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>
<BR><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>
<BR><FONT SIZE=2>many thanks. </FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<P><FONT SIZE=2>NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.</FONT></P>
</BODY>
</HTML>