[Freeswitch-users] Strip digits from incoming caller id

Michael Collins msc at freeswitch.org
Wed Sep 19 01:33:02 MSD 2012


Where on the wiki were you looking for this information? It sounds like it
is related to caller id handling. My guess is that the best place to put it
would be:
http://wiki.freeswitch.org/wiki/Variable_effective_caller_id_number

if you put it inside of the <onlyinclude> tags then it will also display on
the main channel variables page.

-MC

On Tue, Sep 18, 2012 at 2:20 PM, <georg at riseup.net> wrote:

> 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?
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120918/8656c6f4/attachment.html 


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