<div dir="ltr"><div><div>You could use the IAXVAR() function to set variables before dialing your IAX peer on the initial PBX that then get retrieved by the 2nd PBX.<br>PBXA:<br>same => n,Set(IAXVAR(CALLERID)=${CALLERID(num)})<br>same => n,Set(IAXVAR(DNID)=${CALLERID(DNID)})<br><br></div>PBXB:<br></div>same => n,NoOP(CallerID is ${IAXVAR(CALLERID)} DNID is ${IAXVAR(DNID)})<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 8, 2016 at 10:34 PM, sam habash <span dir="ltr"><<a href="mailto:sam_habash@hotmail.com" target="_blank">sam_habash@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="padding-bottom:40px">
<div style="font-size:10pt">
<p dir="ltr" style="margin-top:0;margin-bottom:0">Hey there, </p>
<p dir="ltr" style="margin-top:0;margin-bottom:0"><br>
</p>
<p dir="ltr" style="margin-top:0;margin-bottom:0">I have a question i want a dialplan to send the called number of the client instead of my callerID when making a 3way call or when transfering to an extension from a bridge to another pbx. The problem i add
a variable and using thw two underscores but i still see the my calledID , i am using both asterisk 1.8.29 and other is asterisk 11.4 here is the dialplan inherit which i do :</p>
<p dir="ltr" style="margin-top:0;margin-bottom:0"><br>
</p>
<p dir="ltr" style="margin-top:0;margin-bottom:0">exten=> _6XX,n,set(__var=${EXTEN})</p>
<p dir="ltr" style="margin-top:0;margin-bottom:0">exten=> _6XX,n,Dial(IAX2/bridge/${<wbr>EXTEN},,tTor)</p>
<p dir="ltr" style="margin-top:0;margin-bottom:0"><br>
</p>
<p dir="ltr" style="margin-top:0;margin-bottom:0">I want to recieve the client number that were called from my first pvx with 5XX extensions to be shown on my second pbx with 6XX while making a transfer to the bridge with 3 way call or blind transfer , I know
i am missing something here , can you guys help me.</p>
<div id="m_-4598913639842997588SignatureBox" dir="ltr" style="margin-top:0;margin-bottom:0">Sent from my LG Mobile</div>
</div>
</div>
<br>--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</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" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.<br>---Heinlein</div>
</div>