Outbound call routing doesn't appear to be working properly

<< < (3/7) > >>

azrobert:
Quote from: jadog on December 09, 2018, 11:34:13 am

Well at least I'm learning more about how this all works.

Routing an outbound call is a 2 step process.
Step 1 the Phone Port DigitMap validates the dialed number.
The last rule (Mpli) will include the rules in primary line's DigitMap.
If the dialed number doesn't match a rule, you will receive a fast busy.

2nd step the phone port OutboundCallRoute will route the call to the primary line using rule {(Mpli):pli}
If you don't get a match you will get message "No routes available"
If you want to route a call to another provider without the "**n" prefix, you need to add rules before the last rule.

The Primary Line is defined here:
Physical Interfaces -> Phone1/2 Port -> PrimaryLine

Phone1 and Phone2 can have different Primary lines, so you might need different rules.
Remember {(Mpli):pli} will handle routing to the Primary Line.
So add {(Msp1):sp1} and/or {(Msp2):sp2} depending on what the PrimaryLine is for that Phone Port.

[1-9]x?*(Mpli) in the DigitMap and {([1-9]x?*(Mpli)):pp} in the OutboundRoute are used to route calls over the OBiTalk Network. You can delete these if not used.

jadog:
You mentioned that Phone1 and Phone2 can have different primary lines and that I should add {(Msp1):sp1} and/or {(Msp2):sp2} depending on what the PrimaryLine is for that Phone Port.

I have Phone 1 and Phone 2 both checked as "Primary Line for Outgoing Calls" for only SP1. My phone system is only connected to Phone 1 and I don't actually use Phone 2. However, I thought I would make both identical in the event that I ever move the Obi device then it won't matter which phone port I connect back to. Are you saying I should just choose one?

drgeoff:
Quote from: jadog on December 10, 2018, 07:06:05 pm

You mentioned that Phone1 and Phone2 can have different primary lines and that I should add {(Msp1):sp1} and/or {(Msp2):sp2} depending on what the PrimaryLine is for that Phone Port.

I have Phone 1 and Phone 2 both checked as "Primary Line for Outgoing Calls" for only SP1. My phone system is only connected to Phone 1 and I don't actually use Phone 2. However, I thought I would make both identical in the event that I ever move the Obi device then it won't matter which phone port I connect back to. Are you saying I should just choose one?

There is no problem having SP1 (or any other SP) as the Primary Line for both PHONE1 and PHONE2.  All the settings for PHONE1 and PHONE2 are independent with no interaction between the two sets.

jadog:
Ok, I've made some progress! After resetting my Obi200 (again), I left all the settings as default and made only the following changes:

Set the ITSP Profile B DigitMap to only the following:
(01136[237]0xx.S3)

OutboundCallRoute
{911:sp1},{933:sp1},{(<##:>):li},{(<#:>):ph1},{(<**70:>(Mli)):li},{(<**82:>(Mbt2)):bt2},{(<**81:>(Mbt)):bt},{(<**8:>(Mbt)):bt},{**0:aa},{***:aa2},{(<**2:>(Msp2)):sp2},{(<**1:>(Msp1)):sp1},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{(Mpli):pli}

I removed the {([1-9]x?*(Mpli)):pp}, since I don't use the OBiTalk network. I also moved Msp2 before Msp1.

I made no changes to the Phone Port DigitMap and left it at the default. When I dial the following number, it goes to SP2 as expected!

01136-309-845-276

Note that numbers that begin with 0113620, 0113630, or 0113670 should go to SP2 and all other international calls should go to SP1. So the above number is routed correctly. Next I try a number that should go to SP1:

01136-126-12389

However, I get the fast busy with this number. ITSP Profile A has the 011xx. assigned by default, so I'm not sure why the call is not going to SP1.

*** Edit *** 
Apparently moving Msp2 before Msp1 causes ALL other outbound calls (other than the 0113630..) to fail as ALL calls now seem to be trying to go to SP2. I had to change it back. But I believe this may be key to resolving this issue.

azrobert:
The rule you moved is used when you dial **2 followed by a number to force routing to SP2.
The rule used without a prefix is: {(Mpli):pli}
I think the only way you routed the call to SP2 is your PrimaryLine is set to SP2 Service.
Make the following changes:

Physical Interfaces -> Phone1-2 Port -> PrimaryLine: SP1 service

Outbound Route:
{(Msp2):sp2},{911|933:sp1},{(<##:>):li},{(<#:>):ph1},{(<**70:>(Mli)):li},{(<**82:>(Mbt2)):bt2},{(<**81:>(Mbt)):bt},{(<**8:>(Mbt)):bt},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{(Mpli):pli}

Navigation

[0] Message Index

[#] Next page

[*] Previous page