Displaying 1 result from an estimated 1 matches for "10digits".
Did you mean:
10digit
2006 Dec 01
1
Caller ID Rewrite
...red
in +country code <number> format. My service provider passes all
numbers, apart from UK numbers, to me in this format. Hence, UK number
lookups don't work correctly.
So onto the problem... I'm trying to write a quick on-liner which will
fix up incoming UK format numbers (0 + 10digits) into (44 + 9 digits).
I got as far as this:
exten => <incoming extension>,1,Set(foo=${IF(REGEX("^0[1-9][0-9]\{9\}$"
{CALLERID(number)})?Set(CALLERID(number)=44${CALLERID(number):1})})
The regex is correctly triggered, and the Set(CALLERID(number)= xxx )
method is called,...