<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<font face="monospace">Hi Loic,<br>
<br>
most probably you are missing some inbound callee rewriting rule
associated to the peer you are using to test the incoming calls.<br>
<br>
<br>
I suggest to do the following:<br>
<br>
1. increase log level of proxy service with the command:<br>
ngcp-loglevel proxy --set-verbose<br>
<br>
2. repeat the call getting the call-id of the incoming call.<br>
<br>
3. Grep the call in the proxy logs with the command:<br>
grep 'you-call-id-here' /var/log/ngcp/kamailio-proxy.log<br>
or using the tool<br>
ngcp-log-flow -c '</font><font face="monospace"><font
face="monospace">you-call-id-here</font>' -s proxy -p<br>
<br>
4. After that you can decrease the log level<br>
</font><font face="monospace"><font face="monospace">
ngcp-loglevel proxy --set-default<br>
<br>
<br>
Once you have the log you can check which rewriting rules are
applied and see if the resulting number matches one of the
primary number or alias number of the subscriber.<br>
<br>
<br>
If you still have problems you can post your log here (of course
removing all the sensitive information).<br>
<br>
<br>
Regards<br>
Marco<br>
<br>
<br>
</font></font>
<div class="moz-cite-prefix">On 30/09/21 23:07, [ EXT ] Loic Dube
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:YQBPR0101MB587904E0AAA5B3A975DA191CE4AA9@YQBPR0101MB5879.CANPRD01.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-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}@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:"Open Sans";}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}ol
{margin-bottom:0cm;}ul
{margin-bottom:0cm;}</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">Hello!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-CA">I’m running into an
issue with call routing with ngcp.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">I’m able to have calls
between subscribers and from a subscriber to a peer, however
I’m not able to have any incoming call.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">I’m using the call
routing test tool. Here’s what I’m doing<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoListParagraph"
style="margin-left:0cm;mso-list:l0 level1 lfo1"><span
lang="EN-CA">+15143121334 is a subscriber number<o:p></o:p></span></li>
<li class="MsoListParagraph"
style="margin-left:0cm;mso-list:l0 level1 lfo1"><span
lang="EN-CA">+15144976285 is an outside number<o:p></o:p></span></li>
</ul>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">I’m selecting a caller
peer and putting the subscriber number In the callee field
and the outside number in the caller field.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Here’s the Result I’m
getting<o:p></o:p></span></p>
<table class="MsoNormalTable"
style="background:white;border-collapse:collapse"
cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="width:75.0pt;padding:.75pt .75pt .75pt .75pt"
width="100">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA">caller:<o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Consolas;color:#DD1144;border:solid
#E1E1E8
1.0pt;padding:2.0pt;background:#F7F7F9;mso-fareast-language:FR-CA">15144976285</span><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA"><o:p></o:p></span></p>
</td>
<td style="width:75.0pt;padding:.75pt .75pt .75pt .75pt"
width="100">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA">callee:<o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Consolas;color:#DD1144;border:solid
#E1E1E8
1.0pt;padding:2.0pt;background:#F7F7F9;mso-fareast-language:FR-CA">15143121334</span><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="width:75.0pt;padding:.75pt .75pt .75pt .75pt"
width="100">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA">caller
in:<o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"><br>
</td>
<td style="width:75.0pt;padding:.75pt .75pt .75pt .75pt"
width="100">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA">callee
in:<o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"><br>
</td>
</tr>
<tr>
<td style="width:75.0pt;padding:.75pt .75pt .75pt .75pt"
width="100">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA">caller
out:<o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"><br>
</td>
<td style="width:75.0pt;padding:.75pt .75pt .75pt .75pt"
width="100">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA">callee
out:<o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"><br>
</td>
</tr>
<tr>
<td style="width:75.0pt;padding:.75pt .75pt .75pt .75pt"
width="100">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA">caller
type:<o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Consolas;color:#DD1144;border:solid
#E1E1E8
1.0pt;padding:2.0pt;background:#F7F7F9;mso-fareast-language:FR-CA">peer</span><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA"><o:p></o:p></span></p>
</td>
<td style="width:75.0pt;padding:.75pt .75pt .75pt .75pt"
width="100">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA">callee
type:<o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Consolas;color:#DD1144;border:solid
#E1E1E8
1.0pt;padding:2.0pt;background:#F7F7F9;mso-fareast-language:FR-CA">unknown</span><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span
style="display:none;mso-fareast-language:FR-CA"><o:p> </o:p></span></p>
<table class="MsoNormalTable"
style="background:white;border-collapse:collapse"
cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Open
Sans",sans-serif;color:#333333;mso-fareast-language:FR-CA">Log:<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"
style="margin-bottom:7.5pt;line-height:15.0pt;background:whitesmoke;word-break:break-all"><span
style="font-size:10.0pt;font-family:Consolas;color:#333333;mso-fareast-language:FR-CA">no
caller subscriber found.
<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Am I missing something?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Thanks!<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div style="line-height:16px; margin:6px 0; padding:8px 8px 8px
8px; border-top:1px #aeb1a6 dotted; border-bottom:1px #aeb1a6
dotted; font-family: 'Lucida Sans', Lucida Grande, Verdana,
Arial, Sans-Serif; font-size:11px; color:#555555;"> <strong
style="color:#333333; text-transform:uppercase;
font-size:10px;"> Marco Capetta </strong> <br>
Head Of VoIP Development Team
<p> <a href="http://www.sipwise.com" style="color:rgb(0, 136,
204) !important; text-decoration:none !important;
border-bottom:1px dotted #AAA;"> Sipwise GmbH </a> , Campus
21/Europaring F15<br>
AT-2345 Brunn am Gebirge </p>
<p> Phone: <a href="tel:+43130120444" style="color:rgb(0, 136,
204) !important; text-decoration:none !important;
border-bottom:1px dotted #AAA;"> +43(0)1 301 2044 </a> <br>
Email: <a href="mailto:mcapetta@sipwise.com"
style="color:rgb(0, 136, 204) !important;
text-decoration:none !important; border-bottom:1px dotted
#AAA;"> mcapetta@sipwise.com </a> <br>
Website: <a href="http://www.sipwise.com"
style="color:rgb(0, 136, 204) !important;
text-decoration:none !important; border-bottom:1px dotted
#AAA;"> www.sipwise.com </a> </p>
<p>
Particulars according Austrian Companies Code paragraph 14<br>
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge<br>
FN:305595f, Commercial Court Vienna, ATU64002206
</p>
</div>
</div>
</body>
</html>