How about:
exten => s,1,GotoIf($[${CALLERIDNUM} : "^(904|321|407|252)[0-9]{7}$"] ?
2:3)
exten => s,2,Goto(somewhere,s,1)
exten => s,3,DoWhateverElse
On Oct 15, 2004, at 7:21 AM, Ben Wern wrote:
That's pretty good..
I have a similar situation, where I need to match all the area codes
in a particu
That's pretty good..
I have a similar situation, where I need to match all the area codes in
a particular state like:
exten => _[904|321|407|252]XXX,1,Dial..
But it doesn't work. I can get it to work with something along the lines of:
exten -> _[904|321|407|352]X.,1,Dial
But I was