If you know for a fact that it&#39;s only a leading zero then you can use the variable manipulation features:<br><br><a href="http://wiki.freeswitch.org/wiki/Manipulating_Channel_Variables">http://wiki.freeswitch.org/wiki/Manipulating_Channel_Variables</a><br>
<br>-MC<br><br><div class="gmail_quote">On Wed, Feb 1, 2012 at 1:19 AM, Miha Zoubek <span dir="ltr">&lt;<a href="mailto:miha@softnet.si">miha@softnet.si</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
how can I strip destination number in my dialplan if the destination<br>
number is not in condition option.<br>
<br>
&lt;anti-action application=&quot;bridge&quot;<br>
data=&quot;sofia/external/386${sip_redirect_contact_user_0}@xxx.xxx.xxx.xxx&quot; /&gt;<br>
I need to stip leading zero from ${sip_redirect_contact_user_0} variable.<br>
<br>
Thanks!<br>
Miha<br>
<br>
<br>
--<br>
Best regards / Lep Pozdrav<br>
Miha Zoubek<br>
Softnet d.o.o.<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>