Re: [asterisk-users] Rewrite Outgoing Number
asterisk-users-boun...@lists.digium.com wrote on 12/14/2017 09:52:32 AM: > From: "basti" <mailingl...@unix-solution.de> > To: asterisk-users@lists.digium.com > Date: 12/14/2017 09:52 AM > Subject: Re: [asterisk-users] Rewrite Outgoing Number > Sent by: asterisk-users-boun...@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 __-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Rewrite Outgoing Number
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- to go to Ron's phone and yyy-y to go to Paul? Both should be easy to do and not too hard to set up under FreePBX. -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Rewrite Outgoing Number
ok thanks for the answer, i will try it. sorry for the question: in which file should it be configured? On 14.12.2017 16:41, kevin.lar...@pioneerballoon.com wrote: > > Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208 > > asterisk-users-boun...@lists.digium.com wrote on 12/14/2017 09:36:06 AM: > >> From: "basti" <mailingl...@unix-solution.de> >> To: asterisk-users@lists.digium.com >> Date: 12/14/2017 09:36 AM >> Subject: Re: [asterisk-users] Rewrite Outgoing Number >> Sent by: asterisk-users-boun...@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 > __ > > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Rewrite Outgoing Number
Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208 asterisk-users-boun...@lists.digium.com wrote on 12/14/2017 09:36:06 AM: > From: "basti" <mailingl...@unix-solution.de> > To: asterisk-users@lists.digium.com > Date: 12/14/2017 09:36 AM > Subject: Re: [asterisk-users] Rewrite Outgoing Number > Sent by: asterisk-users-boun...@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 __-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Rewrite Outgoing Number
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. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Rewrite Outgoing Number
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 Best Regards, Basti -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users