OBiTALK Community

General Support => Installation and Set-Up (Devices) => Topic started by: VOIPisGreat on May 07, 2012, 02:55:17 PM

Title: 911 thru gateway
Post by: VOIPisGreat on May 07, 2012, 02:55:17 PM
I have Obi100 and using GV in SP1 and voip.ms in SP2 for 911 service. Now I'd like to add a different DID in SP2, so I am thinking about moving voip.ms to one of the gateways.

How do I modify the dialplan so it'd route 911 calls thru the gateway?
Title: Re: 911 thru gateway
Post by: RonR on May 07, 2012, 03:01:46 PM
Physical Interfaces -> PHONE Port -> DigitMap:

([1-9]x?*(Mpli)|[1-9]|[1-9][0-9]|911|**0|***|**1(Msp1)|**2(Msp2)|**9(Mpp)|(Mpli))

Physical Interfaces -> PHONE Port -> OutboundCallRoute:

{([1-9]x?*(Mpli)):pp},{911:vgx},{**0:aa},{***:aa2},
{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**9:>(Mpp)):pp},{(Mpli):pli}

where vgx is vg1, vg2, etc.
Title: Re: 911 thru gateway
Post by: VOIPisGreat on May 07, 2012, 06:10:29 PM
Thank RonR for the information!

Let's say if I also want international call (011 prefix) going thru the gateway. How do I modify the setting to do that? Thank you.
Title: Re: 911 thru gateway
Post by: VOIPisGreat on May 07, 2012, 06:58:06 PM
Quote from: RonR on May 07, 2012, 03:01:46 PM
Physical Interfaces -> PHONE Port -> DigitMap:

([1-9]x?*(Mpli)|[1-9]|[1-9][0-9]|911|**0|***|**1(Msp1)|**2(Msp2)|**9(Mpp)|(Mpli))

Physical Interfaces -> PHONE Port -> OutboundCallRoute:

{([1-9]x?*(Mpli)):pp},{911:vgx},{**0:aa},{***:aa2},
{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**9:>(Mpp)):pp},{(Mpli):pli}

where vgx is vg1, vg2, etc.


I am comparing it with my existing OutboundCallRoute:

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

I understand that the first highlighted part routes 911 call to sp2, what does the 2nd highlighted section do, should I remove it? Thank you.
Title: Re: 911 thru gateway
Post by: RonR on May 07, 2012, 07:02:37 PM
Physical Interfaces -> PHONE Port -> PrimaryLine : SP1 Service

Physical Interfaces -> PHONE Port -> DigitMap:

([1-9]x?*(Mpli)|[1-9]|[1-9][0-9]|911|**0|***|**1(Msp1)|**2(Msp2)|**3(Mvgx)|**9(Mpp)|(Mpli))

Physical Interfaces -> PHONE Port OutboundCallRoute:

{([1-9]x?*(Mpli)):pp},{911:vgx},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},
{(<**3:>(Mvgx)):vgx},{(<**9:>(Mpp)):pp},{(Mpli):pli}

where vgx is vg1, vg2, etc.

Service Providers -> ITSP Profile A -> General -> DigitMap:

(<1aaa>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|1xxxxxxxxxx|<**3>011xx.)

where aaa is your local area code.
Title: Re: 911 thru gateway
Post by: RonR on May 07, 2012, 07:05:24 PM
Quote from: VOIPisGreat on May 07, 2012, 06:58:06 PM
I am comparing it with my existing OutboundCallRoute:

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

That's an OutboundCallRoute for an OBi110.  You said you had an OBi100.
Title: Re: 911 thru gateway
Post by: RonR on May 07, 2012, 07:18:25 PM
If you have an OBi110 instead of an OBi100, you want to end up with this:


Physical Interfaces -> PHONE Port -> PrimaryLine : SP1 Service

Physical Interfaces -> PHONE Port DigitMap:

