Olivier CALVANO
2011-Mar-05 07:28 UTC
[asterisk-users] Asterisk, Sent accountcode between 2 asterisk
Hi I have two Asterisk Server: The first server "A", all phone are connected The Second server "B" only route call to a lot of SIP supplier the server A sent: ; Destination: Non connu dans le DialPlan - Apparaitra en UNKNOW dans le CDR exten => _X.,1,Set(CDR(CodeTier)=BUS-UNKNOW) exten => _X.,2,Dial(IAX2/SERVERB/${EXTEN},180,rt) exten => _X.,3,Hangup anyone know if it's possible to add the CDR Accountcode to this process for get it on the second server "B" ? i want the same accountcode on the 2 servers thanks Olivier
BryantZ at zktech.com
2011-Mar-05 13:54 UTC
[asterisk-users] Asterisk, Sent accountcode between 2 asterisk
On Mar 5, 2011, at 2:29 AM, Olivier CALVANO <o.calvano at gmail.com> wrote:> Hi > > I have two Asterisk Server: > > The first server "A", all phone are connected > The Second server "B" only route call to a lot of SIP supplier > > the server A sent: > > ; Destination: Non connu dans le DialPlan - Apparaitra en UNKNOW dans le CDR > exten => _X.,1,Set(CDR(CodeTier)=BUS-UNKNOW) > exten => _X.,2,Dial(IAX2/SERVERB/${EXTEN},180,rt) > exten => _X.,3,Hangup > > > anyone know if it's possible to add the CDR Accountcode to this process > for get it on the second server "B" ? > > i want the same accountcode on the 2 servers > > thanks > Olivier > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersSend the account code as a custom header variable encode it on A and read it on B. You can send any variables you want using this method. I currently send about 10 variables on switch transfers. If you need an example ping me back and I will send one when I get in the office. Bryant