[Freeswitch-users] Strip digits from incoming caller id

georg at riseup.net georg at riseup.net
Wed Sep 19 01:20:13 MSD 2012


Hi Paul,

> Try this instead of the above:
>
> <action application="set"
> data="effective_caller_id_number=${regex(${caller_id_number}|^49([0-9]{9})$|0%1)}"/>
>
> You maybe want to adjust the {9} to reflect the correct number of digits
> in the national part of the caller ID.

Thank you. I've found this aswell in the wiki 2 minutes after my post, and
wanted to test first.
Everything works as expected! :)

Cheers,
Georg

P.S.: Before my post I googled aroung for sth. like two hours. Should I
wikify this somewhere (if yes, where?) to make it easier to find?




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list