search for: getvar

Displaying 20 results from an estimated 73 matches for "getvar".

Did you mean: setvar
2004 Jul 21
2
fonction Getvar
Hia .... i try to use the fonction Getvar of asterisk to get a variable myDNIS that i have define. i use it as follow Action: Getvar Channel: SIP... Variable: myDNIS but asterisk don't know it .i have the response as follow Response: Error Message: Invalid/unknown command does everybody meet this problem . i try all possible combina...
2023 Jul 04
1
Getvar of CHANNEL not working for a couple of items
The following AMI command works well for all of the information I want: action: Getvar actionid: act1 channel: PJSIP/Twilio-NA-W-3-In-00000028 Variable: CHANNEL(pjsip,XXXX) Where XXXX can be one of the many available items. However, when I create a call from A to B, all of the items return properly except: local_addr and remote_addr. More specifically, they return correctly for th...
2011 Mar 28
2
Variable. AMI and dialplan
Hi! Guess I am doing something totally wrong here: Some smart person could maybe plz tell me what.
2023 Jul 04
1
Getvar of CHANNEL not working for a couple of items
Building on my last message, I am trying to get CHANNEL data using getvar (through the AMI). And although I'm getting responses, some values returned seem illogical. For example, phone 111 calls phone 222 via the PBX. Here's the data I get back Channel A: "1688509741.112" , name: "PJSIP/111-00000064" , is originator: Y , call-Id...
2005 Jul 12
0
Manger-command Getvar?
Hi, I'm trying to use the manager cmd Getvar. Unfortunately I always get (null) as variable content. I'm using asterisk 1.0.7 When calling a non existant channel, I get an appropriate result. This is what I tried and got: Action: Getvar Channel: SIP/01234567-5242 Variable: CALLERID Response: Success CALLERID: (null) Any hints? Rog...
2023 Jul 05
1
Getvar of CHANNEL not working for a couple of items
On Tue, Jul 4, 2023 at 7:52 PM TTT <lists at telium.io> wrote: > Building on my last message, I am trying to get CHANNEL data using getvar > (through the AMI). And although I'm getting responses, some values > returned seem illogical. For example, phone 111 calls phone 222 via the > PBX. Here's the data I get back > > > > > > Channel A: "1688509741.112" , name: "PJSIP/111-000000...
2023 Jul 06
0
Getvar of CHANNEL not working for a couple of items
...econd leg of the call. From: asterisk-users [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua C. Colp Sent: Wednesday, July 5, 2023 12:02 PM To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] Getvar of CHANNEL not working for a couple of items On Wed, Jul 5, 2023 at 12:50 PM TTT <lists at telium.io <mailto:lists at telium.io> > wrote: Channel A: "1688509741.112" , name: "PJSIP/111-00000064" , is originator: Y , call-Id: "u.l6kcou25cax60 at mydomai...
2004 May 01
1
win32-mutex
I''ve committed documentation and a test suite for win32-mutex. Once again, I''m looking for a good sample program that we can use for the test.rb file that really demonstrates what you can accomplish with it. I scoured the web but didn''t find anything good. On another note, I came across another implementation called "fmutex" that I thought might be worth
2023 Jul 05
1
Getvar of CHANNEL not working for a couple of items
Channel A: "1688509741.112" , name: "PJSIP/111-00000064" , is originator: Y , call-Id: "u.l6kcou25cax60 at mydomain.com <mailto:u.l6kcou25cax60 at mydomain.com> " , local_uri: "<sip:222 at mydomain.com <mailto:sip%3A222 at mydomain.com> ;user=phone>" , local_tag: "1734d973-c4da-4ae8-a37d-5f7065f1fe54" , local_addr:
2016 Dec 12
2
AMI version of CONNECTEDLINE
Hello, Is there any equivalent of the CONNECTEDLINE function which can be called from an application using the AMI? Thanks for any ideas. -- David Cunningham, Voisonics http://voisonics.com/ USA: +1 213 221 1092 Australia: +61 (0) 2 8063 9019 -------------- next part -------------- An HTML attachment was scrubbed... URL:
2023 Jul 02
1
Get channel variables via ARI/AMI
>> You use the AMI action Getvar[1] which allows channel variables and dialplan functions. >> [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar I actually tried that, and although I get “success” I never get useful data. For example: action: Getvar actionid: act1 channel: PJSIP/Twil...
2012 Dec 03
1
Query list of defined channel variables via AMI
Is there a way to list the names of the channel variables that are currently defined on a given channel via AMI? I know of GetVar and SetVar, but GetVar needs the name of the variable to get.
2012 Jun 26
2
access "indexed" facter facts
Hi everyone, I have a fact which looks like that: drbdconnectionstate0. You see the "0" at the end... Now I''d like to access this fact in a "dynamic" way, the "0" should be variable. I''m thinking of something like that: if ${drbdconnectionstate0}${drbddevice} == ''Unconfigured''. But as you may guess, this does not work... Has
2023 Jul 02
1
Get channel variables via ARI/AMI
...gt; I am trying to use the CHANNEL function listed above from the AMI. Since > it is not an AMI “action”, but rather a dialplan “function”, I’m trying to > figure out how to call this from the AMI. Using a telnet session to the > AMI I’ve tried variations of: > You use the AMI action Getvar[1] which allows channel variables and dialplan functions. [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar -- Joshua C. Colp Asterisk Project Lead Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org -------------- next part -------------- An H...
2023 Jul 02
1
Get channel variables via ARI/AMI
On Sun, Jul 2, 2023 at 4:39 PM TTT <lists at telium.io> wrote: > >> You use the AMI action Getvar[1] which allows channel variables and > dialplan functions. > > >> [1] > https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar > > > > > I actually tried that, and although I get “success” I never get useful > data. For example: > > &...
2006 Mar 03
2
Background() App From AGI
...tty easy to see what's happening. self.agi.channelAnswer() self.agi.wait(1) self.agi.execCmd("background","enter-conf-call-number","") self.agi.execCmd("Read","confNum|||","") confNum = self.agi.getVar("confNum") I enter DTMF digits, and read the result with Read() while the sound file is still playing. I always lose the first digit. The docs aren't clear but it appears that Background() is designed to grab the first DTMF digit it sees. I don't want Background() to chomp my fir...
2010 Sep 19
0
A logging/graphing UPS client using rrdtool and UPS::Nut
...hile (1) { $ups = UPS::Nut->new(NAME => $opts{upsname}, HOST => $upshost); $ups->Authenticate($username, $password) || upslog("Could not authenticate to UPSD!\n"); $date = time(); $bcharge = $ups->GetVar('battery.charge') || upslog($ups->Error()); $bvolts = $ups->GetVar('battery.voltage') || upslog($ups->Error()); $vin = $ups->GetVar('input.voltage') || upslog($ups->Error()); $vout = $ups->GetVar('output.voltage')...
2023 Jun 26
2
Get channel variables via ARI/AMI
It looks like if I call Getvar and pass PJSIP_HEADERS() I can get the entire SIP header for a channel. I also read (on stackoverflow) that the PJSIP_HEADER function will only return the headers from the INVITE of the inbound channel. If that’s correct, how would I get the headers from the outbound channel (second leg of the...
2023 Jul 03
1
Get channel variables via ARI/AMI
The uppercase command made a difference. I now get a call-id as show below. However, does the call-id look valid? The @0.0.0.0 seems strange. action: Getvar actionid: act1 channel: PJSIP/Twilio-NA-W-3-In-00000028 Variable: CHANNEL(pjsip,call-id) Response: Success ActionID: act1 Variable: CHANNEL(pjsip,call-id) Value: 4decf884e3ae74595906283a74f7154e at 0.0.0.0 As well, can I request many pieces of data at once? The syntax on this p...
2008 Jul 18
0
Rcpp from C++
...PROTECT(ab = allocVector(REALSXP, 2)); REAL(ab)[0] = 123.45; REAL(ab)[1] = 67.89; UNPROTECT(1); the attach a R variable name to the data using void defineVar(SEXP symbol, SEXP value, SEXP rho) void setVar(SEXP symbol, SEXP value, SEXP rho) but I haven't tried that yet in detail. getVar is the other way around and finds the data to an R variable name: SEXP getVar(SEXP name, SEXP rho) { SEXP ans; if(!isString(name) || length(name) != 1) error("name is not a single string"); if(!isEnvironment(rho)) error("rho should be an environment&...