Voicemail and Star Codes
dbdoshi:
Quote from: dbdoshi on May 13, 2019, 08:10:01 pm
Quote from: azrobert on May 13, 2019, 07:18:46 pm
You're making it too complicated.
PH DM: #22|
PH OCR: {#22:sp2(*86)},
Unfortunately, that does not work. Get a fast busy as soon as I am done dialing #22
I wanted to close the loop on this. @Azrobert, it does work. My DM syntax was wrong :(
SP1 is GV (For US Calls), SP2 is CC (For emergency calls & US Calls), SP3 is GV (For International calls).
Anyways, my final strings are as follows:
ITSB A: (1[2-9]xxxxxxxxxS0|<1>[2-9]xxxxxxxxxS0)
ITSB B: (911S2|933S2|<#22:*86>|*86|1[2-9]xxxxxxxxxS0|<1>[2-9]xxxxxxxxxS0)
ITSB C: (01191[2-9]xxxxxxxxxS2|011xx.S4)
For PH DM, I add this at the start (Msp1)|(Msp2)|(Msp3)|(Msp4) to the default.
For PH OCR, I add this at the start {(Msp1):sp1},{(Msp2):sp2},{(Msp3):sp3},{(Msp4):sp4} to the default.
I wonder why OBI does not have the above extra strings (rules) I listed above for PH DM and PH OCR as default? I think they are intuitive and they follow the same logic that OBI has for numbers dialed with explicit trunks.
Example rule in default PH DM: **1(Msp1)
Example rule in default PH OCR: {(<**1:>(Msp1)):sp1}
I see its advantage as any new "type of call" handling needs to be coded in the particular ITSB only, and not touch the PH DM or PH OCR. So no duplication of rules among ITSBs and PH DM. Another advantage I see is that one don't even have to think about "Primary Line" concept if they are new to DMs and OCR...
Is there a "gotcha problem" to this that I am not seeing with my strings for PH DM and PH OCR?
azrobert:
The OCR is processed left to right, so your config will always route 10 and 11 digits to SP1 and never to SP2.
The default config allows routing the same numbers to any SP by using an **n prefix.
dbdoshi:
Quote from: azrobert on May 29, 2019, 03:43:48 pm
The OCR is processed left to right, so your config will always route 10 and 11 digits to SP1 and never to SP2.
The default config allows routing the same numbers to any SP by using an **n prefix.
Yep, I understand that I need to dial the trunk ID if I want to route US calls via SP2. I did learn the hard way to remove the "xx." rule from all ITSBs and only explicitly put rules in ITSB DMs to the type of calls I want via each ITSB :)
Navigation
[0] Message Index
[*] Previous page