<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Put register=yes in the BT201 and GXP1200
contexts of sip.conf<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>jonas kellens<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, April 13, 2009 11:19
AM<br>
<b><span style='font-weight:bold'>To:</span></b>
asterisk-users@lists.digium.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-users]
Asterisk-beginner : cannot make phonecalls usingAsterisk</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi there,<br>
<br>
this is the first time that I'm building an Asterisk-server.<br>
<br>
I have compiled Asterisk together with Zaptel on an CentOS 5.3-system.<br>
Zaptel is for later, when configuring the POTS-line. Now first internal
communication with SIP.<br>
<br>
Thought it would go easier...<br>
<br>
I have 2 Grandstream IP-phones : BT-201 and GXP-1200.<br>
<br>
These are my settings :<br>
<br>
sip.conf : <br>
</span></font><i><font size=2><span style='font-size:10.0pt;font-style:italic'>[root@asterisk
asterisk]# cat sip.conf</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>[general]</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>bindport=5060</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>bindaddr =
0.0.0.0</span></font></i><br>
<br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>[BT201]</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>type=friend</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>context=intern</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>host=192.168.4.210</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>secret=testpaswoord</span></font></i><br>
<br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>[GXP1200]</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>type=friend</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>context=intern</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>host=192.168.4.211</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>secret=testpaswoord</span></font></i>
<br>
extensions.conf : <br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>[root@asterisk
asterisk]# cat extensions.conf</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>[intern]</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>exten =&gt;
210,1,Dial(SIP/BT201)</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>exten =&gt; 211,1,Dial(SIP/GXP1200)</span></font></i>
<br>
<font size=2><span style='font-size:10.0pt'>Asterisk CLI shows me :</span></font>
<br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>asterisk*CLI&gt;
sip reload</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>Reloading SIP</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>&nbsp; ==
Parsing '/etc/asterisk/sip.conf': Found</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>&nbsp; ==
Parsing '/etc/asterisk/users.conf': Found</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>&nbsp; ==
Parsing '/etc/asterisk/sip_notify.conf': Found</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>asterisk*CLI&gt;
sip show peers</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>Name/username&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Host&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; <st1:place w:st="on"><st1:PlaceName w:st="on">Dyn</st1:PlaceName>
 <st1:PlaceName w:st="on">Nat</st1:PlaceName> <st1:PlaceName w:st="on">ACL</st1:PlaceName>
 <st1:PlaceType w:st="on">Port</st1:PlaceType></st1:place>&nbsp; &nbsp;
&nbsp;Status&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>GXP1200&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
192.168.4.211&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5060&nbsp;
&nbsp; &nbsp;Unmonitored&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>BT201&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
192.168.4.210&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5060&nbsp;
&nbsp; &nbsp;Unmonitored&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>2 sip peers
[Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]</span></font></i><br>
<br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>asterisk*CLI&gt;
dialplan show intern</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>[ Context
'intern' created by 'pbx_config' ]</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>&nbsp; '210'
=&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1. Dial(SIP/BT201)&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
[pbx_config]</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>&nbsp; '211'
=&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.
Dial(SIP/GXP1200)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[pbx_config]</span></font></i> <br>
<br>
I pick up the phone of the BT201 and dial 211... nothing happens.<br>
I pick up the phone of the GXP1200 and dial 210... nothing happens.<br>
<br>
I would love to have your feedback on this. Where could this problem be
situated ?<br>
<br>
I notice (on the Asterisk CLI) that my SIP-phones do not register. They have a
fixed IP and there account information is set via the web interface.<br>
<br>
Greetingz,<br>
Jonas. <o:p></o:p></p>

</div>

</body>

</html>