[asterisk-users] Rewrite Outgoing Number

kevin.larsen at pioneerballoon.com kevin.larsen at pioneerballoon.com
Thu Dec 14 09:41:21 CST 2017


Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208

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

> From: "basti" <mailinglist at unix-solution.de>
> To: asterisk-users at lists.digium.com
> Date: 12/14/2017 09:36 AM
> Subject: Re: [asterisk-users] Rewrite Outgoing Number
> Sent by: asterisk-users-bounces at lists.digium.com
> 
> 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
> 
> 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.

If, and this is a big if, your provider 1 allows you to use a caller ID 
number that they do not control, then yes, you can do what you want. 

Some providers allow this and some do not. It may be that provider one 
will overwrite whatever you set as caller ID with the number you have 
purchased from them. It may also be that they will allow you to set a 
different outbound caller id. Also, the person receiving the call will not 
know if you have provider 1 or provider 2. It is purely the number and 
possibly a name that they will see.

______________________________________________________________________
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/e968cad3/attachment.html>


More information about the asterisk-users mailing list