<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Courier New">Hi,</font><br>
    <font face="Courier New">in the peering's Rewrite Rules for Caller
      you have wrong rules, as well as in the RR for Callee.</font><br>
    <font face="Courier New">As I said you <b>*cannot*</b> use
      ${caller_*} variable in peering's RR. That's a local variable
      fetching the subscriber's AC, or CC value configured in the
      subscriber's preferences. It does not have any meaning for the
      peer.</font><br>
    <font face="Courier New"><br>
      In this case, number get rewritten into<font face="Courier New">
        003351402534 maybe because it is matching an old rewrite rule?<br>
        <br>
        The matching one is the 3rd one below, but it is flagged as
        Enabled=no, so it should not match. <br>
        Have you try to restart "proxy" process ? Maybe kamailio memory
        was not updated and it is running with old rewrite rules.<br>
        <br>
        In general, you should not rewrite the Caller number from the
        provider, as it is supposed to be in the proper format. <br>
        <br>
        Please try to restar proxy and see if the caller get rewritten
        with 00 again. If yes:<br>
        <br>
        1. You didn't paste here the correct RR associated to this peer<br>
        2. You can try to enable debug level 2 on proxy, to see what
        peering's rewrite rule is matching<br>
        <br>
        <br>
        <br>
      </font></font><br>
    <p class="MsoNormal"><a
href="https://sip.positivonet.it:1443/rewrite/3/rules?back=https%3A%2F%2Fsip.positivonet.it%3A1443%2Frewrite#collapse_icaller">Inbound
        Rewrite Rules for Caller</a> </p>
    <table class="MsoNormalTable" cellpadding="0" border="0">
      <thead><tr>
          <td style="padding:.75pt .75pt .75pt .75pt"><br>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal"><b>Match Pattern</b></p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal" style="text-align:center"
              align="center"><b>Replacement Pattern</b></p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal" style="text-align:center"
              align="center"><b>Description</b></p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal" style="text-align:center"
              align="center"><b>Enabled</b></p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt"><br>
          </td>
        </tr>
      </thead><tbody>
        <tr>
          <td style="padding:.75pt .75pt .75pt .75pt"><br>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">^(00|\+)([1-9][0-9]+)$</p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">\1</p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">International to E.164</p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">yes</p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt"><br>
          </td>
        </tr>
        <tr>
          <td style="padding:.75pt .75pt .75pt .75pt"><br>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">^0([1-9][0-9]+)$</p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">${caller_cc}0\1</p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">National to E.164</p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">yes</p>
          </td>
          <td style="padding:0cm 0cm 0cm 0cm"><br>
          </td>
        </tr>
        <tr>
          <td style="padding:.75pt .75pt .75pt .75pt"><br>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">^([1-9][0-9]+)$</p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">${caller_cc}${caller_ac}\1</p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">Local to E.164</p>
          </td>
          <td style="padding:.75pt .75pt .75pt .75pt">
            <p class="MsoNormal">no</p>
          </td>
        </tr>
      </tbody>
    </table>
    <tt></tt>
    <pre class="moz-signature" cols="72">




--
Daniel Grotti

