[Asterisk-Users] Variables

2004-11-16 Thread Joseph
Is it possible to set a variable for a channel that follows the life of the call? I am doing a SetVar(TRANSFER_CONTEXT=from-sip) when a call comes out of the queue, but if the agent tries to transfer the call, that variable is empty. Do I have to set the var before it goes into the queue? Doing

[Asterisk-Users] Variables

2006-04-16 Thread Shaun
I have a call screening system setup, caller calls in runs a macro and sets a far to track the recording that was taken of the callers name... then the callee runs a macro also that plays him that recording (pulled from that var that was set) This works fine until i use a queue in the middle

Re: [Asterisk-Users] Variables

2004-11-17 Thread Joseph
On Tue, 2004-11-16 at 16:12, Joseph wrote: > Is it possible to set a variable for a channel that follows the life of > the call? > > I am doing a SetVar(TRANSFER_CONTEXT=from-sip) when a call comes out of > the queue, but if the agent tries to transfer the call, that variable is > empty. > > Do I

[Asterisk-Users] variables internas

2006-02-28 Thread Alejandro Vargas
I've seen in the asterisk configuration the way to call some internal variables like caller-id-number, caller-id-name, language, etc. but.. What is the variable for changing the DID? Is there a manual with this details? -- Alejandro Vargas ___ --Bandw

Re: [Asterisk-Users] Variables

2006-04-16 Thread Jon Farmer
Shaun wrote: > I have a call screening system setup, caller calls in runs a macro and sets > a far to track the recording that was taken of the callers name... then the > callee runs a macro also that plays him that recording (pulled from that var > that was set) This works fine until i use

Re: [Asterisk-Users] Variables

2006-04-17 Thread pdhales
bject: [Asterisk-Users] Variables > I have a call screening system setup, caller calls in runs a macro and sets > a far to track the recording that was taken of the callers name... then the > callee runs a macro also that plays him that recording (pulled from that var > that was set) T

[Asterisk-Users] Variables in queues.conf

2006-03-01 Thread Stephen Kratzer
Howdy. Is it possible to specify variables such as USERNAME=technology/number in queues.conf? I'm looking for something similar to the [globals] section in extensions.conf. Doing so in [general] doesn't work, and an added [globals] context is seen as a queue. Thanks. Stephen Kratzer CTI Network

[asterisk-users] Variables for dial plan

2008-12-14 Thread Michael
I want to have a arbitary named variable within the client's user details in sip.conf [client1] dialplan=NZ .. In extensions.conf (Logic expressed using PHP style) if ($dialplan == NZ) { $NAT = 0; $INT = 00; }; and in the [outgoing] section ; Australia exten => _${INT}61[278]NXX.,

[Asterisk-Users] Variables In a Context

2004-08-09 Thread Simon
Morning all This is probably so simple but. I have a need to set 3 values within each context ( extensions.conf ) . It would appear that this can normally only be done when an exten is called using SetVar / Global. Is this right ? Can i set these values for use at any time ? Why do i need to

[asterisk-users] Variables error in 1.8.6.0.

2011-09-05 Thread Catalin S.
Hello, I have a problem with some variables in 1.8.6.0. I set on extension the following lines: exten => h, n, Set (CDR (LLP) = $ {CHANNEL (rtpqos, audio, local_lostpackets)}) ; lost packets by local end ** exten => h, n, Set (CDR (PCR) = $ {CHANNEL (rtpqos, audio, remote_lostpackets)})

[asterisk-users] Variables losing their value????

2011-02-11 Thread Sherwood McGowan
Alrighty Gents, let's see if any of you have encountered this one...Variables losing their value...I'm setting a variable with four underscores (used to be two, had same issue) so it can be inherited by child channels, and then the next line in the dialplan I use it but it appears to be empty...I'v

Re: [asterisk-users] Variables for dial plan

2008-12-15 Thread Andrew Thomas
.@lists.digium.com] On Behalf Of Michael -->> Sent: 15 December 2008 04:36 -->> To: asterisk-users@lists.digium.com -->> Subject: [asterisk-users] Variables for dial plan -->> -->> I want to have a arbitary named variable within the client's user

Re: [asterisk-users] Variables for dial plan

2008-12-15 Thread Michael
On Mon, 15 Dec 2008 21:31:56 you wrote: > Use setvar=variablename=value > > Eg: under [client1] > setvar=dialplan=NZ > > Then just reference ${dialplan} in your extensions.conf > > Cheers > Andy Thanks, now how do I achieve the following logic? if ($dialplan == NZ) { $NAT = 0; $INT = 00; }; Mich

Re: [asterisk-users] Variables for dial plan

