Displaying 1 result from an estimated 1 matches for "21245711".
Did you mean:
021245711
2008 Oct 20
1
a little regex help needed
I'm trying to set the callerid(name) to Office for all calls from the
main office.
exten =>s,n,Set(CALLERID(name)=${IF($[0${CALLERID(num)} =
0${REGEX("21245711*")} ] ? "Office":${CALLERID(name)} )})
The main office callerid's are all 212 457 11xx. But this statement
seems to match everything, including callerid(num)=""
What I'd expect is a callerid(num) of 2124571123 to generate an if test
of [02124571123 == 021245711...