What's wrong with this?
exten => s,n,Set(CIDNUM=16505551212)
exten => s,n,Set(foo=${REGEX("^[0-9]+$" CIDNUM)})
This always returns 0, false. That isn't correct.
I also tried:
exten => s,n,Set(dollar=$)
exten => s,n,Set(foo=${REGEX("^[0-9]+${dollar}" CIDNUM)})
and that didn't work either. I am trying to use a regex to see if the
caller id contains numbers only.
Doug.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users