<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Guilherme,</p>
<p>Now I understand what you were trying to do. The trunk is used
for inbound and outbound calls to PSTN, not inbound from PBX. The
PBX must be configured on the user side, so either you register or
add a trusted source to the subscriber configuration. If this was
not the case everybody could make free calls!</p>
<p>To make registration work, for most PBXes, you need to set
e164_to_ruri in the preferences to get the CLI right. To allow
multiple CLI's from the PBX you also have to add them in the
allowed_clis field, or add a '*'.</p>
<p>Regards,</p>
<p>Henk Plessius<br>
</p>
On 11-Feb-20 20:31, Guilherme Lacerda wrote:<br>
<blockquote type="cite"
cite="mid:CAGbyvqunX7=moRODFa5-aT3jV0TzwSCxVcbxRmoQaesc8dyMKw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello,
<div><br>
</div>
<div>Problem solved. At "Subscriber preferences", I inserted PBX
IP in "Trusted Sources". Also I add my PBX IP in "Permanent
Registration". I had the same error 403 with "Permanent
registration" and none in "Trusted Sources".</div>
<div><br>
</div>
<div>Not a very intuitive setup.</div>
<div><br>
</div>
<div>
<div>Thanks all for your help and attention with this matter.</div>
<div><br>
</div>
<div>Regards,
<div>
<div dir="ltr" data-smartmail="gmail_signature">
<div dir="ltr">--<br>
<table
style="margin:0px;padding:0px;border:0px;outline:0px;font-size:14px;font-family:proxima-nova-1,proxima-nova-2,Tahoma,Helvetica,Verdana,sans-serif;vertical-align:baseline;border-spacing:0px;color:rgb(51,51,51);line-height:18.2000007629395px"
cellspacing="0" cellpadding="0" border="0">
<tbody
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<tr
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<td
style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:30px"> </td>
</tr>
<tr
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<td
style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:baseline;width:auto">
<div
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;line-height:0"><a
href="http://about.me/lacerdaguilherme?promo=email_sig"
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(43,130,173);text-decoration:none;display:inline-block"
target="_blank" moz-do-not-send="true">
<table
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;border-spacing:0px"
cellspacing="0" cellpadding="0"
border="0">
<tbody
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<tr
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<td
style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;width:auto;line-height:1"
valign="top" align="left"><img
alt="--"
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden"
moz-do-not-send="true" width="0"
height="0">
<div
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:bold;font-style:inherit;font-size:18px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;line-height:1;color:rgb(51,51,51)">Guilherme
Lacerda</div>
<div style="margin:3px 0px
0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:12px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline"><img
alt="http://"
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden"
moz-do-not-send="true"
width="0" height="0">about.me/lacerdaguilherme</div>
</td>
</tr>
<tr
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<td style="padding:8px 0px
0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;width:auto;line-height:1"
valign="top" align="left">
<div
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;text-align:right;height:4px;background-color:rgb(197,208,224)"><img
src="http://d13pix9kaak6wt.cloudfront.net/signature/colorbar.png" alt=""
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;float:right;display:block"
moz-do-not-send="true"
width="88" height="4"></div>
</td>
</tr>
</tbody>
</table>
</a> </div>
</td>
</tr>
<tr
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<td
style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:20px"> </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Em qui., 6 de fev. de 2020 às
05:06, Henk via Spce-user <<a
href="mailto:spce-user@lists.sipwise.com" target="_blank"
moz-do-not-send="true">spce-user@lists.sipwise.com</a>>
escreveu:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi
Guilherme,<br>
<br>
I noticed that has_inbound_rules=0 in your voip_peer_groups
table. So <br>
although it seems you defined the inbound rule, it's not
active. Please <br>
check the UI again, if you disable / enable the inbound rule,
<br>
has_inbound_rules should be set to 1.<br>
<br>
Regards,<br>
<br>
Henk Plessius<br>
<br>
VoipDigit<br>
<br>
On 05-Feb-20 19:10, Guilherme Lacerda wrote:<br>
> No matching inbound peer rule in any peering group,
rejecting call<br>
<br>
-- <br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank"
moz-do-not-send="true">Spce-user@lists.sipwise.com</a><br>
<a
href="http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
</body>
</html>