If you know for a fact that it's only a leading zero then you can use the variable manipulation features: http://wiki.freeswitch.org/wiki/Manipulating_Channel_Variables -MC On Wed, Feb 1, 2012 at 1:19 AM, Miha Zoubek <miha@softnet.si> wrote:
Hi,
how can I strip destination number in my dialplan if the destination number is not in condition option.
<anti-action application="bridge" data="sofia/external/386${sip_redirect_contact_user_0}@xxx.xxx.xxx.xxx" /> I need to stip leading zero from ${sip_redirect_contact_user_0} variable.
Thanks! Miha
-- Best regards / Lep Pozdrav Miha Zoubek Softnet d.o.o.
_________________________________________________________________________ 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