search for: staticnumb

Displaying 2 results from an estimated 2 matches for "staticnumb".

Did you mean: staticnumber
2005 Sep 05
1
Unexpected results with "While" and "EndWhile" applications
...redundant and ugly since the while point of While and EndWhile is to avoid the inelegance of GotoIf, I thought. If anyone can't come up with a better explanation, I'll open a ticket on this but I'd like to first make sure that this behavior is not expected. exten => 2231,1,Set(staticnumber=0) exten => 2231,n,Set(counter=1) exten => 2231,n,While($["${counter}"<"${staticnumber}"]) exten => 2231,n,NoOp("This part of the code should never run!") exten => 2231,n,Set(counter=$[${counter}+1]) exten => 2231,n,EndWhile exten => 2231,n,NoOp(...
2007 Aug 16
1
Set CALLERID(num) to a specific number only if ${CALLERID(num)} is not an NANP number
...very far. Has anyone done this and/or know of a doc? I haven't had any success searching. At this point, I have a very broken setup of: Set(CALLERID(num)=${IF(${REGEX("^(?:\([2-9]\d{2}\)\ ?|[2-9]\d{2}(?: \-?|\ ?))[2-9]\d{2}[- ]?\d{4}$" ${CALLERID(num)})}?${CALLERID (num)}:<staticNumber>) I'm sure I'm pretty far off - and I've been through many permutations of this so far. Any ideas? Thanks, Daryl