<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 03/14/2012 08:45 AM, Michael Collins wrote:
<blockquote
cite="mid:CAKzWOxWL2byedx_LYR9erUTDL0JXiFqp5XVbcSE9Zg3SvKLQ1Q@mail.gmail.com"
type="cite">Try this:<br>
<br>
<action application="set" data="my_number=${regex <a
moz-do-not-send="true" href="mailto:18005551212@tf.voipmich.com">18005551212@tf.voipmich.com</a>|^(\d+)|%1}"/><br>
<br>
Also, you may need 'inline="true"' depending on when you need the
value that ends up in ${my_number}.<br>
<br>
-MC<br>
<br>
<div class="gmail_quote">On Tue, Mar 13, 2012 at 12:39 AM, Miha
Zoubek <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:miha@softnet.si">miha@softnet.si</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi @Brian,<br>
<br>
I was looking at Enum.conf but having problem with modifying
it.<br>
<br>
<small><route service="E2U+SIP" regex="sip:(.*)"
replace="sofia/internal/$1"/></small><br>
<br>
I can remove <small>sofia/internal/ </small>and Enum will
return just <a moz-do-not-send="true"
href="mailto:18005551212@tf.voipmich.com" target="_blank">18005551212@tf.voipmich.com</a>.<br>
<br>
What is the best why to get rid of @<a
moz-do-not-send="true" href="http://tf.voipmich.com"
target="_blank">tf.voipmich.com</a> as I need only number?<br>
<br>
I was trying to trim it like exp. {<a moz-do-not-send="true"
href="mailto:18005551212@tf.voipmich.com:10:10"
target="_blank">18005551212@tf.voipmich.com:10:10</a>} but
this is not working properly as length of number change.<br>
<br>
Thanks!<br>
<br>
Regards,<br>
Miha<br>
<span
style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span
style="font-size:10px"><br>
</span></span><br>
<br>
<br>
<br>
<br>
On 03/08/2012 04:10 PM, Brian West wrote:
<blockquote type="cite">or modify enum.conf to only give you
the numer?
<div><br>
</div>
<div>/b</div>
<div><br>
<div>
<div>On Mar 8, 2012, at 4:54 AM, Miha Zoubek wrote:</div>
<br>
<blockquote type="cite"><span
style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span
style="font-size:10px">Hi,<br>
<br>
how can I strip this<span> </span><a
moz-do-not-send="true"
href="mailto:sofia/internal/18005551212@tf.voipmich.com"
target="_blank">sofia/internal/18005551212@tf.voipmich.com</a>,
so that I would have only number <a
moz-do-not-send="true" href="tel:18005551212"
value="+18005551212" target="_blank">18005551212</a>?<br>
<br>
This return enum.<br>
<br>
<br>
Thanks!<br>
Miha</span></span></blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
@MC,<br>
<br>
thanks! IT works:)<br>
<br>
Regards,<br>
Miha<br>
</body>
</html>