<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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 class="moz-txt-link-abbreviated" href="mailto:18005551212@tf.voipmich.com">18005551212@tf.voipmich.com</a>.<br>
<br>
What is the best why to get rid of @tf.voipmich.com as I need only
number?<br>
<br>
I was trying to trim it like exp.
{<a class="moz-txt-link-abbreviated" href="mailto:18005551212@tf.voipmich.com:10:10">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 class="Apple-style-span" style="border-collapse: separate;
font-family: Helvetica; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
font-size: medium; "><span class="Apple-style-span"
style="font-size: 10px; "><br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/18005551212@tf.voipmich.com"></a></span></span><br>
<br>
<br>
<br>
<br>
On 03/08/2012 04:10 PM, Brian West wrote:
<blockquote
cite="mid:73D50A0D-B8C3-4EB2-91A5-6B2C76C82907@freeswitch.org"
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 class="Apple-interchange-newline">
<blockquote type="cite"><span class="Apple-style-span"
style="border-collapse: separate; font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; "><span class="Apple-style-span"
style="font-size: 10px; ">Hi,<br>
<br>
how can I strip this<span class="Apple-converted-space"> </span><a
moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/18005551212@tf.voipmich.com">sofia/internal/18005551212@tf.voipmich.com</a>,
so that I would have only number 18005551212?<br>
<br>
This return enum.<br>
<br>
<br>
Thanks!<br>
Miha</span></span></blockquote>
</div>
<br>
</div>
<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>
<br>
</body>
</html>