similar to: Gotoif question

Displaying 20 results from an estimated 7000 matches similar to: "Gotoif question"

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 =>
2004 Jan 02
1
Asterisk Gotoif / last called
Hi guys Ive been trying to get this to work for ages now, basicaly im trying to do if ${woteva} = "" (nothing), or its none existenant then do label 1, else label 2. for my last called function, so it will play a different message if theres no last call in the system or it was anonymous. ive tried exten => 1000,1,GotoIf($[${last-call${CALLERIDNUM}} = ""]?4:5) and heaps of
2005 Jun 23
3
privacy manager
>1- Call comes in without callerid >2- AGI script answers line >3- AGI script asks to record name >4- Park the call and get the parked extension number >5- Ring all the phones in the house (exec Dial) >6- If phone is picked up, play recorded name >7- Wait for DTMF to accept or decline call >8- If accepted, bridge parked call and current call. Mike, I am wanting this
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
2006 Apr 24
2
CallerID/variable setting.
Hey, all. I'm trying to set my CID such that, internally, I see a four-digit extension (which is also handy when checking VM), but externally, I see the full 10-digit number. So I plugged these lines into my extensions.conf: exten => _XXXXXXX,1,GotoIf($[ ${CALLERIDNUM} != 1625]?4:2) exten => _XXXXXXX,2,Set(CALLERIDNUM=6031234${CALLERIDNUM:1}) exten =>
2007 Jun 12
4
GotoIf Dialplan inquiry
Hi all, I have the following in my extensions.conf: exten => s,4,GotoIf($["${CALLERID(number)}" = "8585979857" | "8585970327"]?15:5) The numbers listed above are known spammer numbers. However, when I call from any other CALLERID, it still directs me to s,15 which is the Hangup() application. Here are logs from the asterisk CLI: -- Executing
2013 Jul 24
2
What is my syntax error here?
I have thsi code in a dial plan. The purpose of which is to set distinctive ring tones for internal and transferred calls. exten => _.,1,Noop(CALLERID_ALL=${CALLERID(all)}) exten => _.,n,Set(CallerIDNum=${CALLERID(num)}) ; This just shows a list of interesting variables and their values ; Comment it out when finished debugging ;include => macro-dumpvars ;exten =>
2006 Dec 18
3
Changing CALLERIDNUM on the fly
Is what I am trying to do in this context possible. That is changing the incoming CALLERIDNUM. In this case if the incoming CALLERIDNUM is not preceeded by a "1" I want to add a "1". Often calls come in without the preceeding "1" and this plays havoc with my redial if the 3 digit area code matches a local 3 digit extension. All my outside calls are 10 digits or 1+10
2005 Sep 05
3
GotoIf sample...
hi everyone. can anyone provide me concrete examples on how to use the GotoIf application? can't figure out how to use it in my dialplan coz im having errors....thanks! : ) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was
2006 Mar 10
3
RFC Follow Me Find Me script
This is a follow/find me script that I can't quite get to work, asterisk wont save forward/${calleridnum} to AstDB... any comments or thoughts on how to make this work or change it to work differently are appreciated. The voice prompts to go with all playback/background extensions are commented appropriately. I hope this code is of use to some of you and any help with a perfected
2005 May 12
1
ast_yyerror - 'space' in Caller-ID - string comparison
I've some code to manipulate incoming Caller-ID - so its suitable for replying to... [sipdef] exten => s,1,NoOp(FWD SIP: "${CALLERIDNAME}" <${CALLERIDNUM}>) ; Alter incoming calles from pulver - add a '87' exten => s,2,Gotoif($[${CALLERIDNAME} = ${CALLERIDNUM}]?3:4) exten => s,3,SetCIDName(87${CALLERIDNUM}) exten => s,4,SetCIDNum(87${CALLERIDNUM}) exten
2011 Jan 04
4
Do not disturbe
Hi all, I am trying to set up DND in my asterisk, I am using the following context: [app-naoperturbe] exten => *11,1,Set(DND=${DB(ddisturbe/${CALLERIDNUM})})exten => *11,2,GotoIf($["${DND}" = "YES"]?*11,3:*11,101)exten => *11,3,Set(DB(ddisturbe/${CALLERIDNUM})=NO)exten => *11,4,Playback(beep)exten => *11,5,Hangup()exten =>
2006 Mar 22
7
VERY IMPORTANT(TREAT WITH URGENCY)
Andrew D Kirch Indianapolis, United States Good day, I am Mr. Andrew D Kirch, a native of Indianpolis, United States and I am an Asterisk Hacker with the Summit Open Source Development Group. First and foremost,I apologized using this medium to reach you for a transaction/business of this magnitude, but this is due to Confidentiality and prompt access reposed on this medium. Be informed
2005 Mar 22
2
asterisk@home print incoming fax
*@home has this for it's incoming fax macro --- start snip --- [ext-fax] exten => in_fax,1,GotoIf($[${FAX_RX} = system]?2:analog_fax,1) exten => in_fax,2,Macro(faxreceive) exten => in_fax,3,system(tiff2ps -2eaz -w 8.5 -h 11 ${FAXFILE} | ps2pdf ${FAXFILE}.pdf) exten => in_fax,4,system(mime-construct --to ${EMAILADDR} --subject "Fax from ${CALLERIDNUM}
2007 Jan 04
1
bypass menu for certain numbers?
Hi All, I'm about to modify my menu to allow for certain callers to bypass my menu entirely, and just ring my phone. I don't need friends hearing my business menu all the time. So, my idea was to use my already enabled callerid asterisk database and lookup the callerid info from it, if it exists consider it a friend and send them to a direct dial context. If the callerid is new, not
2005 Jan 15
1
Re: Budgetone and MWI
asterisk-users-request@lists.digium.com is believed to have said: >Budgetone and MWI > >The message button can be programmed to dial an extension that checks >voicemail >exten => 160,1,Voicemailmain(${CALLERIDNUM}) > Thanks, this is what I was thinking about. Still, how do you get the BT to dial 160? In my Asterisk setting I have the same mailbox numbers reused for the
2008 Feb 13
2
[Linux/Python 2.4.2] Forking Python doesn't work
Hello When a call comes in, I'd like to fork a Python script that broadcasts a message so that users see the CID name + number pop up on their computer screen, and simultaneously ring their phones. The following script doesn't work as planned: It waits until the script ends before moving on to the next step, which is Dial(): =========== exten =>
2005 Sep 10
2
GotoIf Syntax to match first digits
how does a GotoIf-challenge look like to match e.g. only the first two digits? i want to strip the first two digits from an incoming pstn-call and add a zero instead so when i forward a call to a mobile the called party gets the correct number of the caller. at the moment, incoming calls from the austrian pstn are recognized as e.g. 43650123123 by asterisk, when i forward the call e.g. to a
2007 May 24
1
vmoutcall]
--> Perhaps someone can share how? First you need to give them the option of turning the feature on and off. I do it with the following: [callback-activate] ; *********************************************** ; Callback activate/deactivate. If this function ; is enabled and there is a call file in the form ; of ${EXTEN}.call, then Asterisk will call the ; phone number contained within the