<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"
xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<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>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 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;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</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'>Do you have include=intern in the default
context? If no, * will come back with can’t find peer 210 (or 211).<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> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<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<o:p></o:p></span></font></p>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </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 =>
210,1,Dial(SIP/BT201)</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>exten =>
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>
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'> ==
Parsing '/etc/asterisk/sip.conf': Found</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'> ==
Parsing '/etc/asterisk/users.conf': Found</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'> ==
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>
sip show peers</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>Name/username
Host
<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>
Status </span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>GXP1200
192.168.4.211 5060
Unmonitored </span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'>BT201
192.168.4.210
5060
Unmonitored </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>
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'> '210'
=> 1. Dial(SIP/BT201)
[pbx_config]</span></font></i><br>
<i><font size=2><span style='font-size:10.0pt;font-style:italic'> '211'
=> 1.
Dial(SIP/GXP1200)
[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>