OBiTALK Community

General Support => Installation and Set-Up (Devices) => Topic started by: Xyspade on April 07, 2020, 04:10:26 PM

Title: Access OBiBT service from another OBi on the network
Post by: Xyspade on April 07, 2020, 04:10:26 PM
Here's the scenario:

I want to be able to make and receive cell phone calls, via the cell phone paired to the OBi200, from any phone in the house attached to the OBi202.  It would work just as if the OBiBT USB adapter was attached to the OBi202.  Since the bedroom is a good distance from the network closet, I'm expecting this solution to help improve range issues.  Possible, and how?

I know the setup isn't the greatest, perhaps this could just be a proof of concept.

Thanks for any insight.  (edit: Apologies for the spam, I got an error instead of a post confirmed message, didn't realize it posted anyway)
Title: Re: Access OBiBT service from another OBi on the network
Post by: azrobert on April 07, 2020, 08:26:15 PM
Quote from: Xyspade on April 07, 2020, 04:10:26 PM
I have an OBi200 in the bedroom near where my cell phone typically resides when I'm home, with the OBiBT adapter paired to the phone.

Since the bedroom is a good distance from the network closet, I'm expecting this solution to help improve range issues.  

Is the OBi200 connected to your network?

What range issue? Do you mean plugging the OBiBT into the OBi202 you have problems pairing to your phone?

You can route outbound from the OBi202 over the OBiTalk network to the OBi200/BT and the reverse for inbound.
Title: Re: Access OBiBT service from another OBi on the network
Post by: Xyspade on April 08, 2020, 06:41:58 AM
Yes.

OBiBT's range, in my experience, isn't very good.  It usually seems to pair okay, but I find the phone needs to be, at the very least, in the same room as the OBiBT adapter to avoid breakup, and even then it isn't perfect.  And I have a Galaxy Note9, it isn't some obscure thing.

What would the formatting syntax look like?  Feel free to point me somewhere else if an example is already posted.
Title: Re: Access OBiBT service from another OBi on the network
Post by: azrobert on April 08, 2020, 07:45:48 AM
OBi devices by default are setup to route outbound numbers to another device via OBiTalk network, however the receiving device isn't setup to route the call to a provider. I added a rule to the OBi200 to route the call to BT. The format of the number is "1*1xxxxxxxxxx". The leading "1" is normally the speed dial number where the destination OBi number is defined. I changed this and hard coded the OBi number in outbound call route rule. I also added code to route inbound to both OBi212 phone ports.

OBi202
Physical Interfaces -> Phone1-2 Port -> DigitMap
The 1st rule is: ([1-9]x?*(Mpli)
Change it to: (1*xx.S3)

Physical Interfaces -> Phone1-2 Port -> OutboundCallRoute:
The 1st rule is: {([1-9]x?*(Mpli)):pp}
Change it to: {(<1:510222222>*(xx.)):pp}

Voice Services -> OBiTalk Service -> InboundCallRoute:
ph,ph2

OBi200
Voice Services -> OBiTalk Service -> InboundCallRoute:
{510111111>(xx.):bt},{ph}

Voice Services -> OBiBlueTooth 1 -> InboundCallRoute:
ph,pp(510111111)


Replace 510111111 with OBi number of the OBi202
Replace 510222222 with OBi number of the OBi200

Dial 1*18005551212 from the OBi212 and 18005551212 will be routed to BT
Title: Re: Access OBiBT service from another OBi on the network
Post by: Xyspade on April 08, 2020, 11:03:51 AM
"The number you have dialed was rejected by the service provider, reason: 404"
^ When dialing 1*1xxx-xxx-xxxx from OBi202 after following those instructions

You provided instructions for OBi212—I have OBi202, assuming that was a typo?

Admittedly most of that went over my head, I just blindly entered that code into the boxes (I know, probably your favorite average user stereotype to have to deal with for free).  Someday I'll have time to read and understand the documentation.  You don't have to help further unless you want to, the solution seems to be a bit more complex than I was hoping for anyway.  I appreciate your time.
Title: Re: Access OBiBT service from another OBi on the network
Post by: azrobert on April 08, 2020, 12:25:22 PM
Yes, it was a typo. I cut and pasted from a previous post and failed to make the change. Could you also make the following change. The parentheses are redundant. I don't think this will fix the problem.

OBi202
Physical Interfaces -> Phone1-2 Port -> OutboundCallRoute:
The 1st rule is: {([1-9]x?*(Mpli)):pp}
Change it to: {(<1:510222222>*xx.):pp}

Please post the call history from both devices. You need to signin directly to the device using its IP address. The default userid and pw are both admin. Go to Status/Call History

Can you place a BT call with the phone attached to the OBi200?
Title: Re: Access OBiBT service from another OBi on the network
Post by: Xyspade on April 08, 2020, 01:10:22 PM
Made the change, same error from OBi202.  Should be noted that I'm using the Phone 2 port, should that matter, as the Phone 1 port makes the box restart when I pick up the phone.  Perhaps a factory reset would fix that, but that's a problem for another day.

OBi200:
(https://i.postimg.cc/s2Wcp0XD/OBi200.png)

OBi202:
(https://i.postimg.cc/wvdkFcy5/OBi202.png)

Yes, a call can be placed over BT from OBi200.
Title: Re: Access OBiBT service from another OBi on the network
Post by: azrobert on April 08, 2020, 01:42:22 PM
The format we are using to send the number to the OBi200 is:
Dest_OBi_number * Outbound_number

Dialing 1*18005551212
The OutboundCallRoute rule "{(<1:510222222>*xx.):pp}" will match the above number
<1:510222222> will match the "1" and change it to 5102222
* will match *
xx. will match the number
The string will be routed to OBiTalk (pp).

You are sending 1*+1xxxxxxxxxx
The "1" wasn't converted to an OBi# and a "+" was inserted.

Is my OutboundCallRoute rule 1st?
Do you have any custom DigitMap rules that insert a "+"?
Are you dialing an **8 prefix? 
Title: Re: Access OBiBT service from another OBi on the network
Post by: Xyspade on April 08, 2020, 02:00:57 PM
Yes.

Haven't ever changed any rules in the OutboundCallRoute except what you told me to.  Unless there is a factory default rule that adds a +, no.

When is the **8 prefix inserted from OBi202?  I dialed "1*1xxx-xxx-xxxx" which is exactly what you told me would route "1xxx-xxx-xxxx" to BT.  Yes, I do use the **8 prefix with the phone attached to OBi200 because I have a Google Voice line set as default on it.

Do I need to add the OBi200 number as the first speed dial to the OBi202?  I'll do that and try again.  (edit: Can't, the first speed dial slot is taken with something called "Soft Phone" that I can't erase.)
Title: Re: Access OBiBT service from another OBi on the network
Post by: azrobert on April 08, 2020, 02:18:31 PM
I don't understand how this is happening.
Anyway, change the OutboundCallRoute rule to "{1*xx.):pp}"
Define speed dial#1: pp(510222222)

You can use any speed dial, but it must match the number before the *
Don't forget to change the DigitMap

Did you test inbound BT?
Title: Re: Access OBiBT service from another OBi on the network
Post by: Xyspade on April 08, 2020, 04:04:32 PM
I set it to Speed Dial 3, and changed those two to have 3* instead of 1*.  Now 3*1xxx-xxx-xxxx returns a busy signal, and 3***81xxx-xxx-xxxx returns "We could not complete your call, please try again."

Inbound only rings the OBi200.
Title: Re: Access OBiBT service from another OBi on the network
Post by: azrobert on April 08, 2020, 04:26:40 PM
I'm having a rough time with typos today. Sorry!
The DigitMap rule should be: 3*xx.

The DigitMap should start with (3*xx.|[1-9]S9|

The OutboundCallRoute rule should Be "{(3*xx.):pp},

Can you post the call history for an inbound call.
Title: Re: Access OBiBT service from another OBi on the network
Post by: Xyspade on April 08, 2020, 05:43:00 PM
Just one of those days, eh

Made those changes, still got the same errors.

There is no incoming call history because the 202 doesn't see an incoming call to the cell at all.