[asterisk-users] Rewrite Outgoing Number

basti mailinglist at unix-solution.de
Thu Dec 14 09:36:06 CST 2017

On 14.12.2017 16:30, basti wrote:
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

On Asterisk site i have 3 phones
(branch ??, don't know how its called in asterisk)

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.

More information about the asterisk-users mailing list