search for: gotoifs

Displaying 20 results from an estimated 1153 matches for "gotoifs".

Did you mean: gotoif
2008 Jul 18
5
GotoIf Problem
Everybody, I have a fall though context that, among other things, tests to see if someone it trying to pick up a non-existent parked call (Defined from 90 to 99). I have the following: [not-in-service] exten => _X.,1,Wait(1) exten => _X.,n,ResetCDR() ; ************************************************** ; Check to see if the mis-dialed number was a parking ; slot. If so, jump to the
2010 Feb 04
3
Gotoif Question
Hi Gang, I'm working on a lumenvox app and am having "fun" with the Gotoif's on speech/DTMF recognition. If you're using DTMF to enter a number instead of speech to enter a numeric value, the engine will often return a "confidence score" of 1000 instead of 1-999. Therefore this Gotoif fails: exten => s,n,GotoIf($["${SPEECH_SCORE(0)}"
2007 May 17
2
Quadbri Cellular Issue
Hello everybody, and first of all sorry for my poor English. I'm having trouble with Quadbri installed on Asterisk 1.2.17-BRIstuffed-0.3.0-PRE-1y-e. Everything is working fine, except calling to switched off or "out of coverage" cell phones. In this case I have to wait 40 seconds until Asterisk tell me that "all circuits are busy now" instead of receive cell phone
2007 Mar 13
3
How to match wild card inside a GoToIf?
How can I match wildcards inside a GoToIf? I have something like this, but it doesn't work: [default] exten => _2XXXXXXXX,1,Macro(outcall,${EXTEN}) [macro-outcall] exten => s,1,GotoIf($["${ARG1}" = "220408XXX"]?2:3) exten => s,2,Hangup Any ideas? Regards, Ricardo.
2007 May 30
3
Dial plan inquiry using GotoIf()
Hi all, I'm looking for some rudimentary insight on GotoIf() which seems to be failing on me in my dial plan. All I basically wish to do is block a particular caller. Sounds easy enough, but my ternary operator/plan currently is not properly being implemented. Can anyone spot where I'm being a momo? All extensions get forwarded to the following macro: [macro-forward] ; arg1 = phone
2005 Mar 08
2
GotoIf with Authenticate
Quick question...Im authenticate all exten except this one(2006). If I call from ext 2006 I still have to authenticate. If I call form any other ext I have to authenticate. Any suggestions? Thanks extex => s,1,GotoIf($[${EXTEN} = "2006"]?3) exten => s,2,Authenticate(731) exten => s,3,GotoIf($[foo${ECID${CALLERIDNUM}} = foo]?4) exten =>
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.
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,
2008 Apr 15
1
gotoif syntax error
Asterisk is reporting the following error: [Apr 15 16:58:32] WARNING[14759] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected ':', expecting $end; Input: : Always ^ here is the dialplan: exten => OUT,1,Gotoif($[$["${DB(AMPUSER/${ARG1}/recording)}" : "out=([^|]+)"] = Always]?r,1) exten =>
2005 Jun 29
5
Problems with OR Logic in the GotoIf Statement
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3034 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050629/596126bc/smime.bin
2013 Apr 10
2
my "blacklist" is not working
In my blacklist I have: database show ... /blacklist/Manitoba : advertising ... [incoming] ; First, lets take care of telemarketers exten => 4,1,GotoIf(${BLACKLIST()}?blacklisted,s,1) exten => 4,n,Set(goaway=${CALLERID(number):0:2}) exten => 4,n,GotoIf($["${goaway}" = "V4" ]?blacklisted,s,1) exten => 4,n,GotoIf($["${goaway}" = "V3"
2010 Nov 03
1
Gotoif changed in 1.8?
Hi Gang, I'm testing 1.8.0 on one of my machines and this snippet "chokes" on line 7 (works fine with 1.4.30) [tb-account-balance] exten => s,1,Set(BALCOUNT=0) exten => s,n,NoOp(Verbose(acct ${digitacc} pwd ${digitpwd} )) exten => s,n(runagi),Set(TEST_RETURN="NONE") exten =>
2009 Jul 15
1
ResetCDR after GotoIf doesn't set dst correctly, Is this a bug?
(Both on Asterisk 1.2 and 1.4) I was struggling to find out why my CDR was recording dst = h after a call hangup. It was working fine until I added a GotoIf statement before ResetCDR to calculate some value for userfield column. Today I tested and found out that if ResetCDR is put after GotoIf (or after if in AEL), it doesn't record correct value in dst column, and isntead puts 'h'
2005 Jan 06
1
Gotoif question
Is there a way to combine these lines into one? exten => s,2,GotoIf($["${CALLERIDNUM:0:3}" = "800"]?s|108) exten => s,3,GotoIf($["${CALLERIDNUM:0:3}" = "866"]?s|108) exten => s,4,GotoIf($["${CALLERIDNUM:0:3}" = "877"]?s|108) exten => s,5,GotoIf($["${CALLERIDNUM:0:3}" = "888"]?s|108) Thanks --John
2006 Nov 10
2
Outgoing problem on PRI
Dear All, I have an asterisk server version 1.2.12.1 along with trixbox and I am having this nasty problem, I have a TE200P and have an E1 pri attached to it and zttool says it's OK, I have configured the whole 31 channels into one group as follow: Zapata-auto.conf: callerid=asreceived signalling=pri_cpe switchtype=euroisdn context=from-zaptel group=0 channel=>1-15,17-31
2015 Apr 07
5
Asterisk Inbound calls, multiple SIP accounts, calledID
Hi Dmitriy and others and thanks for your help so far. The option "match_auth_username=yes" seems to have had no effect. From my reading, this option will try to match the username of the incoming SIP account to a section heading. If that is how it must work then i can see a big problem. I'm trying to present the receptionist with a nice display of which line the call came in on.
2005 Mar 22
1
Help Debugging my code?
Hey, I'm currently using the GotoIf application to set it so if certain caller ID's call my number, it will transfer it to my cell phone, here is the code I have so far. I get an error message that states "call rejected by 198.22.67.70: No such context/extention." when I call the number from my house number. Anyway, here is the code I have. [inbound] exten =>
2005 Jul 11
1
ASterisk@home + Broadvoice = Almost working installation...
Hello Guys, I'm somewhat of a newbie and am desperately seeking for some help... I've managed to get asterisk up and running on my server, and signed up with a broadvoice account... I'm having no problem dialing and communicating between extensions, but whenever anyone tries to call my broadvoice account, they are greeted by no ring or anything, but rather simply a direct to
2007 Aug 19
4
GotoIf not working with ${EXTEN} for me in 1.4.8
I am using GotoIf all over the place in 1.4.8 but for some reason, the following in my dial plan: ############################################################# exten => _1NXXNXXXXXX,1,GotoIf([${EXTEN} = "15554441212"]?100) exten => _1NXXNXXXXXX,n,Dial(SIP/provider1/${EXTEN},60) exten => _1NXXNXXXXXX,n,Dial(SIP/provider2/${EXTEN},60) exten => _1NXXNXXXXXX,n,Hangup exten =>
2010 Jun 11
2
Call ended after 31 seconds
Hi people, I have a problem with some extensions. The calls are ended after 31/35 seconds, also, it depends on the number which I call. This is the log, but I've not been able to find something wrong... Any ideas? [Jun 11 15:50:46] DEBUG[26071] app_macro.c: Executed application: ExecIf [Jun 11 15:50:46] VERBOSE[26071] logger.c: -- Executing [s at macro-dialout-trunk:16]