Nice!
I didn't know what dialing rules may apply to his location, Your code does
look like an improvement on mine tho.
I love the REGEX function.
Even better, if the first 4 digits are "0049", you could replace them with
> "0"
> as though it was an inland call:
>
> ExecIf(REGEX("^0049."
> ${CALLERID(NUM)})?Set(CALLERID(num)=0${CALLERID(NUM):4}))
>
> --
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch manure,
program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
---Heinlein
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users