OBiTALK Community

General Support => Day-to-Day Use => Topic started by: JohnLennon on March 15, 2011, 12:54:31 PM

Title: 411 and 911 dialing with GV
Post by: JohnLennon on March 15, 2011, 12:54:31 PM
I disabled provisioning and changed the DigitMap to:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|<911:19786665555>|<411:18003733411>|xx.)

This way even on GV I can dial 911 (my local police station has a local number that works the same as dialing 911) and 411 (free-411, not great but it's good for testing rather than dialing 911).
Title: Re: 411 and 911 dialing with GV
Post by: RonR on March 15, 2011, 06:58:53 PM
Make sure you understand what you're doing with 911 calls and verify they're working as intended.  There's special handling for 911 in the PHONE Port DigitMap and OutboundCallRoute that could override what you do elsewhere.
Title: Re: 411 and 911 dialing with GV
Post by: JohnLennon on March 16, 2011, 09:13:19 AM
Thank you, I missed it.
I changed the two you listed respectively as follows:

([1-9]|[1-9][0-9]|111|**0|***|#|(Mpli)|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp))

{(<#:>|111):li},{**0:aa},{***:aa2},{(Mpli):pli},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp}

I replaced 911 with 111 as a placeholder so I can always undo if need be.

Before putting 111 I tested with another combination and indeed it failed as it was trying to go out on the phone line (it warned me of missing service as I don't have one connected).

Next I'd call my police station and schedule a time it's ok with them to test a call so I don't dispatch anybody.
Title: Re: 411 and 911 dialing with GV
Post by: RonR on March 16, 2011, 09:34:21 AM
While there's usually a number of ways to get from point A to point B, in this case, I think it's much simpler and much safer to make a single change in the PHONE Port OutboundCallRoute in order to accomplish the 911 substitution:


Default Route:

{(<#:>|911):li}


Modified Route:

{(<911:19786665555>):sp1},{(<#:>):li}


911 was being handled at the highest level for a good reason : to make sure it doesn't accidentally get broken by changes in lower-level DigitMap's, the PrimaryLine setting, etc.

You're obviously welcome to do yours as you see fit, but it's important for others to understand the risks involved.
Title: Re: 411 and 911 dialing with GV
Post by: QBZappy on March 16, 2011, 01:13:20 PM
RonR,

Hello,

Quote from: RonR on March 16, 2011, 09:34:21 AM
Modified Route:

{(<911:19786665555>):sp1},{(<#:>):li}

Just to get it straight, I'm not sure if I understood all the relevant posts on the 911. There have been a few different takes on this.

Is is the only mod you really have to make which will guarantee a 911 call to SP1 without being overwritten by something else in the OBi config? This config is complete, or did I miss something?
Title: Re: 411 and 911 dialing with GV
Post by: RonR on March 16, 2011, 01:18:51 PM
That's it.  Really simple.  No need to change DigitMap's or anything else.  People have been making it complicated unnecessarily (and at great risk of breaking it).
Title: Re: 411 and 911 dialing with GV
Post by: QBZappy on March 16, 2011, 01:25:03 PM
RonR,

Thanks ;)