[asterisk-users] Asterisk, Sent accountcode between 2 asterisk

BryantZ at zktech.com BryantZ at zktech.com
Sat Mar 5 07:54:07 CST 2011



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-users

Send 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



More information about the asterisk-users mailing list