<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi,<br>
That's described quite well in the Handbook, how you should manage
your RR.<br>
<br>
<br>
<br>
</tt>
<pre class="moz-signature" cols="72">--
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge
Office: +43(0)130120332
Email: <a class="moz-txt-link-abbreviated" href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>
Website: <a class="moz-txt-link-freetext" href="https://www.sipwise.com">https://www.sipwise.com</a>
</pre>
<div class="moz-cite-prefix">On 11/14/18 2:40 PM, Alessandro Romano
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:006e01d47c1f$95b03310$c1109930$@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;}
/* 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",serif;
color:black;}
tt
{mso-style-priority:99;
font-family:"Courier New",serif;}
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.PreformattatoHTMLCarattere
{mso-style-name:"Preformattato HTML Carattere";
mso-style-priority:99;
mso-style-link:"Preformattato HTML";
font-family:Consolas;
color:black;}
span.StileMessaggioDiPostaElettronica21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;}
span.StileMessaggioDiPostaElettronica22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;}
span.StileMessaggioDiPostaElettronica23
{mso-style-type:personal;
font-family:"Calibri",sans-serif;}
span.StileMessaggioDiPostaElettronica24
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;}
.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">Hi Daniel<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I need to call italian fixed and mobile
number with and without 0039, i need to send to sbc , with or
without the national prefix 0039 is not a problem<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When i call the international numbers i
need to send to sbc with 00< international prefix ><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If you want i can give you all my rewrite
roules.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">BR<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="mso-fareast-language:IT">Da:</span></b><span
style="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> mercoledì 14 novembre 2018 14.21<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] R: International Call,
problem with 00 on prefix<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",serif"><br>
<tt>depends what do you need to set for 39XX calls?</tt><br>
<tt>Assuming that you are correcly rewrinting the call to
E164 (when they come in), you need to rewrite 39xxxx E164
into a local or international format in the peering
outbound RR for callee.</tt><br>
<br>
<tt>So you can have</tt><br>
<br>
</span><br>
<tt><span style="font-size:10.0pt">^39([1-9][0-9]+)$ -->
\1 (this will rewrite E164 39 011 1234 into 011 1234)</span></tt><span
style="font-size:10.0pt;font-family:"Courier
New",serif"><br>
<br>
<br>
<tt>or you still may want to call numbers in international
format:</tt><br>
<br>
</span><br>
<tt><span style="font-size:10.0pt">^([1-9][0-9]+)$ -->
+\1 (this will rewrite ANY E164 into +CC AC SN) </span></tt><span
style="font-size:10.0pt;font-family:"Courier
New",serif"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</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>Head of Customer Support<o:p></o:p></pre>
<pre>Sipwise GmbH, Campus 21/Europaring F15<o:p></o:p></pre>
<pre>AT-2345 Brunn am Gebirge<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Office: +43(0)130120332<o:p></o:p></pre>
<pre>Email: <a href="mailto:dgrotti@sipwise.com" moz-do-not-send="true">dgrotti@sipwise.com</a><o:p></o:p></pre>
<pre>Website: <a href="https://www.sipwise.com" moz-do-not-send="true">https://www.sipwise.com</a><o:p></o:p></pre>
<div>
<p class="MsoNormal">On 11/14/18 2:14 PM, Alessandro Romano
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi Daniel,<o:p></o:p></p>
<p class="MsoNormal">i’ve created the rewrite roules for
outboud calls for calee<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">^39([0-9][0-9]+)$<o:p></o:p></p>
<p class="MsoNormal">\1<o:p></o:p></p>
<p class="MsoNormal">E.164 to Italia National<o:p></o:p></p>
<p class="MsoNormal">yes<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">^([1-9][0-9]+)$<o:p></o:p></p>
<p class="MsoNormal">00\1<o:p></o:p></p>
<p class="MsoNormal">E.164 to International<o:p></o:p></p>
<p class="MsoNormal">Yes<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Now i’ve the 00 on the internationall
calls, but i’ve a problem with italian mobile phones because
00 are added also in italian mobile phone numbers<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Can you help me to write rewrite roules
in correct way<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">BR<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="mso-fareast-language:IT">Da:</span></b><span
style="mso-fareast-language:IT"> Spce-user <a
href="mailto:spce-user-bounces@lists.sipwise.com"
moz-do-not-send="true"><spce-user-bounces@lists.sipwise.com></a>
<b>Per conto di </b>Daniel Grotti<br>
<b>Inviato:</b> mercoledì 14 novembre 2018 10.41<br>
<b>A:</b> <a
href="mailto:spce-user@lists.sipwise.com"
moz-do-not-send="true">spce-user@lists.sipwise.com</a><br>
<b>Oggetto:</b> Re: [Spce-user] International Call,
problem with 00 on prefix</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
Alessandro,</span></tt><span
style="font-size:10.0pt;font-family:"Courier
New",serif"><br>
<tt>The URI I see in the INVITE is not international
format: INVITE <a
href="mailto:sip:330183770101@185.29.248.37:5060;transport=udp"
moz-do-not-send="true">sip:330183770101@185.29.248.37:5060;transport=udp</a>
SIP/2.0</tt><br>
<br>
<tt>It looks like a E.164 format. The leading 00 or + is
missing (if you were calling +33xxx number).</tt><br>
<br>
<tt>BTW, what is exactly the problem. I don't get that.
The trace is partial, it shows a 183 and some PRACKs.</tt><br>
<br>
<tt>Cheers,</tt><br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Daniel Grotti<o:p></o:p></pre>
<pre>Head of Customer Support<o:p></o:p></pre>
<pre>Sipwise GmbH, Campus 21/Europaring F15<o:p></o:p></pre>
<pre>AT-2345 Brunn am Gebirge<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Office: +43(0)130120332<o:p></o:p></pre>
<pre>Email: <a href="mailto:dgrotti@sipwise.com" moz-do-not-send="true">dgrotti@sipwise.com</a><o:p></o:p></pre>
<pre>Website: <a href="https://www.sipwise.com" moz-do-not-send="true">https://www.sipwise.com</a><o:p></o:p></pre>
<div>
<p class="MsoNormal">On 11/14/18 10:33 AM, Alessandro Romano
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Dear All<o:p></o:p></p>
<p class="MsoNormal">When i make international calls<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I retreive: <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Nov 14 10:31:49 c5 proxy[1521]: NOTICE:
<script>: NAT-Reply - S=100 - Connecting M=INVITE
IP=91.214.72.26:58742 (127.0.0.1:5080)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI
UA='<null>'<o:p></o:p></p>
<p class="MsoNormal">Nov 14 10:31:50 c5 proxy[1525]: NOTICE:
<script>: NAT-Reply - S=183 - Session Progress
M=INVITE IP=91.214.72.26:58742 (127.0.0.1:5080)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI
UA='<null>'<o:p></o:p></p>
<p class="MsoNormal">Nov 14 10:31:50 c5 proxy[1523]: NOTICE:
<script>: New request on proxy - M=PRACK
R=sip:127.0.0.1:5080;prxroute=1 <a
href="mailto:F=sip:08118440101@sip.positivonet.it"
moz-do-not-send="true">F=sip:08118440101@sip.positivonet.it</a>
<a href="mailto:T=sip:00330183770101@sip.positivonet.it"
moz-do-not-send="true">T=sip:00330183770101@sip.positivonet.it</a>
IP=91.214.72.26:58742 (127.0.0.1:5060)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI UA='Bria
iOS release 3.9.7 stamp 38887.38893'<o:p></o:p></p>
<p class="MsoNormal">Nov 14 10:31:50 c5 proxy[1529]: NOTICE:
<script>: NAT-Reply - S=200 - OK M=PRACK
IP=91.214.72.26:58742 (127.0.0.1:5080)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI
UA='<null>'<o:p></o:p></p>
<p class="MsoNormal">Nov 14 10:31:50 c5 proxy[1520]: NOTICE:
<script>: NAT-Reply - S=183 - Session Progress
M=INVITE IP=91.214.72.26:58742 (127.0.0.1:5080)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI
UA='<null>'<o:p></o:p></p>
<p class="MsoNormal">Nov 14 10:31:50 c5 proxy[1527]: NOTICE:
<script>: New request on proxy - M=PRACK
R=sip:127.0.0.1:5080;prxroute=1 <a
href="mailto:F=sip:08118440101@sip.positivonet.it"
moz-do-not-send="true">F=sip:08118440101@sip.positivonet.it</a>
<a href="mailto:T=sip:00330183770101@sip.positivonet.it"
moz-do-not-send="true">T=sip:00330183770101@sip.positivonet.it</a>
IP=91.214.72.26:58742 (127.0.0.1:5060)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI UA='Bria
iOS release 3.9.7 stamp 38887.38893'<o:p></o:p></p>
<p class="MsoNormal">Nov 14 10:31:50 c5 proxy[1533]: NOTICE:
<script>: NAT-Reply - S=200 - OK M=PRACK
IP=91.214.72.26:58742 (127.0.0.1:5080)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI
UA='<null>'<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">But to my sbc used as peer the call is
without 00 to the international prefix as you can see in
the pcap file, captured on sbc<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">BR <o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT"><br>
<br>
<br>
</span><o:p></o:p></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"> </span><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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
</body>
</html>