<br><br><div class="gmail_quote">2010/4/29 garge rama <span dir="ltr"><<a href="mailto:garge.rama@gmail.com">garge.rama@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">Hi,</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">I am new to asterisk and trying to make calls with TDM400P asterisk digium card.</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">I am using asterisk-1.6.2.4,</span></font> <font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">dahdi-linux-complete-2.3.0+2.3.0 and libpri-1.4.10.2 packages which are downloaded from asterisk website (<a title="blocked::http://www.asterisk.org/" href="http://www.asterisk.org/" target="_blank"><font color="#800080">www.asterisk.org</font></a>)</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">and able to compile successfully. TDM400P Digium card (having only one FXS connected to J4) has installed successfully in PC.</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">I would like to make calls across SIP [x-lite] to analog phone connected to TDM400P Digium card (fxs-j4).</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">For this the following four conf files are modified as shown below.</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><b><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt;font-weight:bold"><span> </span><span>chan_dahdi.conf</span></span></font></b></p>
<p class="MsoNormal"><b><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt;font-weight:bold">==============</span></font></b></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">[<span>channels</span>]</span></font></p>
<p class="MsoNormal"><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">context=</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">test</span></font></p>
<p class="MsoNormal"><span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">usecallerid</span></font></span></span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">=</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">yes</span></font></p>
<p class="MsoNormal"><span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">hidecallerid</span></font></span></span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">=</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">no</span></font></p>
<p class="MsoNormal"><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">immediate=</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">no</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">signaling=</span></font></span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">fxo_ks</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"></span></font></p>
<p class="MsoNormal"><span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">echocancel</span></font></span></span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">=</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">yes</span></font></p>
<p class="MsoNormal"><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">group=</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">1</span></font></p>
<p class="MsoNormal"><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">channel=</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">1</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><span><b><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt;font-weight:bold">extensions.conf</span></font></b></span><b><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt;font-weight:bold"></span></font></b></p>
<p class="MsoNormal"><b><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt;font-weight:bold">=============</span></font></b></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">[<span>my-phones</span>] -------------------><i><b>EXTEN 3333 does not exists for your sip peer context</b></i></span></font></p>
<p class="MsoNormal"><span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">exten</span></font></span></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> => 2000,1,Dial(SIP/2000)</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> ; Should look like:</span></font></p></div></blockquote><div><font class="Apple-style-span" color="#3333FF"><b><i>exten => 3333,1,Asterisk_Application(Action)</i></b></font> ;Dial(Zap/1/${Phone_Number_you want})</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">[<span>test</span>]</span></font></p>
<p class="MsoNormal"><span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">exten</span></font></span></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> => 3333,1,Dial(Zap/1)</span></font></p>
<p class="MsoNormal"><span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">exten</span></font></span></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> => 3333,2,HangUp()</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><span><b><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt;font-weight:bold">sip.conf</span></font></b></span><b><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt;font-weight:bold"></span></font></b></p>
<p class="MsoNormal"><b><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt;font-weight:bold">=======</span></font></b></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">[<span>general</span>]</span></font></p>
<p class="MsoNormal"><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">port</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> = 5060</span></font></p>
<p class="MsoNormal"><span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">bindaddr</span></font></span></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> = 0.0.0.0</span></font></p>
<p class="MsoNormal"><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">context</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> = others</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">[2000]</span></font></p>
<p class="MsoNormal"><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">type=</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">friend</span></font></p>
<p class="MsoNormal"><span><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt; "><b><font class="Apple-style-span" color="#FF0000">context=</font></b></span></font></span><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt; "><b><font class="Apple-style-span" color="#FF0000">my-phones </font></b></span></font></p>
<p class="MsoNormal"><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">secret=</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">1234</span></font></p>
<p class="MsoNormal"><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">host=</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">dynamic</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><b><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt;font-weight:bold">system.conf</span></font></b></p>
<p class="MsoNormal"><b><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt;font-weight:bold">==========</span></font></b></p>
<p class="MsoNormal"><span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">fxoks</span></font></span></span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">=</span></font></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">1</span></font></p>
<p class="MsoNormal"><span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">loadzone</span></font></span></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> = be</span></font></p>
<p class="MsoNormal"><span><span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">defaultzone</span></font></span></span><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> = be</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">With those changes x-lite getting registered with asterisk and analog device/phone is getting ring tone with off-hook and also getting debug prints on cli, but not able to make calls.</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">Test Setup:</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">========</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> X-lite [configured as 2000, password… other info] running on asterisk PC </span></font><font color="navy" size="2" face="Wingdings"><span style="font-family:Wingdings;color:navy;font-size:10pt">à</span></font><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> registered with asterisk.</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> Analog phone connected to TDM400P Digium card - FXS-J4 running on same asterisk PC </span></font><font color="navy" size="2" face="Wingdings"><span style="font-family:Wingdings;color:navy;font-size:10pt">à</span></font><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> getting ring tone</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">Test Result:</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">=========</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">Tried by calling 3333 from x-lite </span></font><font color="navy" size="2" face="Wingdings"><span style="font-family:Wingdings;color:navy;font-size:10pt"><span>à</span></span></font><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> getting message on CLI “call from ‘2000’ to ‘3333’ rejected because extension not found”</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">Tried by calling 2000 from analog phone [Digium-FXS-J4] -> getting some engage/disconnected tone while pressing digts [2000] on phone itself. </span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">Welcome for your valuable suggestions and comments. Thank You in advance.</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p>
<p><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">Regards,</span></font></p>
<p><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"></span></font><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt">Garge.</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-family:Arial;color:navy;font-size:10pt"> </span></font></p></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Juan.<br>Linux User #441131<br>