[Freeswitch-users] Striping destination number
Michael Collins
msc at freeswitch.org
Wed Feb 1 21:25:47 MSK 2012
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 at 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 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120201/caea0fa7/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list