QUESTION Using obi202 as bridge to GV

kameleon

Member
Joined
Jul 22, 2009
Messages
67
Reaction score
6
I have an obi202 I am wanting to use as a trunk provider to my PIAF box since GV is kinda iffy going straight to PIAF right now. Following the tutorial here: http://nerdvittles.com/?p=25846 I see they use SP2 for the trunk for PIAF to talk to it. My problem is I have 3 GV #'s I need to put on the obi202: 2 of them need to ring through to the PIAF box and 1 needs to go to the POTS line to go to a fax. Is this possible? Do I really only need one trunk (SP2) going to the PIAF box or will I need one trunk per GV #?
 

kameleon

Member
Joined
Jul 22, 2009
Messages
67
Reaction score
6
I ended up playing it safe and bought the obi200 for the fax and running it stand alone for now.

@wardmundy : I have a quick question about the setup you did here: http://nerdvittles.com/?p=25846

What needs to be changed for the second GV number? I'm using SP1 as primary GV and SP2 as secondary GV. SP3 and SP4 are the trunks to the IncrediblePBX box each paired with the respective SP1 and SP2. Do any port numbers need to be changed or just leave as in the directions in that post?
 

dizzydean

New Member
Joined
May 23, 2013
Messages
6
Reaction score
2
What I was able to get working this past week of trial and error might answer some of your questions.

I was able to get 3 google voice numbers provisioned on SP1,SP2 and SP3. and 1 trunk on the obi200 to my 3cx pbx on SP4.

When the call come into the pbx the inbound rules "look" for the 10 digit google voice numbers I assigned to the SP1,SP2,SP3 X_InboundCallRoute rule. my rules look like this.
in expert config menu

