[Spce-user] 403 Forbidden to outbound calls

Henk henk at voipdigit.nl
Wed Feb 12 03:03:54 EST 2020

Hi Guilherme,

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 '*'.


Henk Plessius

On 11-Feb-20 20:31, Guilherme Lacerda wrote:
> Hello,
> 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.
> Regards,
> --
> -- 
> Guilherme Lacerda
> http://about.me/lacerdaguilherme
> <http://about.me/lacerdaguilherme?promo=email_sig>
> 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>> 
> escreveu:
>     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.
>     Please
>     check the UI again, if you disable / enable the inbound rule,
>     has_inbound_rules should be set to 1.
>     Regards,
>     Henk Plessius
>     VoipDigit
>     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>
>     http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20200212/ac763c2d/attachment-0002.html>

More information about the Spce-user mailing list