NO JOY IncrediblePBX + Nextiva + P-Asserted-Identity

SyrGeek315

New Member
Joined
Dec 29, 2018
Messages
13
Reaction score
0
I have a few questions as I've never worked with a provider such as this before and the way they configure things seems out of the ordinary to me.

We have 9 phone numbers through Nextiva (www.nextiva.com). And 1 trunk. In order to route things, I'm told that we have to setup P-Asserted-Identity on our outbound routes so that they can tell what line we're actually trying to call out on. For example, lets say these are our numbers: 8005550000-8005550008.

The way it's currently setup (for some reason) is that if someone calls in on any number they hear the main IVR, which should only be available on 8005550000 and 8005550001. The provider passed the original number called on to the IPBX system, but it doesn't follow the route attached to it. It falls under the "ANY" route, which is the main IVR.

Additionally, when making outbound phone calls, the entire system, regardless of rules, or routes, is calling out on 8005550000 (which it shouldn't be), I've seen tutorials all over the internet saying to add a few pieces of code to sip.conf, which I've done and to no avail.

I need it to be setup like this:
Extension 10X,11X,12X,13X,14X => 8005550000
Extension 15X => 8005550001
Extension 2XX => 8005550002
(the other numbers are inbound only)

I have everything setup on our end with a single trunk (as the provider said it needed to be configured), and all of the inbound and outbound routes are setup for each of the numbers.

Does or has anyone here used Nextiva before, with multiple DID's and Routes and been able to make this work? I'm thinking it's a provider issue and not a configuration issue, because I have a similar setup with another provider and that has no problems.
 

SyrGeek315

New Member
Joined
Dec 29, 2018
Messages
13
Reaction score
0
I was able to get this concept working. It took me quite a while of development, and several broken test environments later.

I created a custom extension routing in extensions_custom.conf for each of the four modems, and then set a custom destination to each one. Then set each inbound route for the dedicated fax lines to each custom destination. Worked like a charm. Of course. I had to study up on Dialplan programming. Ha!
 

billsimon

Experienced in Asterisk, FreePBX, and SIP
Joined
Jan 2, 2011
Messages
1,016
Reaction score
337
I believe the same can be accomplished in the Outbound Routes without any custom dialplan.

Define outbound route with caller ID:

2491

Then in the dial patterns you can specify which extensions will use this route, based on their extension number:

2492
 

SyrGeek315

New Member
Joined
Dec 29, 2018
Messages
13
Reaction score
0
I believe the same can be accomplished in the Outbound Routes without any custom dialplan.

Define outbound route with caller ID:

Then in the dial patterns you can specify which extensions will use this route, based on their extension number:

True but by default. IPBX does not assign an extension number to each of the IAX modems. So until now it wasn't really clear how to accomplish. I guess this does answer another post I have here on the forum about making sure fax can only be sent on a specific modem.
 

Members online

Latest Posts

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,580
Messages
138,980
Members
14,675
Latest member
profjake