([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|**1(Msp1)|**2(Msp2)|**3(Mvgx)|
**8(Mli)|**9(Mpp)|(Mpli))

Physical Interfaces -> PHONE Port OutboundCallRoute:

{([1-9]x?*(Mpli)):pp},{(<#:>):li},{911:vgx},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},
{(<**2:>(Msp2)):sp2},{(<**3:>(Mvgx)):vgx},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

where vgx is vg1, vg2, etc.

Service Providers -> ITSP Profile A -> General -> DigitMap:

(<1aaa>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|1xxxxxxxxxx|<**3>011xx.)

where aaa is your local area code.
Title: Re: 911 thru gateway
Post by: VOIPisGreat on May 07, 2012, 10:22:11 PM
Quote from: RonR on May 07, 2012, 07:05:24 PM
Quote from: VOIPisGreat on May 07, 2012, 06:58:06 PM
I am comparing it with my existing OutboundCallRoute:

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

That's an OutboundCallRoute for an OBi110.  You said you had an OBi100.


I do have the OBi100. Somehow that was the setting of my device. I configured it thru the Obitalk web site. So that was wrong huh? I'll remove the second part from the setting then... I have never dialed 911, would my old setting not work with OBi100?
Title: Re: 911 thru gateway
Post by: VOIPisGreat on May 14, 2012, 08:59:08 PM
I tried to setup voip.ms on the gateway, but when I tried to make a test call I got an error (404).

My setup in the Gateway as follow:

Name:voip.ms
AccessNumber: SP2(losangeles.voip.ms)
DigitMap: (Mste)
AuthUserID: "userid"
AuthPassword: "password"

I have a callcentric setup on sp2 (which is income call only, cannot dial out if it matters.)

Did I do something wrong?
Title: Re: 911 thru gateway
Post by: RonR on May 14, 2012, 09:07:50 PM
404 often means the number wasn't found.

What does the OBi Call History show for the failed call?
Title: Re: 911 thru gateway
Post by: VOIPisGreat on May 14, 2012, 09:25:13 PM
Terminal ID: PHONE1    SP2
Peer Name:
Peer Number: **7    @losangeles.voip.ms
Direction: Outbound    Outbound
<time> New Call
<time>              End Call(404 Not Found)

No where it shows the number I tried to call
Title: Re: 911 thru gateway
Post by: RonR on May 14, 2012, 09:42:51 PM
Quote from: VOIPisGreat on May 14, 2012, 09:25:13 PM
Terminal ID: PHONE1    SP2
Peer Name:
Peer Number: **7    @losangeles.voip.ms
Direction: Outbound    Outbound
<time> New Call
<time>              End Call(404 Not Found)

No where it shows the number I tried to call

The number you sent to voip.ms was '@losangeles.voip.ms'.  Any surprise it wasn't found?   ;D

How are you invoking a call to your voip.ms VGx?
Title: Re: 911 thru gateway
Post by: VOIPisGreat on May 14, 2012, 09:57:15 PM
I dialed **7<phone number>

In phone port->OutboundCallRoute I added {(<**7:>(Mvg7)):vg7}
Title: Re: 911 thru gateway
Post by: RonR on May 14, 2012, 10:03:10 PM
Quote from: VOIPisGreat on May 14, 2012, 09:57:15 PM
I dialed **7<phone number>

In phone port->OutboundCallRoute I added {(<**7:>(Mvg7)):vg7}

Did you also add a rule?:

Physical Interfaces -> PHONE Port -> DigitMap : ...|**7(Mvg7)|...
Title: Re: 911 thru gateway
Post by: VOIPisGreat on May 14, 2012, 10:05:53 PM
Sorry, forgot to mention that: yes I have **7(Mvg7) in DigitMap....
Title: Re: 911 thru gateway
Post by: RonR on May 14, 2012, 10:17:59 PM
And do you also have a User Defined DigitMap named ste?

Somehow, everything after the **7 is disappearing.
Title: Re: 911 thru gateway
Post by: VOIPisGreat on May 14, 2012, 10:24:32 PM
Quote from: RonR on May 14, 2012, 10:17:59 PM
And do you also have a User Defined DigitMap named ste?

Somehow, everything after the **7 is disappearing.


Uh-oh, this must the part I missed. Can you tell me in more detail what I need to do? Thank you.
Title: Re: 911 thru gateway
Post by: RonR on May 14, 2012, 10:27:32 PM
User Settings -> User Defined Digit Maps -> User Defined Digit MapX
Label: ste
DigitMap : (<1aaa>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|1xxxxxxxxxx|011xx.)

where aaa is your local area code.
Title: Re: 911 thru gateway
Post by: VOIPisGreat on May 14, 2012, 10:37:42 PM
Quote from: RonR on May 14, 2012, 10:27:32 PM
User Settings -> User Defined Digit Maps -> User Defined Digit MapX
Label: ste
DigitMap : (<1aaa>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|1xxxxxxxxxx|011xx.)

where aaa is your local area code.


Ah, I can now dial out with the Gateway! Thank you!

Now, do I need to add something to this Digit Map if I want to be able to dial 911 on this gateway?
Title: Re: 911 thru gateway
Post by: RonR on May 14, 2012, 10:40:52 PM
Physical Interfaces -> PHONE Port -> DigitMap:

([1-9]x?*(Mpli)|[1-9]|[1-9][0-9]|911|**0|***|**1(Msp1)|**2(Msp2)|**9(Mpp)|(Mpli))

Physical Interfaces -> PHONE Port -> OutboundCallRoute:

{([1-9]x?*(Mpli)):pp},{911:vg7},{**0:aa},{***:aa2},
{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**9:>(Mpp)):pp},{(Mpli):pli}
Title: Re: 911 thru gateway
Post by: VOIPisGreat on May 14, 2012, 10:46:39 PM
Got it, thanks.

But ste doesn't need 911 in it? Sorry I am a little paranoid because I cannot test it so I want to make sure.
Title: Re: 911 thru gateway
Post by: RonR on May 14, 2012, 10:51:23 PM
911 is handled directly by the PHONE Port DigitMap and OutboundCallRoute.

You really should test 911.  Call your local non-emergency fire or police number and tell them you would like to test 911 with a new telephone system you have installed.  They should give you permission to do so.  When you reach the 911 dispatcher, immediately inform him/her that there is no emergency and you received permission to make a test call.  Verify that they have your correct identity and location.