OK! you're right Mr William, that worked, unfortunately i don't know if there is any points to affect to somebody who helped you (like rating in other forums) :(, but one more request can you recommand me a book to master and tweak dialplans? <br>
<br>
<div class="gmail_quote">2010/1/29 William Stillwell (Lists) <span dir="ltr"><<a href="mailto:william.stillwell-lists@ablebody.net">william.stillwell-lists@ablebody.net</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">You are using contexts..</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Look @ destination pbx, you should see something like this:</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Rejected connect attempt from <ip of source pbx>, request ‘ext@<incoming conext>’ does not exist</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">If you didn’t put a context under the peer, it uses the default one in the iax.conf file which is normally [default]</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>khalid touati<br>
<b>Sent:</b> Friday, January 29, 2010 11:54 AM
<div class="im"><br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br></div><b>Subject:</b> Re: [asterisk-users] Dial cellphone from one PBX1 to PBX2? is it possible?</span>
<p></p></p></div>
<div>
<div></div>
<div class="h5">
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi William,</p></div>
<div>
<p class="MsoNormal">I appreciate your answer, though can you make things more clear for me:</p></div>
<div>
<p class="MsoNormal">1- i am not using extensions when registering PBX boxes in IAX files.</p></div>
<div>
<p class="MsoNormal">2- is inbounx context in the call sender PBX (pbx1) and outbound context is in the call receiver (or dialer) PBX (pbx2)?</p></div>
<div>
<p class="MsoNormal">3- i am using two identical dialplan's is this gonna confuse the communication process (contextes's name are duplicated over the two servers)</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p style="MARGIN-BOTTOM: 12pt" class="MsoNormal">thank you very much for making it clear for me! </p></div>
<div>
<p class="MsoNormal">2010/1/28 William Stillwell (Lists) <<a href="mailto:william.stillwell-lists@ablebody.net" target="_blank">william.stillwell-lists@ablebody.net</a>></p>
<div>
<div>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Your inbound context needs to have access to your outbound context.</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">[iax-inbound]</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Include => outbound-conext</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">[outbound-context]</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Exten => _1NXXNXXXXXX,1,Dial(DAHDI\g1\${EXTEN})</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Something like that.</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>khalid touati<br>
<b>Sent:</b> Thursday, January 28, 2010 3:29 PM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> [asterisk-users] Dial cellphone from one PBX1 to PBX2? is it possible?</span></p></div>
<div>
<div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi Guys,</p></div>
<div>
<p class="MsoNormal">i am using two PBX's i can call from pbx1 a cellphone tied to pbx2 that way:</p></div>
<div>
<p class="MsoNormal">1) use a phone in PBX1</p></div>
<div>
<p class="MsoNormal">2) call extension in PBX2</p></div>
<div>
<p class="MsoNormal">3) extensions in PBX2 ring to a cellphone (as this specific ext is tied to a cellphone)</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">my questions now is : am i gonna be able to dial from an IPphone registered within PBX1 to a cellphone by using the Trunk (Zap or dahdi) of PBX2? anybody know <br clear="all"></p></div>
<div>
<p class="MsoNormal">IPphone------------->PBX1-----IAX-------->PBX2--------PRI line------------------->cellphone???????????</p></div>
<div>
<p class="MsoNormal">thank you for you help guys!!<br>-- <br>Abdullah</p></div></div></div></div></div>
<p class="MsoNormal"><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</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></p>
</div>
<p class="MsoNormal"><br><br clear="all"><br>-- <br>Abdullah</p></div></div></div></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>
<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>Abdullah<br>