News:

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

Main Menu

Making outgoing calls through another Obi

Started by proteus, August 28, 2016, 09:59:58 AM

Previous topic - Next topic

proteus

I am sure this was discussed earlier but am unable to locate the thread. How do I configure one Obi to make calls through the Line port of another Obi; both Obis are in the same account?

My obi calls the other Obi using Speed Dial 90 pp(123456789). I want the former to be able to place calls through the line port of the latter.

azrobert

#1
When I was in the corporate world, "9" was a common prefix to get an outside Line, so that is what I use.

OBi???:

Physical Interfaces -> Phone Port -> DigitMap
Add AFTER the beginning parenthesis: 9xxxxxxxxxx|
Physical Interfaces -> Phone Port -> OutboundCallRoute
Add to the beginning: {(<123456789*>9xxxxxxxxxx):pp},

Change 123456789 to the OBi number of the OBi110

OBi110:

Voice Services -> OBiTalk Service -> InboundCallRoute:
{987654321>(<9:1>xxxxxxxxxx):li},{ph}

Change 987654321 to the OBi number of the OBi???
Use OBi Expert to make these changes.
The above will send a 10 digit number prefixed with a "9" to the OBi110. The OBi110 will change the prefix to "1" and route the call to Line. You might have to change this depending on your requirements.


azrobert

To include 7 digit numbers

OBi???:

Physical Interfaces -> Phone Port -> DigitMap
Add AFTER the beginning parenthesis: 9xxxxxxxxxx|9xxxxxxx|
Physical Interfaces -> Phone Port -> OutboundCallRoute
Add to the beginning: {(<123456789*>(9xxxxxxxxxx|9xxxxxxx)):pp},

Change 123456789 to the OBi number of the OBi110

OBi110:

Voice Services -> OBiTalk Service -> InboundCallRoute:
{987654321>(<9:1>xxxxxxxxxx):li},{987654321>(<9:>xxxxxxx):li},{ph}

proteus

Thanks. It seems that the OBi is forwarding calls correctly. However, it is appending a 1 (north american style) to the number sent to the other OBi. So if I dial 90*5556667777, the other OBi tries to dial 1555666777. I guess it is either digit map or outbound routes that is causing this. How do I change my config only for the calls that are forwarded to not include the 1 while dialing out?

azrobert

I removed my last 2 posts because I don't know your configuration. Assuming you're using the defaults except for the OBiTalk Inbound Route and your Primary Route is SP1, here is what's happening:
Rule [1-9]x?*(Mpli) in the Phone DigitMap validates the dialed number
(Mpli) points to the primary routes DigitMap
ITSP A DigitMap contains rule <1>[2-9]xxxxxxxxx which will prefix a 10 digit number with "1"
If you don't need this rule remove it or change [1-9]x?*(Mpli) to [1-9]x?*(xxxxxxxxxx)

Now use {987654321>(xxxxxxxxxx):li},{ph}

proteus

Thanks. My primary is SP1 (Google Voice) or sometimes I set it to VG1. So I guess I need to modify the corresponding digit map. To clarify, removing this rule will cause all 10 digit numbers to be no longer prepended with a 1 or only numbers that go through the OBi at 987654321 not to be prepended?

azrobert

I made a mistake in my last post. I should have said change ITSP A DigitMap  rule "<1>[2-9]xxxxxxxxx" to "[2-9]xxxxxxxxx", not remove it.

10 digit numbers routed to SP1 will also go out as 10 digits.

If you need 11 digits routed to SP1 don't change the ITSP A DigitMap. Change the Phone DigitMap from "[1-9]x?*(Mpli)" to "[1-9]x?*(xxxxxxxxxx)".

Also add "{(<123456789*>xxxxxxxxxx):pp}," to the Phone outbound route.