[asterisk-users] Rewrite Outgoing Number

kevin.larsen at pioneerballoon.com kevin.larsen at pioneerballoon.com
Thu Dec 14 10:10:07 CST 2017


asterisk-users-bounces at lists.digium.com wrote on 12/14/2017 09:52:32 AM:

> From: "basti" <mailinglist at unix-solution.de>
> To: asterisk-users at lists.digium.com
> Date: 12/14/2017 09:52 AM
> Subject: Re: [asterisk-users] Rewrite Outgoing Number
> Sent by: asterisk-users-bounces at lists.digium.com
> 
> ok thanks for the answer, i will try it.
> sorry for the question: in which file should it be configured?
> 

In FreePBX, you will set up provider 1 as an outbound route 
(Connectivity/Outbound Routes). You will tell it what dial patterns to use 
that will take that route. You will also specify which trunks to use and 
in what order they should go. One would assume in your situation that you 
want to have provider 1 as your primary trunk and provider 2 as your 
backup trunk should trunk 1 be down.

So, basically, you first need to set up provider 1 and provider 2 under 
Connectivity/Trunks. Make sure that under CID Options you have Allow Any 
CID, otherwise your test won't work. Then you need to set up outbound 
routes under Connectivity/Outbound Routes. Make sure there that Your trunk 
sequence has the Provider 1 trunk as primary. If you want Provider 2 as a 
backup, put that as secondary.

Finally, make sure that under Applications/Extensions, on the General tab 
that you have the Outbound CID set to the number you want to use. That 
will get used whenever you dial out a trunk.

Hope that sets you down the correct path.

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20171214/e4f4765e/attachment.html>


More information about the asterisk-users mailing list