Voice services > SP1> X_InboundCallRoute with value {SP4(717555GV#1),ph} This sends call to SP4 (which is the trunk to pbx) with GV DID assigned by the number I put inside the parentheses. The ,ph following the GV number also rings the phone port on the obi200 but that is personal preference and not needed.

Voice services > SP2> X_InboundCallRoute with value {SP4(717555GV#2),ph} same thing happens as rule above.

Voice services > SP3> X_InboundCallRoute with value {SP4(717555GV#3),ph} same thing happens as rule above.

Those rules get the inbound to the trunk to pbx then the inbound rules in the pbx route the calls to the right ring group or extension.

For outbound calls that I wanted to go out via the GV numbers I chose the same trunk that was set up for the inbound calls that is assigned to voice services SP4

The outbound caller id on the outbound calls using the outbound trunk was also set up with the appropriate 10 digit GV number. The X_InboundCallRoute on SP4 is set up to route the appropriate outbound call to the correct GV line SP1,SP2 or SP3.
The rule looks in SP4 like this

Voice services > SP4> X_InboundCallRoute with value {717555GV#1:sp1},{717555GV#2:sp2},{717555GV#3:sp2}

If the caller ID going out the trunk on SP4 matches the GV#1 it sends the call out the GV# provisioned on SP1 and so on.
 

bjs.pdx

Member
Joined
Oct 6, 2018
Messages
39
Reaction score
0
What I was able to get working this past week of trial and error might answer some of your questions.

I was able to get 3 google voice numbers provisioned on SP1,SP2 and SP3. and 1 trunk on the obi200 to my 3cx pbx on SP4.

When the call come into the pbx the inbound rules "look" for the 10 digit google voice numbers I assigned to the SP1,SP2,SP3 X_InboundCallRoute rule. my rules look like this.
in expert config menu

Voice services > SP1> X_InboundCallRoute with value {SP4(717555GV#1),ph} This sends call to SP4 (which is the trunk to pbx) with GV DID assigned by the number I put inside the parentheses. The ,ph following the GV number also rings the phone port on the obi200 but that is personal preference and not needed.

Voice services > SP2> X_InboundCallRoute with value {SP4(717555GV#2),ph} same thing happens as rule above.

Voice services > SP3> X_InboundCallRoute with value {SP4(717555GV#3),ph} same thing happens as rule above.

Those rules get the inbound to the trunk to pbx then the inbound rules in the pbx route the calls to the right ring group or extension.

For outbound calls that I wanted to go out via the GV numbers I chose the same trunk that was set up for the inbound calls that is assigned to voice services SP4

The outbound caller id on the outbound calls using the outbound trunk was also set up with the appropriate 10 digit GV number. The X_InboundCallRoute on SP4 is set up to route the appropriate outbound call to the correct GV line SP1,SP2 or SP3.
The rule looks in SP4 like this

Voice services > SP4> X_InboundCallRoute with value {717555GV#1:sp1},{717555GV#2:sp2},{717555GV#3:sp2}

If the caller ID going out the trunk on SP4 matches the GV#1 it sends the call out the GV# provisioned on SP1 and so on.

Have you experienced the obi200 reboot problem that I've been having? I've followed all the setup instructions, but any time I make a call through the obi200 (inbound or out) it reboots. What firmware are you running on yours?
 

dizzydean

New Member
Joined
May 23, 2013
Messages
6
Reaction score
2
to answer pjs.pdx, no reboots to my knowledge. Obi200 HardwareVersion 1.4 SoftwareVersion 3.2.2 (build:5921EX)
 

bjs.pdx

Member
Joined
Oct 6, 2018
Messages
39
Reaction score
0
Strange...Mine is HardwareVersion 1.4 SoftwareVersion 3.2.2 (Build: 5921EX) and it reboots every call. I see you left ph in your rules. What did you use for the trunk on the pbx: SIP or PJSIP? Just one trunk or three?
 

dizzydean

New Member
Joined
May 23, 2013
Messages
6
Reaction score
2
The X_InboundCallRoute rule worked fine for me either way, with or without ph.
As noted in the post above one trunk is used for all three GV lines. My pbx is 3CX and there is another post GV to obi200 to 3cx? where you can see what selections were made in 3cx to create the trunk. It is part way down the second post where I am answering my own question.
I did not use a password for the pbx trunk. Probably not best but with the pbx and obi200 behind a firewall I figured it might be ok and that is the way it managed to work. This web page Turning your OBi200 and OBi202 into a SIP-to-Google-Voice Bridge is what I found very helpful for the obi200 settings however I could not find anything specific about best way to creating the trunk in 3cx. The settings selections to create the trunk in 3cx were different from other how-to's that show obi200 to asterisk so I tried a few things and the generic SIP trunk is what worked for me in 3cx.
 

bjs.pdx

Member
Joined
Oct 6, 2018
Messages
39
Reaction score
0
The X_InboundCallRoute rule worked fine for me either way, with or without ph.
As noted in the post above one trunk is used for all three GV lines. My pbx is 3CX and there is another post GV to obi200 to 3cx? where you can see what selections were made in 3cx to create the trunk. It is part way down the second post where I am answering my own question.
I did not use a password for the pbx trunk. Probably not best but with the pbx and obi200 behind a firewall I figured it might be ok and that is the way it managed to work. This web page Turning your OBi200 and OBi202 into a SIP-to-Google-Voice Bridge is what I found very helpful for the obi200 settings however I could not find anything specific about best way to creating the trunk in 3cx. The settings selections to create the trunk in 3cx were different from other how-to's that show obi200 to asterisk so I tried a few things and the generic SIP trunk is what worked for me in 3cx.

Tried both set of instructions multiple times without success. The obi200 ALWAYS reboots when I try to make an outbound call or receive and inbound one. I doubt it's a hardware issue since many others seem to be having the same problem. I'm using Incredible PBX 13.0.192.19 on a Raspberry Pi3 but that shouldn't make any difference.

Very puzzled and frustrated.
 

bjs.pdx

Member
Joined
Oct 6, 2018
Messages
39
Reaction score
0
Tried both set of instructions multiple times without success. The obi200 ALWAYS reboots when I try to make an outbound call or receive and inbound one. I doubt it's a hardware issue since many others seem to be having the same problem. I'm using Incredible PBX 13.0.192.19 on a Raspberry Pi3 but that shouldn't make any difference.

Very puzzled and frustrated.

Just installed and tested alternate firmware (3.2.2 (Build: 5921EX-arrynrob8)) and reconfigured for GV-SIP bridge. Without bridging, everything works. With bridging (stock or alternate firmware) OBI200 reboots with any call. Beginning to think this may be a hardware issue: HardwareVersion 1.4.
 

bjs.pdx

Member
Joined
Oct 6, 2018
Messages
39
Reaction score
0
Just got a response from Obi support to try bridging now. I don't have it setup but noticed the firmware on my obi200 is now 3.2.2 (Build: 5932EX). Anyone else have this installed on a non-working obi200 who can see if the new firmware fixed the issue? I need to reconfigure mine for the bridge which will take a little while.

Update: Just tested and it still reboots.
 
Last edited:

Bill C

New Member
Joined
Mar 5, 2015
Messages
1
Reaction score
0
Just thought I'd throw my two cents in regarding this issue. I too was having similar problems to bjs.pdx's with the obi200 rebooting on inbound calls, outbound calls to my cell would ring but when I answered the call the PBX would just continue to ring (very strange). I was running a flavor of IncrediblePBX on a VM and this seems to be a common denominator regarding this problem. I ended up firing up an old Rasberry Pi 2 running RasPBX, followed the config instructions here: https://cboh.org/voip/obi/OBi_As_ITSP.html and the Obi200 has been working flawlessly every since. Can make inbound and outbound calls with no problems, no timeouts or dropped calls. I'm running the stock Obi200 firmware version 3.2.2 (Build: 5921EX).

If you can you might want to setup a generic version of Asterisk/FreePBX something other than IncrediblePBX just to see if the problem still points to your Obi.
 

bjs.pdx

Member
Joined
Oct 6, 2018
Messages
39
Reaction score
0
Just thought I'd throw my two cents in regarding this issue. I too was having similar problems to bjs.pdx's with the obi200 rebooting on inbound calls, outbound calls to my cell would ring but when I answered the call the PBX would just continue to ring (very strange). I was running a flavor of IncrediblePBX on a VM and this seems to be a common denominator regarding this problem. I ended up firing up an old Rasberry Pi 2 running RasPBX, followed the config instructions here: https://cboh.org/voip/obi/OBi_As_ITSP.html and the Obi200 has been working flawlessly every since. Can make inbound and outbound calls with no problems, no timeouts or dropped calls. I'm running the stock Obi200 firmware version 3.2.2 (Build: 5921EX).

If you can you might want to setup a generic version of Asterisk/FreePBX something other than IncrediblePBX just to see if the problem still points to your Obi.

I'll give it a try. Nothing to lose. Downloading now.
 

bjs.pdx

Member
Joined
Oct 6, 2018
Messages
39
Reaction score
0
Haven't finished setting up the system yet. Probably by the end of the day or maybe tomorrow.

Update: 12/06/18 11:28am

I have part of the configuration in place and I can make an outgoing call using GV without the obi200 rebooting. This is using RasPBX and NOT Incredible PBX. The only issue I have right now is that my phone rings when I make a call. I deleted ph from the inbound routes, but it is still ringing. More research but at least progress.

Update: 12/06/18 1:31pm

Unable so far to get inbound calls working. Call connects to Google but not sent forward to pbx.
 
Last edited:

thatguruguy

New Member
Joined
Dec 9, 2015
Messages
5
Reaction score
0
Haven't finished setting up the system yet. Probably by the end of the day or maybe tomorrow.

Update: 12/06/18 11:28am

I have part of the configuration in place and I can make an outgoing call using GV without the obi200 rebooting. This is using RasPBX and NOT Incredible PBX. The only issue I have right now is that my phone rings when I make a call. I deleted ph from the inbound routes, but it is still ringing. More research but at least progress.

Update: 12/06/18 1:31pm

Unable so far to get inbound calls working. Call connects to Google but not sent forward to pbx.

Well, after trying to get the Obi working for 2 weeks on IncrediblePBX, I switched over to FreePBX yesterday and was able to get everything working. Kinda sad to leave IncrediblePBX, since I've been using it for 3 years now. But it was important to get something that worked.
 

bjs.pdx

Member
Joined
Oct 6, 2018
Messages
39
Reaction score
0
Well, after trying to get the Obi working for 2 weeks on IncrediblePBX, I switched over to FreePBX yesterday and was able to get everything working. Kinda sad to leave IncrediblePBX, since I've been using it for 3 years now. But it was important to get something that worked.

Which set of instructions did you use for setup? Are incoming calls working?
 

thatguruguy

New Member
Joined
Dec 9, 2015
Messages
5
Reaction score
0
Which set of instructions did you use for setup? Are incoming calls working?

I followed the guide here: https://cboh.org/voip/obi/OBi_As_ITSP.html. And yes, inbound and outbound calls are working. The discussion in the related thread here is pretty useful, as well.

For the record, after following the instructions for setting up the Obi202, I created a trunk on the Asterisk server using pjsip rather than chan_sip. In the pjsip settings, I had both Authentication and Registration set to "None", because they're on the same LAN behind the same firewall. The SIP server was set to the ip address of the Obi, and the SIP server port is the port the Obi is listening on (5063 in my case, because I used sp4 on the Obi for my asterisk trunk).
 

bjs.pdx

Member
Joined
Oct 6, 2018
Messages
39
Reaction score
0
I followed the guide here: https://cboh.org/voip/obi/OBi_As_ITSP.html. And yes, inbound and outbound calls are working. The discussion in the related thread here is pretty useful, as well.

For the record, after following the instructions for setting up the Obi202, I created a trunk on the Asterisk server using pjsip rather than chan_sip. In the pjsip settings, I had both Authentication and Registration set to "None", because they're on the same LAN behind the same firewall. The SIP server was set to the ip address of the Obi, and the SIP server port is the port the Obi is listening on (5063 in my case, because I used sp4 on the Obi for my asterisk trunk).

I can report that using RasPBX and those instruction I can make and receive calls without the obi200 rebooting. I'm sad that Incredible PBX wasn't working but glad to finally have what looks to be a working system.
 

Members online

No members online now.

Forum statistics

Threads
25,782
Messages
167,509
Members
19,203
Latest member
frapu
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top