[Asterisk-Users] GotoIf in Stable 1.0.4
Mark Halverson
mark at opbx.com
Wed Apr 20 12:58:33 MST 2005
I have unlimited local calling on my cell phone provider but not long
distance; so I wanted to create authentication based on me calling in and
authenticating based on the callerid of my cell phone.
Here is what I tried based on the wiki:
exten => s,1,answer
exten => s,2,GotoIf($[${CALLERIDNUM}="xxxxxxxxxx"]?4
exten => s,3,hangup
exten => s,4, ; here I am going create "please enter the number you want to
dial"…then have * dial out on a sip or iax provider...
But I keep getting the error…..
Apr 20 12:59:55 WARNING[4395]: pbx.c:1291 pbx_extension_helper: No
application 'GotoIf($[${CALLERIDNUM}="xxxxxxxxxx"]?4'
Has GotoIF been removed or something?
-Mark
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.19 - Release Date: 4/20/2005
More information about the asterisk-users
mailing list