Re: [asterisk-users] CDR custom variable on second call leg - via originate or .call file

2014-07-06 Thread Tiago Geada
Hi Richard. I looked at both pages, yes. My goal is to have a flag on the cdr database records when the call is not yet connected to the second leg. So, the "Channel" argument takes a call to a portion of dialplan that will try several steps. And at those steps the custom variable will be set t

Re: [asterisk-users] CDR custom variable on second call leg - via originate or .call file

2014-06-27 Thread Richard Mudgett
On Fri, Jun 27, 2014 at 1:30 PM, Tiago Geada wrote: > Is there something I can do regarding this issue? > Have you looked at these wiki pages? https://wiki.asterisk.org/wiki/display/AST/Asterisk+Call+Files The setvar parameter may help here. https://wiki.asterisk.org/wiki/display/AST/Variable+I

Re: [asterisk-users] CDR custom variable on second call leg - via originate or .call file

2014-06-27 Thread Tiago Geada
Is there something I can do regarding this issue? On 16 June 2014 11:39, Tiago Geada wrote: > Hi, > > Thank you for your explanation about channel halds .. These .call files > are always different from other calls. > > Well I would like some custom var to have a piece of information while it >

Re: [asterisk-users] CDR custom variable on second call leg - via originate or .call file

2014-06-16 Thread Tiago Geada
Hi, Thank you for your explanation about channel halds .. These .call files are always different from other calls. Well I would like some custom var to have a piece of information while it is queuing, and another piece of information, once answered in queue, thus just before dialing to context ou

Re: [asterisk-users] CDR custom variable on second call leg - via originate or .call file

2014-06-11 Thread Matthew Jordan
On Wed, Jun 11, 2014 at 9:10 AM, Tiago Geada wrote: > Hi, > > Let me append some extra info > > cdr variable foo, shows on database, but value 'bar' doens't > > its not even shown in the insert query > > I tried with master_channel but no change > > I think you need to be a bit more specific abou

Re: [asterisk-users] CDR custom variable on second call leg - via originate or .call file

2014-06-11 Thread Tiago Geada
e: [asterisk-users] CDR custom variable on second call leg - > via originate or .call file > > > > As far as I know, only way to set variables on another channel would be: > > asterisk -rx "core show help dialplan set chanvar" > Usage: dialplan set chanvar >

Re: [asterisk-users] CDR custom variable on second call leg - via originate or .call file

2014-06-10 Thread Eric Wieling
Subject: Re: [asterisk-users] CDR custom variable on second call leg - via originate or .call file As far as I know, only way to set variables on another channel would be: asterisk -rx "core show help dialplan set chanvar" Usage: dialplan set chanvar Set channel variable to

Re: [asterisk-users] CDR custom variable on second call leg - via originate or .call file

2014-06-10 Thread Mikael Fredin
As far as I know, only way to set variables on another channel would be: asterisk -rx "core show help dialplan set chanvar" Usage: dialplan set chanvar Set channel variable to On 10 June 2014 16:39, Tiago Geada wrote: > Hi > > > We have the following test .call file and test dia

[asterisk-users] CDR custom variable on second call leg - via originate or .call file

2014-06-10 Thread Tiago Geada
Hi We have the following test .call file and test dialplan: I can't set a custom CDR var to a value on one channel leg, and another value on the connected channel leg? Is there a way I can woraround this issue? ## test call file Channel: Local/queue@TiagoGeada CallerID: teste-geada:0:21033