D
D
Di ExTreMe2017-09-18 14:29:09
Asterisk
Di ExTreMe, 2017-09-18 14:29:09

Outgoing call through a specific trunk - FreePBX?

Installed Asterik 13, FreePBX 13
Created two trunks. Trunk1 and Trunk2
in the first "Trunk1" numbers Outbound CallerID 5555555, 4444444 are registered, the
incoming call goes through normally and redirects to short numbers 501, 502, etc.

Please tell me how to configure in outgoing routing so that: 1. from short numbers 501, 502 they call only through the number 4444444.
And 2. from short numbers 601, 602 they call only through the number 5555555.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
rustrar, 2017-09-18
@rustrar

Good afternoon, try to create two outgoing routes for these two trunks. create dialing rules (Dial Patterns) in each route
https://asterisk-pbx.ru/wiki/freepbx/outbound_routes

D
Di ExTreMe, 2017-10-31
@ExTreMeUA

OK, with two trunks everything is simple and already implemented, thanks to Drill
How to deal with one trunk and outgoing calls with different numbers?
1 trunk has 5 phone numbers. 4444444, 555555, 666666 ....
How to display outgoing call from extension 501 from 444444, and 502 from 555555 etc
???

K
kirillgromov, 2020-09-11
@kirillgromov

I have Freepbx 15, located in St. Petersburg. There is a second office in Moscow, we are connected to Moscow by a permanent vpn channel.
The provider of IP-telephony is Mango-telecom, they got two users in their personal account, tied a St. Petersburg number to one, and a Moscow one to the other.
Created on automatic telephone exchange two corresponding trunks. Created two incoming and two outgoing routes.
Delivered the custom context module. I created a context based on it, in which one of the outgoing routes was banned. Well, it remains only to select this very context in the parameters of the necessary extensions. Roughly speaking, in the properties of each Moscow internal number I specify this context, and this prohibits calls to Moscow via the St. Petersburg route - the Moscow one is automatically used.
Everything is quite simple, if anyone needs more details, write [email protected] / +79219928226

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question