[Spce-user] 403 Forbidden to outbound calls
henk at voipdigit.nl
Wed Feb 12 03:03:54 EST 2020
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!
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 '*'.
On 11-Feb-20 20:31, Guilherme Lacerda wrote:
> 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".
> Not a very intuitive setup.
> Thanks all for your help and attention with this matter.
> Guilherme Lacerda
> Em qui., 6 de fev. de 2020 às 05:06, Henk via Spce-user
> <spce-user at lists.sipwise.com <mailto:spce-user at lists.sipwise.com>>
> Hi Guilherme,
> I noticed that has_inbound_rules=0 in your voip_peer_groups table. So
> although it seems you defined the inbound rule, it's not active.
> check the UI again, if you disable / enable the inbound rule,
> has_inbound_rules should be set to 1.
> Henk Plessius
> On 05-Feb-20 19:10, Guilherme Lacerda wrote:
> > No matching inbound peer rule in any peering group, rejecting call
> Spce-user mailing list
> Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Spce-user