[asterisk-users] Tranfer the called number in 3 way call

John Kiniston johnkiniston at gmail.com
Fri Dec 9 09:17:11 CST 2016


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.
PBXA:
same => n,Set(IAXVAR(CALLERID)=${CALLERID(num)})
same => n,Set(IAXVAR(DNID)=${CALLERID(DNID)})

PBXB:
same => n,NoOP(CallerID is ${IAXVAR(CALLERID)} DNID is ${IAXVAR(DNID)})


On Thu, Dec 8, 2016 at 10:34 PM, sam habash <sam_habash at hotmail.com> wrote:

> Hey there,
>
>
> 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 :
>
>
> exten=> _6XX,n,set(__var=${EXTEN})
>
> exten=> _6XX,n,Dial(IAX2/bridge/${EXTEN},,tTor)
>
>
> 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.
> Sent from my LG Mobile
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
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.
---Heinlein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161209/ca120af7/attachment.html>


More information about the asterisk-users mailing list