<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thx Avi.<br>
      <br>
      miha<br>
      <br>
      Dne 7/31/2013 3:04 PM, pi&#353;e Avi Marcus:<br>
    </div>
    <blockquote
cite="mid:0000014034d4abf4-be93b5b9-179b-4002-b0e9-c4a0d0c6ff7f-000000@email.amazonses.com"
      type="cite">
      <div dir="ltr">You can do an extension in your dialplan to match:
        ^(\d+)\*(\d+)$
        <div>And if it matches, transfer to $1$2 to strip the * from the
          number.. that only works for this exact circumstance, though.</div>
        <div><br clear="all">
          <div>
            <div dir="ltr"><span
                style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div>
          </div>
          <div dir="ltr"><span
              style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small"><br>
            </span></div>
          <div class="gmail_quote">On Wed, Jul 31, 2013 at 3:45 PM, Miha
            <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:miha@softnet.si" target="_blank">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">
              <div text="#000000" bgcolor="#FFFFFF">
                <div>Avi sorry,<br>
                  <br>
                  I was looking at wrong palce. I need a manipulation
                  with destination number as some cerrier is sending
                  385*xxxxx, some are sending without * (385xxxx).<br>
                  <br>
                  I did two routes in lcr but from what I can see lcr
                  module does not look at *, for with * and without *
                  same route is used.<br>
                  <br>
                  What whout be the best way to deal with this?<br>
                  <br>
                  BR,<br>
                  Miha<br>
                  <br>
                  Dne 7/31/2013 2:24 PM, pi&#353;e Avi Marcus:<br>
                </div>
                <div>
                  <div class="h5">
                    <blockquote type="cite">
                      <div dir="ltr">If you only need to replace the *
                        with nothing, then try: /\*//
                        <div><span
                            style="font-family:Verdana,Arial,Helvetica,sans-serif">-Avi</span></div>
                        <div><font face="Verdana, Arial, Helvetica,
                            sans-serif"><br>
                          </font><br>
                          <div class="gmail_quote">On Wed, Jul 31, 2013
                            at 2:49 PM, Miha <span dir="ltr">&lt;<a
                                moz-do-not-send="true"
                                href="mailto:miha@softnet.si"
                                target="_blank">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>
                              I need a little help with regex for cid
                              manipulation in lcr.<br>
                              <br>
                              On wiki I can see that I can do it like
                              this: /search/replace/<br>
                              <br>
                              I am getting sometime number like:
                              385*60001264567 and sometimes without<br>
                              * (385*60001264567) (from different
                              carrier).<br>
                              <br>
                              How can I get rid of * with regex in LCR
                              table? I can see that row CID<br>
                              is for this manipulation.<br>
                              <br>
                              tnx<br>
                              miha<br>
                              <br>
                              <br>
                              <br>
_________________________________________________________________________<br>
                              Professional FreeSWITCH Consulting
                              Services:<br>
                              <a moz-do-not-send="true"
                                href="mailto:consulting@freeswitch.org"
                                target="_blank">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"
                                target="_blank">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>
                            </blockquote>
                          </div>
                          <br>
                        </div>
                      </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>
                </div>
              </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>
        </div>
      </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>