<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Match Pattern: ^0([0-9]+)$<br>
    -d<br>
    <div class="moz-cite-prefix">On 2014-07-09 15:45, Rogier Banis
      wrote:<br>
    </div>
    <blockquote
      cite="mid:F1D82C35-23C9-4379-8B7A-85E2C3A21372@ningaloo.nl"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      Hello list,
      <div><br>
      </div>
      <div>On a peer i need to create a rewrite rule for the caller ID
        of the caller. In this case a call comes in to our PBX and gets
        forwarded to a trunk. The incoming callerid of the caller is
        like 0201111111. This needs to be rewritten to 31201111111</div>
      <div>In my rewrite rules for the trunk i created the following
        rule under outbound rewrite rules for caller:</div>
      <div><br>
      </div>
      <div>Match Pattern: ^(0[1-9]+)$</div>
      <div>Replacement pattern: 31\1</div>
      <div><br>
      </div>
      <div>As you might suspect this doesn’t work otherwise i wouldn’t
        be mailing this list ;)) The CallerID gets presented on the
        final receiver phone as +0201111111</div>
      <div><br>
      </div>
      <div>Can you please shine some light on this rewrite rule?</div>
      <div><br>
      </div>
      <div>Any help is highly appreciated.</div>
      <div><br>
        <div apple-content-edited="true">
          <div style="color: rgb(0, 0, 0); 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-text-stroke-width: 0px; word-wrap: break-word;
            -webkit-nbsp-mode: space; -webkit-line-break:
            after-white-space;"><font face="Myriad Pro"><span
                class="Apple-style-span" style="border-collapse:
                separate; border-spacing: 0px;"></span></font>
            <div><span class="Apple-style-span" style="border-collapse:
                separate; border-spacing: 0px;"><font face="Myriad Pro">With
                  best regards,<br class="Apple-interchange-newline">
                </font></span></div>
          </div>
          <span style="color: rgb(0, 0, 0); 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-text-stroke-width: 0px;"><span><font face="Myriad
                Pro"><br class="Apple-interchange-newline" style="color:
                  rgb(0, 0, 0); font-family: 'Myriad Pro'; font-size:
                  12px; 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-text-stroke-width: 0px;">
                <span style="color: rgb(0, 0, 0); font-family: 'Myriad
                  Pro'; font-size: 12px; 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-text-stroke-width: 0px;"><span><span><span><span><span><span><span><span><span><span><span><span><img
                                            apple-inline="yes"
                                            id="AF46B762-A2C3-40D1-B46D-9EED4A5C5071"
                                            apple-width="yes"
                                            apple-height="yes"
                                            src="cid:part1.01050402.08090800@sipwise.com"
                                            width="144" height="49"></span>
                                        <div style="color: rgb(0, 0, 0);
                                          font-family: 'Myriad Pro';
                                          font-size: 12px; 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-text-stroke-width:
                                          0px;"><span
                                            class="Apple-style-span"
                                            style="border-collapse:
                                            separate; border-spacing:
                                            0px;"><br
                                              class="Apple-interchange-newline">
                                            <br
                                              class="Apple-interchange-newline">
                                            <b>Rogier Banis</b></span></div>
                                        <div style="color: rgb(0, 0, 0);
                                          font-family: 'Myriad Pro';
                                          font-size: 12px; 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-text-stroke-width:
                                          0px;"><span
                                            class="Apple-style-span"
                                            style="border-collapse:
                                            separate; border-spacing:
                                            0px;"><b>CTO</b></span></div>
                                        <div style="color: rgb(0, 0, 0);
                                          font-family: 'Myriad Pro';
                                          font-size: 12px; 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-text-stroke-width:
                                          0px;"><span
                                            class="Apple-style-span"
                                            style="border-collapse:
                                            separate; border-spacing:
                                            0px;">Hoflaan 6<br>
                                            3956 EE Leersum<br>
                                            the Netherlands </span></div>
                                        <div style="color: rgb(0, 0, 0);
                                          font-family: 'Myriad Pro';
                                          font-size: 12px; 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-text-stroke-width:
                                          0px;"><span
                                            class="Apple-style-span"
                                            style="border-collapse:
                                            separate; border-spacing:
                                            0px;"><br>
                                            T. +3188 7777 500<br>
                                            F. +3188 7777 501</span></div>
                                        <div style="color: rgb(0, 0, 0);
                                          font-family: 'Myriad Pro';
                                          font-size: 12px; 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-text-stroke-width:
                                          0px;"><span
                                            class="Apple-style-span"
                                            style="border-collapse:
                                            separate; border-spacing:
                                            0px;"><br>
                                          </span></div>
                                        <div style="color: rgb(0, 0, 0);
                                          font-family: 'Myriad Pro';
                                          font-size: 12px; 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-text-stroke-width:
                                          0px;"><span
                                            class="Apple-style-span"
                                            style="border-collapse:
                                            separate; border-spacing:
                                            0px;">E. <a
                                              moz-do-not-send="true"
                                              href="mailto:rogier@ningaloo.nl">rogier@ningaloo.nl</a></span></div>
                                        <div style="color: rgb(0, 0, 0);
                                          font-family: 'Myriad Pro';
                                          font-size: 12px; 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-text-stroke-width:
                                          0px;"><span
                                            class="Apple-style-span"
                                            style="border-collapse:
                                            separate; border-spacing:
                                            0px;"><br>
                                          </span></div>
                                        <br
                                          class="Apple-interchange-newline"
                                          style="color: rgb(0, 0, 0);
                                          font-family: 'Myriad Pro';
                                          font-size: 12px; font-style:
                                          normal; font-variant: normal;
                                          font-weight: normal;
                                          letter-spacing: normal;
                                          line-height: normal; orphans:
                                          2; text-align: start;
                                          text-indent: 0px;
                                          text-transform: none;
                                          white-space: normal; widows:
                                          2; word-spacing: 0px;
                                          -webkit-text-stroke-width:
                                          0px;">
                                        <br
                                          class="Apple-interchange-newline"
                                          style="color: rgb(0, 0, 0);
                                          font-family: 'Myriad Pro';
                                          font-size: 12px; font-style:
                                          normal; font-variant: normal;
                                          font-weight: normal;
                                          letter-spacing: normal;
                                          line-height: normal; orphans:
                                          2; text-align: start;
                                          text-indent: 0px;
                                          text-transform: none;
                                          white-space: normal; widows:
                                          2; word-spacing: 0px;
                                          -webkit-text-stroke-width:
                                          0px;">
                                      </span></span></span></span></span></span></span></span></span></span></span></span></font></span></span></div>
        <font face="Myriad Pro">
        </font>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <div style="line-height:16px; margin:6px 0; padding:8px 8px 8px
        8px; border-top:1px #aeb1a6 dotted; border-bottom:1px #aeb1a6
        dotted; font-family: 'Lucida Sans', Lucida Grande, Verdana,
        Arial, Sans-Serif; font-size:11px; color:#555555;"> <strong
          style="color:#333333; text-transform:uppercase;
          font-size:10px;"> Dario D Busso </strong> <br>
        Operation Engineer
        <p> <a href="http://www.sipwise.com" style="color:rgb(0, 136,
            204) !important; text-decoration:none !important;
            border-bottom:1px dotted #AAA;"> Sipwise GmbH </a> , Campus
          21/Europaring F15<br>
          AT-2345 Brunn am Gebirge </p>
        <p> Phone:<br>
            office: <a href="callto:+4313012034" style="color:rgb(0,
            136, 204) !important; text-decoration:none !important;
            border-bottom:1px dotted #AAA;"> +43(0)1 301 2034 </a> <br>
            mobile: <a href="callto:+4369910981586" style="color:rgb(0,
            136, 204) !important; text-decoration:none !important;
            border-bottom:1px dotted #AAA;"> +43(0)699 10981586 </a> <br>
          Email:  <a href="mailto:dbusso@sipwise.com"
            style="color:rgb(0, 136, 204) !important;
            text-decoration:none !important; border-bottom:1px dotted
            #AAA;"> dbusso@sipwise.com </a> <br>
          Website:  <a href="http://www.sipwise.com"
            style="color:rgb(0, 136, 204) !important;
            text-decoration:none !important; border-bottom:1px dotted
            #AAA;"> www.sipwise.com </a> </p>
        <p>
          Particulars according Austrian Companies Code paragraph 14<br>
          "Sipwise GmbH“ - Europaring F15 – 2345 Brunn am Gebirge<br>
          FN:305595f, Commercial Court Vienna, ATU64002206
        </p>
      </div>
    </div>
  </body>
</html>