[Asterisk-Users] IAX Passing Variables
Well, this kinda sux. We have three Asterisk servers. Phones register to a single, primary server. When a phone on one wants to reach a phone on another, we use DUNDi to discover the destination pbx and IAX to transfer the call to the other Asterisk box. This seems to be a fairly common practice amongst Asterisk users, yes? Well, what about setting variables before call placement? Say you want to set the variable _ALERT_INFO, to have Polycom phones auto answer? Essentially the problem is that channel variables (with the exception of caller id) are not passed from one Asterisk box to another with IAX. How have people gotten around this? Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] IAX Passing Variables
- Douglas Garstang [EMAIL PROTECTED] wrote: Well, what about setting variables before call placement? Say you want to set the variable _ALERT_INFO, to have Polycom phones auto answer? Essentially the problem is that channel variables (with the exception of caller id) are not passed from one Asterisk box to another with IAX. How have people gotten around this? With SIP people use SIPHEADER() to send and receive custom headers across the Asterisk servers; with IAX2 I don't think anyone has built a reasonable way of doing it yet. There was some discussion at AstriDevCon about adding the ability to transfer channel variables across an IAX2 call, but nobody has written the code yet. -- Kevin P. Fleming Senior Software Engineer Digium, Inc. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] IAX Passing Variables
We have gotten around this by just sending more data in the extension that gets sent with the call and parsing it on the other side: send a call to extension 1234 as 1234*ALERTINFO*ON then you can parse that out on the other Asterisk and set the variables over there depending on the values of what you set on the originating server.. IAX and SIP as well as crossover PRI's all allow for instant transmission of alpha-numeric extensions from Asterisk server to Asterisk server. We have been sending thousands of calls a day like this for over two years now. It's not the prettiest things but it works well. MATT--- On 6/6/06, Douglas Garstang [EMAIL PROTECTED] wrote: Well, this kinda sux. We have three Asterisk servers. Phones register to a single, primary server. When a phone on one wants to reach a phone on another, we use DUNDi to discover the destination pbx and IAX to transfer the call to the other Asterisk box. This seems to be a fairly common practice amongst Asterisk users, yes? Well, what about setting variables before call placement? Say you want to set the variable _ALERT_INFO, to have Polycom phones auto answer? Essentially the problem is that channel variables (with the exception of caller id) are not passed from one Asterisk box to another with IAX. How have people gotten around this? Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] IAX Passing Variables
Well, this kinda sux. We have three Asterisk servers. Phones register to a single, primary server. When a phone on one wants to reach a phone on another, we use DUNDi to discover the destination pbx and IAX to transfer the call to the other Asterisk box. This seems to be a fairly common practice amongst Asterisk users, yes? Well, what about setting variables before call placement? Say you want to set the variable _ALERT_INFO, to have Polycom phones auto answer? Essentially the problem is that channel variables (with the exception of caller id) are not passed from one Asterisk box to another with IAX. How have people gotten around this? Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] IAX Passing Variables
Use __ALERT_INFO and IAX... -Original Message- From: [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED] On Behalf Of Douglas Garstang Sent: Monday, June 05, 2006 6:43 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] IAX Passing Variables Well, this kinda sux. We have three Asterisk servers. Phones register to a single, primary server. When a phone on one wants to reach a phone on another, we use DUNDi to discover the destination pbx and IAX to transfer the call to the other Asterisk box. This seems to be a fairly common practice amongst Asterisk users, yes? Well, what about setting variables before call placement? Say you want to set the variable _ALERT_INFO, to have Polycom phones auto answer? Essentially the problem is that channel variables (with the exception of caller id) are not passed from one Asterisk box to another with IAX. How have people gotten around this? Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users