Re: [asterisk-users] Asterisk, Sent accountcode between 2 asterisk
On Sat, Mar 5, 2011 at 11:52 AM, Steve Edwards wrote: > On Sat, 5 Mar 2011, brya...@zktech.com wrote: > >>> 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. > >> Just noticed you are using IAX I don't think my method works with IAX. >> That is why I use SIP between systems. Someone correct me if there is a way >> to send custom variables with IAX. > > You can pass cruft between Asterisk servers via IAX using the caller ID > name. In 1.6.2 and above, you can set arbitrary variables with IAXVAR() on one side and retrieve them on the other side. -- _ -- 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
Re: [asterisk-users] Asterisk, Sent accountcode between 2 asterisk
On Sat, 5 Mar 2011, brya...@zktech.com wrote: 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. Just noticed you are using IAX I don't think my method works with IAX. That is why I use SIP between systems. Someone correct me if there is a way to send custom variables with IAX. You can pass cruft between Asterisk servers via IAX using the caller ID name. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- 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
Re: [asterisk-users] Asterisk, Sent accountcode between 2 asterisk
On Mar 5, 2011, at 8:52 AM, brya...@zktech.com wrote: > > > On Mar 5, 2011, at 2:29 AM, Olivier CALVANO 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. > Just noticed you are using IAX I don't think my method works with IAX. That is why I use SIP between systems. Someone correct me if there is a way to send custom variables with IAX. Bryant -- _ -- 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
Re: [asterisk-users] Asterisk, Sent accountcode between 2 asterisk
On Mar 5, 2011, at 2:29 AM, Olivier CALVANO 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 -- _ -- 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
[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 -- _ -- 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