2008-12-15 Thread Steve Johnson
One of these methods will work: exten => s,n,ExecIf($["${dialplan}" = "NZ"]|Set|NAT="0") exten => s,n,ExecIf($["${dialplan}" = "NZ"]|Set|INT="00") -or- exten => s,n,GotoIf($["${dialplan}" != "NZ"]?not-nz) exten => s,n,Set(NAT="0") exten => s,n,Set(INT="00") exten => s,n(not-nz),more_dialplan_stu

[Asterisk-Users] Variables to emailbody of voicemail

2005-06-22 Thread Gabriel Perez S.
Hi, I am trying to send a variable to emailbody of voicemail.conf. That is to say, I try to send I number that it is entered by the numeric keypad of the telephone and arrives in the body of the mail with the recording of the message. In the single documentation they mark some variables that can

Re: [asterisk-users] Variables error in 1.8.6.0.

2011-09-05 Thread Leandro Dardini
2011/9/5 Catalin S. > Hello, > > I have a problem with some variables in 1.8.6.0. I set on extension the > following lines: > > exten => h, n, Set (CDR (LLP) = $ {CHANNEL (rtpqos, audio, > local_lostpackets)}) ; lost packets by local end ** > exten => h, n, Set (CDR (PCR) = $ {CHANNEL (r

Re: [asterisk-users] Variables error in 1.8.6.0.

2011-09-06 Thread Catalin S.
Hello Leandro, Can you tell me a short example about how can i use what you gave me for instance suppose i want to use { "txjitter", DBL, { .d8 = &stats.txjitter, }, }, how can i set it in CDR variable like mine: exten => h,n,set(CDR(ljitt)=${CHANNEL(rtpqos,audio,local_jitter)}) Than

Re: [asterisk-users] Variables losing their value????

2011-02-12 Thread Sherwood McGowan
Apologies, using two underscores (I retested) did not cause the error On Sat, Feb 12, 2011 at 1:42 AM, Sherwood McGowan < sherwood.mcgo...@gmail.com> wrote: > Alrighty Gents, let's see if any of you have encountered this > one...Variables losing their value...I'm setting a variable with four > un

[Asterisk-Users] variables from before call entered queue

2005-07-25 Thread neil
Please could someone help? I need a way of knowing the DNID for a call that is in our queues. I've tried setting varies variables with different _ & __ before them but none are inherited by the Local/ call that is placed from Queue. Any suggestions appreciated. Neil

[Asterisk-Users] Variables naming, may be a BUG??

2005-12-12 Thread Marcello Lupo
Hi, i discovered that in version 1.2.0 stable if i use a variable like: CALLERID_FOO=12345 in the extension.conf, the variable is not evaluated and left empty. In the 1.0.9 it was not this way. May be a bug? Bye, Marcello ___ --Bandwidth and Colocation

[asterisk-users] Variables sip redirects and call forward

2006-08-06 Thread C F
First my little Sunday story. A client of mine with a big factory calls me up that he is trying to call in to his place because the fire alarm went off. He is dialing the extension I gave him that will call all the extensions (and worked before) but after 2 rings he gets a message: The subscriber

[Asterisk-Users] Variables and status problems in AGI application

2005-06-06 Thread asterisklists
I am running a prepaid application with Asterisk. When authentication has to be done by DTMF everything works fine. However when the user is authenticated directly from the sip phone, the channel variables seems to disappear. Trying to retrieve the channel status always returns -1 instead of the

[Asterisk-Users] Variables and status problems in AGI application

2005-06-06 Thread asterisklists
I am running a prepaid application with Asterisk. When authentication has to be done by DTMF everything works fine. However when the user is authenticated directly from the sip phone, the channel variables seems to disappear. Trying to retrieve the channel status always returns -1 instead of the

Re: [asterisk-users] Variables sip redirects and call forward

2006-08-06 Thread Eric \"ManxPower\" Wieling
Check that status of: ${RDNIS} and/or ${CALLERID(rdnis)}) in /path/to/src/asterisk/docs/README.variables C F wrote: First my little Sunday story. A client of mine with a big factory calls me up that he is trying to call in to his place because the fire alarm went off. He is dialing the exten

Re: [asterisk-users] Variables sip redirects and call forward

2006-08-06 Thread C F
I was thinking about it but didn't have a chance to test it. This is an answer for my question marked as #2: 2. Is there any way to detect in the DP that an extension is called from a redirect (any variables)? After some testing it appears that the only time this variable is populated is when ther

Re: [asterisk-users] Variables sip redirects and call forward

2006-08-06 Thread Ira
At 08:47 PM 8/6/2006, you wrote: If I can get a var set in a macro to show up in the local channel created from that macros call to app_queue that calls chan_local, then the problem looks to be solved. But so far I havn't been able to do that. And RDNIS is not populated in this case. So to sum up

Re: [asterisk-users] Variables sip redirects and call forward

2006-08-07 Thread C F
I havn't tested it but if group survives the macros call thru app_queue to chan_local then yes it might work. On 8/7/06, Ira <[EMAIL PROTECTED]> wrote: At 08:47 PM 8/6/2006, you wrote: >If I can get a var set in a macro to show up in the local channel >created from that macros call to app_queue

[asterisk-users] Variables are empty after Redirecting a channel

2014-02-20 Thread Igor Dvorzhak
Guys, I am using Asterisk 1.8.20.0 built by mockbuild @ buildvm-24.phx2.fedoraproject.org on a x86_64 running Linux on 2013-01-18 19:52:25 UTC How can I set variable in one context and then Redirect a channel to another context and use variable there? The code below doesn't work, so I've got empt

[asterisk-users] variables or including other files in followme.conf

2016-03-10 Thread Karl Anderson
Is is possible to use variables in followme.conf? Is it possible to include another conf file? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar eve

RE: [Asterisk-Users] Variables and status problems in AGI application

2005-06-06 Thread Brian C. Fertig
lanet Telecom, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, 06 June, 2005 11:03 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Variables and status problems in AGI application

Re: [asterisk-users] Variables set by AGI lost in dialplan

2013-02-14 Thread Mikhail Lischuk
Deepesh D писал 14.02.2013 11:40: > My asterisk server handles about 100 calls per minute, so > its impossible for me to do an 'agi set debug' and observer the output You can turn debugging on for some period of time (until you get an error) and then just look back at /var/log/asterisk/debug

Re: [asterisk-users] Variables set by AGI lost in dialplan

2013-02-14 Thread Yves A.
are the calls always handled in the same manner, or sometimes different, e.g. with conferencing, bridging, transferring, using local channels and and and...? in that case try to use two underscores before the variablename to use inheritance. maybe you accidentially swap the channels? you could

Re: [asterisk-users] Variables set by AGI lost in dialplan

2013-02-14 Thread Steve Edwards
On Thu, 14 Feb 2013, Deepesh D wrote: The problem I am facing is that sometimes the variables are wrongly received as 0 (zero) in the dialplan even if the AGI has set it to a non-zero value. Are the variables actually set to '0' and not '' (like an undefined variable)? This error does not

Re: [asterisk-users] Variables set by AGI lost in dialplan

2013-02-15 Thread Deepesh D
On Thu, Feb 14, 2013 at 8:35 PM, Steve Edwards wrote: > On Thu, 14 Feb 2013, Deepesh D wrote: > >> The problem I am facing is that sometimes the variables are wrongly >> received as 0 (zero) in the dialplan even if the AGI has set it to a >> non-zero value. > > > Are the variables actually set to

Re: [asterisk-users] Variables are empty after Redirecting a channel

2014-02-20 Thread Gareth Blades
On 20/02/14 10:24, Igor Dvorzhak wrote: Guys, I am using Asterisk 1.8.20.0 built by mockbuild @ buildvm-24.phx2.fedoraproject.org on a x86_64 running Linux on 2013-01-18 19:52:25 UTC How can I set variable in one context and then Redirect a channel

Re: [asterisk-users] Variables are empty after Redirecting a channel

2014-02-20 Thread Joshua Colp
On 14-02-20 06:24 AM, Igor Dvorzhak wrote: > Guys, > > I am using > Asterisk 1.8.20.0 built by mockbuild @ buildvm-24.phx2.fedoraproject.org > on a x86_64 running Linux on > 2013-01-18 19:52:25 UTC > > How can I set variable in one context and then Redir

Re: [asterisk-users] Variables are empty after Redirecting a channel

2014-02-21 Thread Igor Dvorzhak
Sorry there is a mistake, actually I don't redirect executing channel: exten => s,n,ChannelRedirect(${CHANNEL_TO_REDIRECT},context_2,AMD,1) I can't use Goto because the ${CHANNEL_TO_REDIRECT} is active channel and Goto drops (hangs-up) it. So is there a way to pass variable to the target context

Re: [asterisk-users] variables or including other files in followme.conf

2016-03-10 Thread Administrator TOOTAI
Le 10/03/2016 15:12, Karl Anderson a écrit : Is is possible to use variables in followme.conf? Is it possible to include another conf file? in the followme.conf file #include local/followme.d/*.conf will include all files having .conf extension in this directory -- Daniel -- _