similar to: GotoIf Problem

Displaying 20 results from an estimated 40000 matches similar to: "GotoIf Problem"

2008 Jan 26
3
GotoIf() on Auto-Attendant
Hello all, I'm planning to create a simple Auto-Attendant (IVR Menu) for my home PBX yet all callers from incoming (trunk) calls must only press the extension numbers from the [analog-ext] else will play the "pbx-invalid". How do you do that using the GotoIf() (or probably using the other applications) but will check if the numbers entered belongs to a specific context? Also, how
2007 Jan 11
4
Parked calls and the # key
I am perplexed by this so I how someone can help me out. On one of my servers the users began complaining that if they picked up a parked call they could not use the # key to transfer the call. This is a particualarly annoying issue since everyone has been taught to use #700 to park calls. At first I thought it was a DTMF issue with the polycom phones, since rebooting seemed to fix the problem.
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'
2010 Dec 29
2
GotoIf CALLERID(num)
I'm testing GotoIf($["${CALLERID(num) but I'm missing something as it is not working: [office-open] exten => s,1,Wait(1) exten => s,2,Answer() ; for Caller ID is 471-5665, always signal congestion: exten => s,3,GotoIf($["${CALLERID(num)}" = "4715665"]?4:6) exten => s,4,Playtones(congestion) exten => s,5,Congestion(5) exten =>
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
2011 Mar 03
11
mySQL connection testing
Does anybody know of a way to test whether a mySQL connection invoked from the dialplan is current or not? For example: extensions.conf =============== [context] exten => _X.,1,MYSQL(Connect connid localhost user pass db) exten => _X.,n,MYSQL(Query resultid ${connid} SELECT `something` FROM `table` WHERE `number` = ${EXTEN}) exten => _X.,n,MYSQL(Fetch foundRow ${resultid} something)
2006 Apr 07
2
gotoif
Here is a section of my dialplan (macro) exten => s,200,Wait(1) exten => s,201,read(holdopt|screen-onhold|1) exten => s,202,GotoIf($[${holdopt} = 1 ]?4) exten => s,203,GoTo(200) it's simple really it loops telling you the caller is on hold until you press 1 and then it sends you off to another area. The problem right now is that if the read() times out i get these warnings...
2006 Oct 10
10
Voicemail Press '0'
Crikey. I can't get this to work! Allegedly, you can press 0 while in the voicemail greeting and be dropped to the 'o' extension. For some reason, I can't get it to work. The 'docs' aren't clear about what context the o extension should be in. The voip wiki says "the context for the voicemail box that we're looking for in the dialplan for the jump to the
2007 Aug 17
3
Lock extension from asterisk
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all I am working in a new set up with Grandstream GXP-2000 handsets. I like those phone, but they lack a feature I need: the phone cannot be locked by the user. What I actually want is a user to be able to avoid someone else making calls from his phone without giving him access to SIP configuration access to the phone. i.e. let say I want user
2006 Apr 07
1
regexp in gotoif
Hello! this is a short one: in a gotoif-statement i would like to match a variable to a number, where the number could have digits from 2-6. asterisk only seems to be capable to match such a digit-range when used in the extension, but not in a regexp, at least the following query doesn't work: exten => _X.,1,GotoIf($[${EXTEN} : 234[2-6]]?jump:) obviously asterisk has a problem with
2009 Aug 27
3
Sticky Park
My company for various reasons has asked that I come up with a way to have previously parked calls be re-parked in the same parking slot. I have looked at setting up asterisk so that the receptionist chooses which slot to place a call, but I think there is an easier way. That is when I came up with the idea of "Sticky Park". Here is how it would work. A call would come in and
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
2007 Feb 22
1
GotoIf DURATION
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Helvetica, Arial, sans-serif">Hi,<br> <br> I am
2009 Oct 05
1
Drop calls when using Flash Operator Panel
Whenever I try to drag calls to the Parking Lot or On Hold, FOP would drop my calls. I have searched online and have found similar problem, such as the link below. I have tried their solution but still the FOP is not working correctly. I even installed the HUDLite server and is getting the same results. www.freepbx.org/forum/freepbx/users/flas...ot-transfering-calls Here is the log when I tried
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
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 =>
2012 Jun 17
1
Missing voicemail prompt beginning
Hello, I am using the voicemail module of asterisk. When I did some test calls from my mobile phone, sometimes the beginning of the prompt was missing, e.g. instead of something like "number 12345 not available" I was only hearing "345 not available". Verbose level 5 on the asterisk console didn't give me any hint on this, it only shows that playback of the prompt started
2009 Apr 14
2
MOH
Dears -How can I stop MOH when status of the dial is ringing and let the user hear the Ring Back Tone from the termination Gateway. Even I can see in the CLI debugging the status is ringing -my idea is to add music on hold stop when asterisk detect -- SIP/OPNS-096456c0 is ringing line In which script this line located? -- Executing [97130245612 at default:1]
2008 Jul 29
5
Callerid Woes
I am trying to setup one time caller id block on my system(activated when an incoming call matches *811XXXXXXXXXX), and I have had little to no luck. Could you take a look at my context/macro definition and help me figure out what I am missing? Here is my context for my dialplan: include=default plancomment=user-default
2011 Jul 08
11
New VirtualBox Beta Has PCI Pass-Through Support
Can you say a Virtualized Asterisk with a PRI card! http://www.phoronix.com/scan.php?page=news_item&px=OTY0OQ Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."