[asterisk-users] Rewrite Outgoing Number

Ron Wheeler rwheeler at artifact-software.com
Thu Dec 14 09:53:29 CST 2017

On 14/12/2017 10:36 AM, basti wrote:
> On 14.12.2017 16:30, basti wrote:
> Hello,
> I am new on asterisk and do some tests on freepbx.
> I have 2 SIP provider:
> Provider1: In-/Out- Flatrate, only 1 Number
> Provider2: Incoming Flatrate, Outgoing Cost depend on destination, 3 numbers
These are trunks.
> On Asterisk site i have 3 phones
> (branch ??, don't know how its called in asterisk)
These are your extensions
> Is it possible to do something like:
> Phone 1: Incoming Call: Number1/Provider1 Outgoing Call: Number1/Provider1
> Phone 2: Incoming Call: Number1/Provider2 Outgoing Call: Number1/Provider1
> Phone 3: Incoming Call: Number2/Provider2 Outgoing Call: Number1/Provider1
> I have forgotten an essential thing:
> Phone2 und Phone 3 should use  Line Number1/Provider1 for Outgoing Call
> but show Number1/Provider2 or Number2/Provider2 on caller side.

I gather that you are talking about Caller ID. You can likely specify 
what you want but you need to look at the caller Id setting on the 
Extension setting form.

It looks like you are trying to tie extensions to trunks directly - No 
press 1 for Ron, 2 for Paul, 3 for tech support, etc.
You want incoming calls to number xxx-xxxx to go to Ron's phone and 
yyy-yyyyy to go to Paul?
Both should be easy to do and not too hard to set up under FreePBX.


Ron Wheeler
Artifact Software Inc
email: rwheeler at artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102

More information about the asterisk-users mailing list