similar to: dialplan logic, logical not

Displaying 20 results from an estimated 30000 matches similar to: "dialplan logic, logical not"

2008 Oct 10
2
Leap year?
Given a Date object or simply a year is there an R function to tell me if the it is a leap year or not? I was hoping for something like 'is.leapyear'. I probably can build my own function (year divisible by 4 etc.) but I would rather use an existing function if it is available. Thank you. Kevin
2011 Feb 28
0
MultiDimensional arrays
hello, I'm working with a 4 dimensional NetCDF file, trying to calculate some summary statistics on a parameter. The dimensions are number of rows and columns, time and days. The attribute in question in this case happens to be a probability of woodstork foraging success. But it could be anything My question is whether the following code is efficient to grab the probability values ? I am
2011 Mar 26
0
NetCDF - rolling means and StdDev
Hello, I am trying to come up with a routine to calculate a rolling mean and standard deviation for three parameters stored in a NetCDF file. The NetCDF file contains 10 years of daily records for each of the three parameters, and I need the statistics for each of the three parameters. Below I include some code illustrating what I've done so far. Obviously this approach does not get at the
2007 Mar 28
1
Unsetting Global Vars
How do I clear a global variable for good? I have a situation of needing to use global variables to aide in channel communication, but will be changing the name within a defined scope. Additional Background... I want to get a variable from a channel (child) that is created by another channel (parent), however the execution of the parent channel does not continue until the child channel is gone.
2009 Sep 23
3
Simple dialplan issue
I have an issue where a particular dialplan works but another doesn't. I'm not sure why. To me they look identical and it has me stumped. This works: [to-test] exten => _X., 1, SetCallerPres(allowed) exten => _X., 2, Monitor(wav,/tmp/test-${UNIQUEID},mb) exten => _X., 3, Ringing exten => _X., 4, Dial(SIP/9330 at a-test,20,ro) exten => _X., 5,
2015 Nov 05
3
How to encode plus sign in REGEX function in dialplan?
Dear all, I have made a fairly complex dialplan where I am using the REGEX function in many places. This works so far, but I wasn't able to solve the following problem. What I would like to do is the following (please note that this is normal regex syntax and obviously not what the REGEX function expects, but I hope it shows the idea): same => n(A1), GotoIf($[${REGEX("^\+49.*"
2009 Sep 22
2
Problem with dialplan -> gotoif ?
Hi This is the output from show dialplan dial-sipmnf-sippt-pstn [ Context 'dial-sipmnf-sippt-pstn' created by 'pbx_config' ] 's' => 1. Verbose(1,Dialing ${ARG1} on mnf pt pstn) [pbx_config] 2. Dial(SIP/${ARG1}@${SIPMNF},${ARG2},${OUTBDIAL}) [pbx_config] 3. Set(GLOBAL(FOUNDME)=${DIALSTATUS}) [pbx_config]
2015 Jun 26
0
Asterisk dialplan best practices syntax
On Fri, 26 Jun 2015, Ludovic Gasc wrote: > 1. What's the "official" notation of each line: "=>" or "=" ? In the > wiki of Asterisk, I see very often "=>", however, what's the reason for > both syntaxes authorized ? Historical ? I'm not 'official,' but I have a strong preference for just '=.' Using
2007 Aug 15
3
Dialplan / AGI autoanswer question
Hi. I've got a working dial plan on my home system but there are problems with it and I was hoping someone more comfortable with dial plans might be able to help. In a nutshell here's what I'm currently doing on an incoming outside phone call [default] Set(TIMEOUT(digit)=3 Set(TIMEOUT(response)=60 exten => s,1,NoOp(Answering in default context) exten =>
2004 Aug 27
2
Using regular expression in dialplan
Hi all, Did anyone manage to make the GotoIf command work with regular expression ? I would like to make the following thing: ${DTMSeq} contains a menu choice. Only 1, 2 and 3 are allowed menu choices. If DTMFSeq contains 1 or 2 or 3 => OK, Goto 4 else Goto 2 I've tried the follwoing syntax but it is alway going to 2 whatever the value of DTMFSeq: exten =>
2009 Jun 29
0
FW: re: Asterisk Outbound with Failover, alarm notification, dial status and hangupcause capturing to CDR from Dialplan
Managed to implement this on asterisk v1.4.24.1, Also, Hangupcause updating to user field. However, this only works on the edge of my voice network (demarcation point) It does not work on my internal routing boxes as I use IAX to route between remote sites. I was thinking of using some sort of SIP variables to transport these results over the IAX trunk.. Any bright ideas folks???
2015 Jun 28
2
Asterisk dialplan best practices syntax
2015-06-26 17:11 GMT+02:00 Steve Edwards <asterisk.org at sedwards.com>: > On Fri, 26 Jun 2015, Ludovic Gasc wrote: > > 1. What's the "official" notation of each line: "=>" or "=" ? In the wiki >> of Asterisk, I see very often "=>", however, what's the reason for both >> syntaxes authorized ? Historical ? >>
2006 Oct 26
3
dialplan issue - 1& 0 should be evaluated false
Helo List, Sorry I missed the rest of my email in my previous post. Please see below. I'm having an issue using the AND (&) operator evaluation in the code of my dialplan. The dial plan is coded to detect inbound DTMF digits from callers. key "1" is equivalent to "yes" and key "2" is equivalent to "no" in two diferent contexts in the dial plan.
2011 Oct 05
0
Passive wait in dialplan
Hello, everyone Here part of my dialplan context [globals] CMD_NOOP=0 CMD_DOSTUFF1=1 CMD_DOSTUFF2=2 CMD_DOSTUFF3=2 [blah-context] same => n,Set(COMMAND=${CMD_NOOP}) same => n,UserEvent(blah-event,CHANNEL:${CHANNEL(name)} same => n(COMMAND_SWITCH),GoToIf($["${COMMAND}"="${CMD_DOSTUFF1}"]?LBL_DO_STUFF1) same =>
2009 Mar 13
1
Realtime dialplan application versus REALTIME dialplan function
Hi All, I'm upgrading some PBX's from 1.2 to 1.4 and having a bit of trouble with converting the Realtime application to the REALTIME function. I have the method down and understand simplistically what is going on, at least enough to get my old 1.2 apps to run in 1.4 functions. I do not understand why change from the app to the func? What the benefits? To me, the app seemed so
2004 Aug 17
6
dialplan woes
I am making some changes to the dial plan at the request of the company president and have run into some problems. I have a couple of layers of menu's and I am not sure how to handle them. Here is how it should work (sorry for the crappy diagram) main menu --------Dial 1 for support | Dial 2 for special | Dial 3 sales
2015 May 29
2
Debugging dialplan
Please don't top post. > Am 29. Mai 2015 09:42:55 MESZ, schrieb Luca Bertoncello > <lucabert at lucabert.de>: >> Zitat von jg <webaccounts173 at jgoettgens.de>: >>> Yes, it is called "core set verbose 42", the other options is "core >>> set debug 42". Enjoy the show! I know you can specify a level to the verbose application,
2006 Apr 24
1
Queue reload
I've noticed that when app_queue.so is reloaded(or just a reload command is used) that all queue members that were paused are automatically unpaused. Is there a workaround for this? (Note, I use statically defined callback agents). --johann
2006 Oct 26
0
dialplan issue - 1& 0 should be false
Helo List, I'm having an issue using the AND (&) operator in the code of my dialplan. The dial plan is coded to detect inbound DTMF digits from callers. key "1" is equivalent to "yes" and key "2" is equivalent to "no" in my dial plan. When a caller presses 1, yes is passed as a varialble and same when 2 is pressed a "no" is passed.
2013 Apr 18
5
ODBC dialplan looping problem
All, Thank you in advance for any help. I have a customer in need of a conferencing system. A requirement is for users to each have their own PIN for the same bridge. So, I put the list of users, PINs bridges into a MYSQL DB and used an ODBC connector to parse the table. Asterisk is connected and reads the rows as expected. The problem is that if a user enters a PIN that is NOT in the table,