We prefer not to store same info in multiple places unless there's no elegant way around it. In this case you're fine just to put this tidbit into both pages. -MC On Tue, Sep 18, 2012 at 2:46 PM, <georg@riseup.net> wrote:
Hi,
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
Allright, will put it there. Is it undesired to store the same information twice? Because if not, I would also add it to the dialplan examples, maybe next to [1].
Cheers, Georg
[1]
http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Example_3:_Stripping...
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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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