<html dir="ltr">
<head>
<!-- Template generated by Exclaimer Mail Disclaimers on 10:57:15 Monday, 24 August 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</style><style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Verdana}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
strong
        {color:black}
code
        {font-family:"Courier New"}
span.StileMessaggioDiPostaElettronica17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
p.title3, li.title3, div.title3
        {margin-top:7.5pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        font-size:13.5pt;
        font-family:"Times New Roman",serif;
        color:#006600}
.MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:70.85pt 2.0cm 2.0cm 2.0cm}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body lang="IT" link="#0563C1" vlink="#954F72" fpstyle="1" ocsi="0">
<p class="ImprintUniqueID"></p>
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><span style="font-size: 13.3333330154419px;">Hi Alessandro</span>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">What you want is the following re-write rule;</div>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">Inbound Callee</div>
<div style="font-size: 13.3333330154419px;"><span style="color: rgb(51, 51, 51); font-family: 'Open Sans', arial, sans-serif; font-size: 12px; line-height: 20px; background-color: rgb(245, 245, 245);">^(00|\+)([1-9][0-9][0-9][0-9]+)$<br>
Replacement: \2</span></div>
<div style="font-size: 13.3333330154419px;"><font color="#333333" face="Open Sans, arial, sans-serif"><span style="font-size: 12px; line-height: 20px;">Description: International to E164</span></font></div>
<div style="font-size: 13.3333330154419px;"><font color="#333333" face="Open Sans, arial, sans-serif"><span style="font-size: 12px; line-height: 20px;"><br>
</span></font></div>
<div style="font-size: 13.3333330154419px;"><font color="#333333" face="Open Sans, arial, sans-serif"><span style="font-size: 12px; line-height: 20px;">You then need to apply your re-write rule to your domain.</span></font></div>
<div style="font-size: 13.3333330154419px;"><font color="#333333" face="Open Sans, arial, sans-serif"><span style="font-size: 12px; line-height: 20px;">This rule will then make calls from the Subscriber (on the applied Domain) to SIPWise into the E164 format.</span></font></div>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">Cheers,</div>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">Greg</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px"></div>
</div>
<p></p>
<p class="ImprintUniqueID"><font size="2" face="Calibri"></font> </p>
<strong>
<p class="ImprintUniqueID"><font style="font-family:Calibri;font-size:10pt;color:Black;font-weight:bold;">Greg</font><font color="black" size="2" face="Calibri"> </font><font style="font-family:Calibri;font-size:10pt;color:Black;">Lipschitz</font><font color="black" size="2" face="Calibri"> |
</font><font style="font-family:Calibri;font-size:10pt;color:Black;font-weight:bold;">Director</font><font color="black" size="2" face="Calibri"> |
</font><font style="font-family:Calibri;font-size:10pt;color:Black;">The Summit Group</font></p>
</strong>
<p class="ImprintUniqueID"><font size="2" face="Calibri">E: </font><span style="font-family:Calibri;font-size:10pt;"><a href="mailto:Greg@thesummitgroup.com.au" title="Click to send email to Greg Lipschitz" target="" style="font-family:Calibri;font-size:10pt;"><span style="font-family:Calibri; font-size:10pt;">Greg@thesummitgroup.com.au</span></a></span><font size="2" face="Calibri"> | W:
<a href="http://www.thesummitgroup.com.au" title="" target="" style="">www.thesummitgroup.com.au</a></font></p>
<p class="ImprintUniqueID"><font size="2" face="Calibri">The Summit Group (Australia) Pty Ltd | P: </font><font style="font-family:Calibri;font-size:10pt;">1300 049 749</font><font size="2"><font face="Calibri"> | Level 1, 39 Railway Road, Blackburn  VIC  3130<br>
The Summit Group (USA) LLC | P: 321 216 3844 | Suite 1003, 364E Main Street, Middletown  DE 19709<br>
</font><font face="Calibri">Postal:      P.O. Box 3225, Doncaster East  VIC  3109</font></font></p>
<p class="ImprintUniqueID"><font size="2" face="Calibri"></font> </p>
<p class="ImprintUniqueID"><font size="2" face="Calibri">Follow us on </font><a href="http://www.facebook.com/thesummitgroup/"><font size="2" face="Calibri">Facebook</font></a><font size="2" face="Calibri"> |
</font><a href="http://www.linkedin.com/company/1942329"><font size="2" face="Calibri">LinkedIn</font></a><font size="2" face="Calibri"> |
</font><a href="http://twitter.com/summitgroupau/"><font size="2" face="Calibri">Twitter</font></a><em><strong><br>
</strong></em></p>
<p class="ImprintUniqueID"></p>
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF770473" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Spce-user [spce-user-bounces@lists.sipwise.com] on behalf of Alessandro Bolletta [alessandro@mediaspot.net]<br>
<b>Sent:</b> Monday, 24 August 2015 8:45 PM<br>
<b>To:</b> spce-user@lists.sipwise.com<br>
<b>Subject:</b> [Spce-user] Strip leading prefix on outbound calls<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal">i’m following the documentation in order to get 00 or + from international calls stripped for the callee on outbound calls.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I tried this and many other rules but none of them is actually working:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b><span style="font-size:13.5pt; font-family:"Verdana",sans-serif; color:black">Strip leading
</span></b><b><span style="font-size:10.0pt; font-family:"Courier New"; color:black">00</span></b><b><span style="font-size:13.5pt; font-family:"Verdana",sans-serif; color:black"> or
</span></b><b><span style="font-size:10.0pt; font-family:"Courier New"; color:black">+</span></b><span style="font-size:13.5pt; font-family:"Verdana",sans-serif; color:#006600"></span></p>
<p class="MsoNormal" style="margin-left:37.5pt; text-indent:-18.0pt"><span style="font-size:10.0pt; font-family:Symbol; color:black"><span style="">·<span style="font:7.0pt "Times New Roman"">       
</span></span></span><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black">Match Pattern:
</span><span style="font-size:10.0pt; font-family:"Courier New"; color:black">^(00|\+)([1-9][0-9]+)$</span><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black">
</span></p>
<p class="MsoNormal" style="margin-left:37.5pt; text-indent:-18.0pt"><span style="font-size:10.0pt; font-family:Symbol; color:black"><span style="">·<span style="font:7.0pt "Times New Roman"">       
</span></span></span><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black">Replacement Pattern:
</span><span style="font-size:10.0pt; font-family:"Courier New"; color:black">\2</span><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black">
</span></p>
<p class="MsoNormal" style="margin-left:37.5pt; text-indent:-18.0pt"><span style="font-size:10.0pt; font-family:Symbol; color:black"><span style="">·<span style="font:7.0pt "Times New Roman"">       
</span></span></span><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black">Description:
</span><span style="font-size:10.0pt; font-family:"Courier New"; color:black">International to E.164</span><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black">
</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black">So, i need that a call towards a number like this 0039075802849, where 0039 is the Italy international prefix, is presented to the peer like this 39075802849.</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black">How can I do it?</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black">Thanks in advance,</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Verdana",sans-serif; color:black">Alessandro</span></p>
</div>
</div>
</div>
</div>
<p></p>
<p><font size="2" face="Calibri"></font></p>
<p><font size="2" face="Calibri"></font></p>

</body>
</html>