I am not able to make local outbound calls from my Bria softphone. International calling is working fine.
I tried +61 Australian number. But the same number when I dial in local pattern, Its not working.
Number is like: +6128365XXXX (working)
Number like: 028365XXXX(not wokring- Getting declined 603 error).
How should I set the dial pattern to work both the patterns. Current dial pattern attached.
Paste the Asterisk log for a failing call at pastebin.freepbx.org and post the link here.
If the caller hears “All circuits are busy now” (provider rejected call), turn on pjsip logger before making the test call.
The issue is very clear. The restricted route doesn’t exist.
[2023-02-15 21:35:06] WARNING[C-0000635b] pbx.c: Channel ‘SIP/002-000011ce’ sent to invalid extension but no invalid handler: context,exten,priority=restrictedroute-c37990a2cecdbb23e1ef2e663e5732f0,0438673385,2
It appears that you have the Extension Routing module installed. By default, all Outbound Routes are Blocked to all extensions, unless you have explicitly Allowed them.
However, this is still strange because I would assume that all three calls would match the same route (one you set up for normal domestic numbers). So it appears that the failing calls are indeed matching (as @BlazeStudios said) a different route which is not marked as Allowed for extension 002.
So, could you please tell me what change should I make to get all the extensions working. I can’t see an option to allow outbound calling/route separately for the extensions.
I am using Asterisk FreePBX 184.108.40.206.
If you have the Extension Routing or Class of Service modules installed but don’t intend to use them (you have no need to restrict some extensions from calling certain destinations), I recommend you remove them. Otherwise, see the documentation Extension Routing-Admin Guide - PBX GUI - Documentation .
If your +61xxxxxxxxx and 0xxxxxxxxx match different Outbound Routes, that should not be needed and you should set up one ‘domestic’ route including both patterns, as discussed in earlier posts.
If you still have trouble, post a screenshot of the Dial Patterns tab of your Outbound Route.