News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

911 thru gateway

Started by VOIPisGreat, May 07, 2012, 02:55:17 PM

Previous topic - Next topic

VOIPisGreat

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?

RonR

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.

VOIPisGreat

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.

VOIPisGreat

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.

RonR

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.

RonR

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.

RonR

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.

VOIPisGreat

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?

VOIPisGreat

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?

RonR

404 often means the number wasn't found.

What does the OBi Call History show for the failed call?

VOIPisGreat

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

RonR

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?

VOIPisGreat

I dialed **7<phone number>

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

RonR

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)|...

VOIPisGreat

Sorry, forgot to mention that: yes I have **7(Mvg7) in DigitMap....

RonR

And do you also have a User Defined DigitMap named ste?

Somehow, everything after the **7 is disappearing.

VOIPisGreat

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.

RonR

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.

VOIPisGreat

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?

RonR

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}