<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Thonma,<br>
this is not a problem of Rewrting rules, but "Inbound Peering
Rules". Please check documentation for that.<br>
Please notice, as well, the log:<br>
<br>
</tt><br>
<tt><span lang="EN-US">Field 'to_domain' with value '93.189.171.93'
did not match pattern 'sip\.omnidat\.net'<br>
<br>
<br>
So the TO header is not accepted by your Inbound peering Rules
defined in your SIP Peering Group.<br>
<br>
Cheers,<br>
<br>
</span></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 02/15/2018 01:44 AM, Thomas Georg
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:VI1PR0402MB3616F06B84D3470E615038B8FBF40@VI1PR0402MB3616.eurprd04.prod.outlook.com">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
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;}
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;}
span.E-MailFormatvorlage18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-MailFormatvorlage19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-MailFormatvorlage21
{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 70.85pt 2.0cm 70.85pt;}
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 lang="EN-US">Hi list,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">with debug level 2 I got
the following output in kamailio-proxy.log (thanks to
Daniel for this hint):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Feb 15 01:07:39 spce
proxy[3215]: NOTICE: <script>: New request on proxy -
M=INVITE <a class="moz-txt-link-abbreviated" href="mailto:R=sip:+4971422289800@185.156.158.12:5060">R=sip:+4971422289800@185.156.158.12:5060</a>
<a class="moz-txt-link-abbreviated" href="mailto:F=sip:+49854711@93.189.171.91">F=sip:+49854711@93.189.171.91</a>
<a class="moz-txt-link-abbreviated" href="mailto:T=sip:+4971422289800@93.189.171.93:5060">T=sip:+4971422289800@93.189.171.93:5060</a>
IP=93.189.168.93:5060 (127.0.0.1:5060)
ID=521c-47c-11520180539-SS7_FRA1_1_1-0-93.189.171.91
UA='Dialogic-SIP/10.5.3.52851 SS7_FRA1_1_1 0'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Feb 15 01:07:39 spce
proxy[3215]: INFO: <script>: Load domain preferences
for callee - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:+4971422289800@185.156.158.12:5060">R=sip:+4971422289800@185.156.158.12:5060</a>
ID=521c-47c-11520180539-SS7_FRA1_1_1-0-93.189.171.91
UA='Dialogic-SIP/10.5.3.52851 SS7_FRA1_1_1 0'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Feb 15 01:07:39 spce
proxy[3215]: INFO: <script>: Clean domain preferences
for callee - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:+4971422289800@185.156.158.12:5060">R=sip:+4971422289800@185.156.158.12:5060</a>
ID=521c-47c-11520180539-SS7_FRA1_1_1-0-93.189.171.91
UA='Dialogic-SIP/10.5.3.52851 SS7_FRA1_1_1 0'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Feb 15 01:07:39 spce
proxy[3215]: NOTICE: <script>: Call from PSTN -
<a class="moz-txt-link-abbreviated" href="mailto:R=sip:+4971422289800@185.156.158.12:5060">R=sip:+4971422289800@185.156.158.12:5060</a>
ID=521c-47c-11520180539-SS7_FRA1_1_1-0-93.189.171.91
UA='Dialogic-SIP/10.5.3.52851 SS7_FRA1_1_1 0'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Feb 15 01:07:39 spce
proxy[3215]: INFO: <script>: Checking PSTN peer group
'2' - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:+4971422289800@185.156.158.12:5060">R=sip:+4971422289800@185.156.158.12:5060</a>
ID=521c-47c-11520180539-SS7_FRA1_1_1-0-93.189.171.91
UA='Dialogic-SIP/10.5.3.52851 SS7_FRA1_1_1 0'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Feb 15 01:07:39 spce
proxy[3215]: NOTICE: <script>: Field 'to_domain' with
value '93.189.171.93' did not match pattern
'sip\.omnidat\.net' -
<a class="moz-txt-link-abbreviated" href="mailto:R=sip:+4971422289800@185.156.158.12:5060">R=sip:+4971422289800@185.156.158.12:5060</a>
ID=521c-47c-11520180539-SS7_FRA1_1_1-0-93.189.171.91
UA='Dialogic-SIP/10.5.3.52851 SS7_FRA1_1_1 0'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Feb 15 01:07:39 spce
proxy[3215]: NOTICE: <script>: Rejecting call with 403
- invalid called party domain -
<a class="moz-txt-link-abbreviated" href="mailto:R=sip:+4971422289800@185.156.158.12:5060">R=sip:+4971422289800@185.156.158.12:5060</a>
ID=521c-47c-11520180539-SS7_FRA1_1_1-0-93.189.171.91
UA='Dialogic-SIP/10.5.3.52851 SS7_FRA1_1_1 0'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Feb 15 01:07:39 spce
proxy[3215]: INFO: <script>: Runtime for request
INVITE was 2562 usec -
ID=521c-47c-11520180539-SS7_FRA1_1_1-0-93.189.171.91<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">After that I built the
following rule to replace the ip address with the sip domain<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Match pattern:
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Replacement Pattern :
sip.omnidat.net<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Field:
Callee<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But I got the same
output in the log.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Any hints?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thomas<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><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="mso-fareast-language:DE">Von:</span></b><span
style="mso-fareast-language:DE"> Thomas Georg
<br>
<b>Gesendet:</b> Sonntag, 11. Februar 2018 10:16<br>
<b>An:</b> '<a class="moz-txt-link-abbreviated" href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a>' <<a
href="mailto:spce-user@lists.sipwise.com"
moz-do-not-send="true">spce-user@lists.sipwise.com</a>><br>
<b>Betreff:</b> Call Routing Verfication Test results in
Server error 500 (sometimes)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I am new to sipwise and
installed e fresh instance with the iso on my vmware server
(4 Cores, 4GB RAM, 128GB HDD).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I did all steps in the
manual and am able to call in and out if I dial the number
in E.164 format.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If I establish a call
with a local number e.g. 08154711 the outbound rule for the
callee doesn’t do anything.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I tried to test with the
call routing verification tool but sometimes it gives an
result (without using the number manipulation) but most of
the time I get an 500 Server error.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Any idea? Where are the
incident information stored on the filesystem to debug a
little bit by myself?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thomas<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</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="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
</body>
</html>