Head of Customer Support                               Sipwise GmbH
e: <a class="moz-txt-link-abbreviated" href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>                               Europaring F15
t: +43(0)130120332                          A-2345 Brunn Am Gebirge
w: <a class="moz-txt-link-abbreviated" href="http://www.sipwise.com">www.sipwise.com</a>          FN: 305595f      FG: LG Wiener Neustadt
</pre>
    <div class="moz-cite-prefix">On 3/11/19 3:34 PM, Alessandro Romano
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:009c01d4d817$7d41d1e0$77c575a0$@rpeng.it">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Times New Roman \,serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Preformattato HTML Carattere";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.PreformattatoHTMLCarattere
        {mso-style-name:"Preformattato HTML Carattere";
        mso-style-priority:99;
        mso-style-link:"Preformattato HTML";
        font-family:Consolas;
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.StileMessaggioDiPostaElettronica21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.StileMessaggioDiPostaElettronica22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:windowtext">Hi is a call
            from pstn<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Here the ful
            log<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">I’ve some
            problems understanding rewrite roules<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">BR<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: New request
            on proxy - M=INVITE
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:F=sip:3351402534@telecomitalia.it;user=phone">F=sip:3351402534@telecomitalia.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:T=sip:0899948210@sip.positivonet.it;user=phone">T=sip:0899948210@sip.positivonet.it;user=phone</a>
            IP=185.29.248.37:5060 (127.0.0.1:5060)
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Call from
            PSTN - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Inbound
            peering group '1' matched, looking up peer host -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Selected
            peering host id '1' as inbound peer -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Dialog
            managed,
            lua_dlg_callid:[<a class="moz-txt-link-abbreviated" href="mailto:f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>]
            - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>:
            User-Provided CLI '3351402534' taken from From-User -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>:
            Network-Provided CLI '3351402534' taken from From-User -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Setting
            '<a class="moz-txt-link-abbreviated" href="mailto:3351402534@telecomitalia.it">3351402534@telecomitalia.it</a>' as initiating user-provided
            CLI - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Setting
            '<a class="moz-txt-link-abbreviated" href="mailto:3351402534@telecomitalia.it">3351402534@telecomitalia.it</a>' as initiating network-provided
            CLI - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Rewriting
            called party '0899948210' to '390899948210' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Callee was
            aliased with base '390899948210' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Callee is
            local, uuid='e17ad708-a7cb-4056-bb56-5824dde89e77' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@sip.positivonet.it;user=phone">R=sip:0899948210@sip.positivonet.it;user=phone</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Rewriting
            acc caller party '3351402534' to '003351402534' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Setting acc
            source-leg for uuid '0':
'0|3351402534|185.29.248.37|3351402534|||0|||0|call|185.29.248.37|1552314807.625995||||||||||||003351402534||'
            - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Setting acc
            destination-leg for uuid
            'e17ad708-a7cb-4056-bb56-5824dde89e77':
'0|||37|0899948210|e17ad708-a7cb-4056-bb56-5824dde89e77|0899948210|sip.positivonet.it|390899948210|sip.positivonet.it|0||||||||||||0899948210||'
            - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Rewriting
            first user-provided CLI '3351402534' to '003351402534' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Rewriting
            first network-provided CLI '3351402534' to '003351402534' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Setting
            caller_cli_userprov/caller_domain_userprov
            '<a class="moz-txt-link-abbreviated" href="mailto:003351402534@sip.positivonet.it">003351402534@sip.positivonet.it</a>' for upn -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Setting
            From to '<a class="moz-txt-link-rfc2396E" href="mailto:sip:003351402534@sip.positivonet.it"><sip:003351402534@sip.positivonet.it></a>' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Setting
            caller_cli_netprov/caller_domain_netprov
            '<a class="moz-txt-link-abbreviated" href="mailto:003351402534@sip.positivonet.it">003351402534@sip.positivonet.it</a>' for npn -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Setting PAI
            to '<a class="moz-txt-link-rfc2396E" href="mailto:sip:003351402534@sip.positivonet.it"><sip:003351402534@sip.positivonet.it></a>' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Setting
            P-Called-Party-ID
            '<a class="moz-txt-link-rfc2396E" href="mailto:sip:0899948210@sip.positivonet.it"><sip:0899948210@sip.positivonet.it></a>' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Appending
            P-D-URI '<a class="moz-txt-link-abbreviated" href="mailto:sip:lb@127.0.0.1;lr;socket=sip:31.7.144.145:5060">sip:lb@127.0.0.1;lr;socket=sip:31.7.144.145:5060</a>' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Forcing
            request via B2BUA 'sip:127.0.0.1:5080' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Mar 11
            15:33:27 c5 proxy[1556]: NOTICE: <script>: Request
            leaving server, D-URI='sip:127.0.0.1:5080' -
            <a class="moz-txt-link-abbreviated" href="mailto:R=sip:0899948210@91.214.72.26:5060">R=sip:0899948210@91.214.72.26:5060</a>
            <a class="moz-txt-link-abbreviated" href="mailto:ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1">ID=f515e00016f5-5c8671b7-3bdb3feb-10d956d8-1005@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
                  style="color:windowtext;mso-fareast-language:IT">Da:</span></b><span
                style="color:windowtext;mso-fareast-language:IT">
                Spce-user <a class="moz-txt-link-rfc2396E" href="mailto:spce-user-bounces@lists.sipwise.com"><spce-user-bounces@lists.sipwise.com></a> <b>Per
                  conto di </b>Daniel Grotti<br>
                <b>Inviato:</b> lunedì 11 marzo 2019 11.55<br>
                <b>A:</b> <a class="moz-txt-link-abbreviated" href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a><br>
                <b>Oggetto:</b> Re: [Spce-user] REWRITE ROULES<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi,</span></tt><span
            style="font-size:10.0pt;font-family:"Courier New""><br>
            <tt>what call is that?</tt><br>
            <tt>Call FROM PSTN ? Call TO PSTN ? </tt><br>
            <tt>It would be better to paste the full proxy log, and not
              only a section.</tt><br>
            <br>
            <tt>Also, please notice you *cannot* use ${caller_cc} and
              the other variables in the Rewrite Rules for a PEER! </tt><br>
            <tt>Please check documentation for that.</tt><b><br>
              <br>
              <br>
              <br>
              <br>
            </b></span><span style="mso-fareast-language:IT"><o:p></o:p></span></p>
        <pre>--<o:p></o:p></pre>
        <pre>Daniel Grotti<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>Head of Customer Support                               Sipwise GmbH<o:p></o:p></pre>
        <pre>e: <a href="mailto:dgrotti@sipwise.com" moz-do-not-send="true">dgrotti@sipwise.com</a>                               Europaring F15<o:p></o:p></pre>
        <pre>t: +43(0)130120332                          A-2345 Brunn Am Gebirge<o:p></o:p></pre>
        <pre>w: <a href="http://www.sipwise.com" moz-do-not-send="true">www.sipwise.com</a>          FN: 305595f      FG: LG Wiener Neustadt<o:p></o:p></pre>
        <div>
          <p class="MsoNormal">On 3/11/19 11:48 AM, Alessandro Romano
            wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Dear All,<o:p></o:p></p>
          <p class="MsoNormal">i’m very confused on revrite roules<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">i’ve this situation<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:55:54 c5 proxy[1561]: NOTICE:
            <script>: Setting acc destination-leg for uuid
            'd4e8bc38-c34a-4c99-839a-b73c88093c24':
'0|||8|0899358191|d4e8bc38-c34a-4c99-839a-b73c88093c24|0899358191|sip.positivonet.it|390899358191|sip.positivonet.it|0||||||||||||0899358191||'
            - <a href="mailto:R=sip:0899358191@91.214.72.26:5060"
              moz-do-not-send="true">R=sip:0899358191@91.214.72.26:5060</a>
            <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:55:54 c5 proxy[1561]: NOTICE:
            <script>: Rewriting first user-provided CLI
            '3351402534' to '003351402534' - <a
              href="mailto:R=sip:0899358191@91.214.72.26:5060"
              moz-do-not-send="true">R=sip:0899358191@91.214.72.26:5060</a>
            <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:55:54 c5 proxy[1561]: NOTICE:
            <script>: Rewriting first network-provided CLI
            '3351402534' to '003351402534' - <a
              href="mailto:R=sip:0899358191@91.214.72.26:5060"
              moz-do-not-send="true">R=sip:0899358191@91.214.72.26:5060</a>
            <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:55:54 c5 proxy[1561]: NOTICE:
            <script>: Setting
            caller_cli_userprov/caller_domain_userprov '<a
              href="mailto:003351402534@sip.positivonet.it"
              moz-do-not-send="true">003351402534@sip.positivonet.it</a>'
            for upn - <a
              href="mailto:R=sip:0899358191@91.214.72.26:5060"
              moz-do-not-send="true">R=sip:0899358191@91.214.72.26:5060</a>
            <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:55:54 c5 proxy[1561]: NOTICE:
            <script>: Setting From to '<a
              href="mailto:sip:003351402534@sip.positivonet.it"
              moz-do-not-send="true"><sip:003351402534@sip.positivonet.it></a>'
            - <a href="mailto:R=sip:0899358191@91.214.72.26:5060"
              moz-do-not-send="true">R=sip:0899358191@91.214.72.26:5060</a>
            <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:55:54 c5 proxy[1561]: NOTICE:
            <script>: Setting
            caller_cli_netprov/caller_domain_netprov '<a
              href="mailto:003351402534@sip.positivonet.it"
              moz-do-not-send="true">003351402534@sip.positivonet.it</a>'
            for npn - <a
              href="mailto:R=sip:0899358191@91.214.72.26:5060"
              moz-do-not-send="true">R=sip:0899358191@91.214.72.26:5060</a>
            <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:55:54 c5 proxy[1561]: NOTICE:
            <script>: Setting PAI to '<a
              href="mailto:sip:003351402534@sip.positivonet.it"
              moz-do-not-send="true"><sip:003351402534@sip.positivonet.it></a>'
            - <a href="mailto:R=sip:0899358191@91.214.72.26:5060"
              moz-do-not-send="true">R=sip:0899358191@91.214.72.26:5060</a>
            <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:55:54 c5 proxy[1561]: NOTICE:
            <script>: Setting P-Called-Party-ID '<a
              href="mailto:sip:0899358191@sip.positivonet.it"
              moz-do-not-send="true"><sip:0899358191@sip.positivonet.it></a>'
            - <a href="mailto:R=sip:0899358191@91.214.72.26:5060"
              moz-do-not-send="true">R=sip:0899358191@91.214.72.26:5060</a>
            <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:55:54 c5 proxy[1561]: NOTICE:
            <script>: Appending P-D-URI '<a
              href="mailto:sip:lb@127.0.0.1;lr;socket=sip:31.7.144.145:5060"
              moz-do-not-send="true">sip:lb@127.0.0.1;lr;socket=sip:31.7.144.145:5060</a>'
            - <a href="mailto:R=sip:0899358191@91.214.72.26:5060"
              moz-do-not-send="true">R=sip:0899358191@91.214.72.26:5060</a>
            <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:55:54 c5 proxy[1561]: NOTICE:
            <script>: Forcing request via B2BUA
            'sip:127.0.0.1:5080' - <a
              href="mailto:R=sip:0899358191@91.214.72.26:5060"
              moz-do-not-send="true">R=sip:0899358191@91.214.72.26:5060</a>
            <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:55:54 c5 proxy[1561]: NOTICE:
            <script>: Request leaving server,
            D-URI='sip:127.0.0.1:5080' - <a
              href="mailto:R=sip:0899358191@91.214.72.26:5060"
              moz-do-not-send="true">R=sip:0899358191@91.214.72.26:5060</a>
            <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='TELES-SBC'<o:p></o:p></p>
          <p class="MsoNormal">Mar 11 10:56:14 c5 proxy[1561]: NOTICE:
            <script>: New request on proxy - M=ACK
            R=sip:127.0.0.1:5080;prxroute=1 <a
              href="mailto:F=sip:3351402534@telecomitalia.it;user=phone"
              moz-do-not-send="true">F=sip:3351402534@telecomitalia.it;user=phone</a>
            <a
              href="mailto:T=sip:0899358191@sip.positivonet.it;user=phone"
              moz-do-not-send="true">T=sip:0899358191@sip.positivonet.it;user=phone</a>
            IP=185.29.248.37:5060 (127.0.0.1:5060) <a
              href="mailto:ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1"
              moz-do-not-send="true">ID=f515e00016f5-5c8630a9-bb6f630-2c2e8048-f7b@127.0.0.1</a>
            UA='<null>'<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">The from field is 003351402534 , must be
            00393351402534<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Current config<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Rewrite roule on peering<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><a
href="https://sip.positivonet.it:1443/rewrite/3/rules?back=https%3A%2F%2Fsip.positivonet.it%3A1443%2Frewrite#collapse_icaller"
              moz-do-not-send="true">Inbound Rewrite Rules for Caller</a>
            <o:p></o:p></p>
          <table class="MsoNormalTable" cellpadding="0" border="0">
            <thead><tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><b>Match Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Replacement Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Description</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Enabled</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
            </thead><tbody>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^(00|\+)([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">International to E.164<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^0([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">${caller_cc}0\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">National to E.164<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:0cm 0cm 0cm 0cm"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">${caller_cc}${caller_ac}\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">Local to E.164<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">no<o:p></o:p></p>
                </td>
                <td style="padding:0cm 0cm 0cm 0cm"><br>
                </td>
              </tr>
            </tbody>
          </table>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><a
href="https://sip.positivonet.it:1443/rewrite/3/rules?back=https%3A%2F%2Fsip.positivonet.it%3A1443%2Frewrite#collapse_icallee"
              moz-do-not-send="true">Inbound Rewrite Rules for Callee</a>
            <o:p></o:p></p>
          <table class="MsoNormalTable" cellpadding="0" border="0">
            <thead><tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><b>Match Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Replacement Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Description</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Enabled</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
            </thead><tbody>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^(00|\+)([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">\2<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">International to E.164<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^0([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">${caller_cc}390\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">National to E.164<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">${caller_cc}${caller_ac}\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">Local to E.164<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">no<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="font-size:10.0pt;font-family:"Times
                      New Roman ,serif",serif"> </span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"> <o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"> <o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"> <o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"> <o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"> <o:p></o:p></p>
                </td>
              </tr>
            </tbody>
          </table>
          <p class="MsoNormal"><a
href="https://sip.positivonet.it:1443/rewrite/3/rules?back=https%3A%2F%2Fsip.positivonet.it%3A1443%2Frewrite#collapse_ocaller"
              moz-do-not-send="true">Outbound Rewrite Rules for Caller</a>
            <o:p></o:p></p>
          <table class="MsoNormalTable" cellpadding="0" border="0">
            <thead><tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Match Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Replacement Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Description</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Enabled</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
            </thead><tbody>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^39([0-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">E.164 to Italia National<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">00\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">E.164 to International<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="font-size:10.0pt;font-family:"Times
                      New Roman ,serif",serif"> </span><o:p></o:p></p>
                  <p class="MsoNormal"><span
                      style="font-size:10.0pt;font-family:"Times
                      New Roman ,serif",serif"> </span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"> <o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"> <o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"> <o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"> <o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"> <o:p></o:p></p>
                </td>
              </tr>
            </tbody>
          </table>
          <p class="MsoNormal"><a
href="https://sip.positivonet.it:1443/rewrite/3/rules?back=https%3A%2F%2Fsip.positivonet.it%3A1443%2Frewrite#collapse_ocallee"
              moz-do-not-send="true">Outbound Rewrite Rules for Callee</a>
            <o:p></o:p></p>
          <table class="MsoNormalTable" cellpadding="0" border="0">
            <thead><tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Match Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Replacement Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Description</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Enabled</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
            </thead><tbody>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^39([0-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">E.164 to Italia National<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^39(3[1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">E.164 to Italian MOBILE<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">00\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">E.164 to International<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
            </tbody>
          </table>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Rewrite roule for domain<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><a
href="https://sip.positivonet.it:1443/rewrite/1/rules?back=https%3A%2F%2Fsip.positivonet.it%3A1443%2Frewrite#collapse_icaller"
              moz-do-not-send="true">Inbound Rewrite Rules for Caller</a>
            <o:p></o:p></p>
          <table class="MsoNormalTable" cellpadding="0" border="0">
            <thead><tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Match Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Replacement Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Description</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Enabled</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
            </thead><tbody>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^(00|\+)([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">International to E.164<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^0([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">${caller_cc}0\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">National to E.164<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">${caller_cc}${caller_ac}\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">Local to E.164<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">no<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
            </tbody>
          </table>
          <p class="MsoNormal"> <o:p></o:p></p>
          <table class="MsoNormalTable" cellpadding="0" border="0">
            <thead><tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b><span
                        style="mso-fareast-language:IT">Match Pattern</span></b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b><span
                        style="mso-fareast-language:IT">Replacement
                        Pattern</span></b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b><span
                        style="mso-fareast-language:IT">Description</span></b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b><span
                        style="mso-fareast-language:IT">Enabled</span></b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
            </thead><tbody>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">^(00|\+)([1-9][0-9]+)$</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">\2</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">International to
                      E.164</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">yes</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">^0([1-9][0-9]+)$</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">${caller_cc}0\1</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">National to E.164</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">yes</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">^3([1-9][0-9]+)$</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">${caller_cc}3\1</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">National Mobile to
                      E.164</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">yes</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">^([1-9][0-9]+)$</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">${caller_cc}${caller_ac}\1</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">Local to E.164</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal"><span
                      style="mso-fareast-language:IT">no</span><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
            </tbody>
          </table>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><a
href="https://sip.positivonet.it:1443/rewrite/1/rules?back=https%3A%2F%2Fsip.positivonet.it%3A1443%2Frewrite#collapse_ocaller"
              moz-do-not-send="true">Outbound Rewrite Rules for Caller</a>
            <o:p></o:p></p>
          <table class="MsoNormalTable" cellpadding="0" border="0">
            <thead><tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Match Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Replacement Pattern</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Description</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal" style="text-align:center"
                    align="center"><b>Enabled</b><o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
            </thead><tbody>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^39([0-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">E.164 to Italia National<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
              <tr>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">^([1-9][0-9]+)$<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">00\1<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">E.164 to International<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt">
                  <p class="MsoNormal">yes<o:p></o:p></p>
                </td>
                <td style="padding:.75pt .75pt .75pt .75pt"><br>
                </td>
              </tr>
            </tbody>
          </table>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><span style="mso-fareast-language:IT"><br>
              <br>
              <o:p></o:p></span></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>Spce-user mailing list<o:p></o:p></pre>
          <pre><a href="mailto:Spce-user@lists.sipwise.com" moz-do-not-send="true">Spce-user@lists.sipwise.com</a><o:p></o:p></pre>
          <pre><a href="https://lists.sipwise.com/listinfo/spce-user" moz-do-not-send="true">https://lists.sipwise.com/listinfo/spce-user</a><o:p></o:p></pre>
        </blockquote>
        <p class="MsoNormal"><span style="mso-fareast-language:IT"><o:p> </o:p></span></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>