October 17, 2017, 06:17:27 am *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1]
  Print  
Author Topic: Possible to use Obi as analog to VOIP bridge without other hardware?  (Read 616 times)
GnatGoSplat
Newbie
*
Posts: 17


« on: August 17, 2017, 10:13:41 pm »

Is there an Obi device that will let me easily make and receive calls on an analog (PSTN) line using a standard business VOIP phone on one line, and connect to my personal Google Voice on a 2nd line?

I've seen Obi110 has an FXO port, and also OBILINE seems to add an FXO port to Obi's with USB port.  A lot of tutorials I've seen use FreePBX or some other PBX or SIP server along with analog to VOIP gateway.  I'm wondering if an Obi device can work as a gateway without the addition of some other hardware/computer running a PBX software.  I'd only need to use one single VOIP phone, not manage a whole bunch of them.
Logged
ProfTech
Sr. Member
****
Posts: 359


« Reply #1 on: August 18, 2017, 01:47:24 am »

Yes, the Obi 110 can do what you want if you can find one. They have been discontinued by Obihai and will not have any more firmware updates going forward. However if you need an FXO port they are one of the best devices out there, IMO. The current models 200/202 can use the USB adapter but there have been mixed reviews with it's use. Make sure you have the latest firmware in the 200 or 202 if you intend to try the adapter. My daughter uses a 200 but doesn't use the adapter. The newer devices definitely have more features and options.
Logged
GnatGoSplat
Newbie
*
Posts: 17


« Reply #2 on: October 10, 2017, 10:22:54 pm »

I have since acquired a Grandstream GXV3275 IP phone and an Obi110 to try this out.
I followed the instructions here:
https://voxilla.com/2011/02/15/how-to-obify-your-ip-phone-no-asterisk-involved/
Managed to get Google voice incoming and outgoing calls working on the phone on line 2.
I'd like to associate PSTN with line 1 on the phone, but it appears as though it's necessary to dedicate one SIP profile per line on the IP phone.  With Google Voice on SP1 and SP2 dedicated to line 2 on the IP phone, it doesn't seem like it would be possible to map PSTN to line 1 on the phone.  I've read it's possible to set up an InboundCallRoute rule, but wouldn't that just send the landline to the same line as Google voice is routed to?  I would like these to be 2 separate lines on the phone.

Is what I want to do not possible with the Obi110 alone?
Logged
drgeoff
Hero Member & Beta Tester
*****
Posts: 2482


« Reply #3 on: October 11, 2017, 07:40:42 am »

Unfortunately for you the OBi212 became available about one month after you were advised about the OBi110.  The OBi212 is a newer replacement for the 110 but with some improvements including 4 rather than 2 SP slots.

One solution for the OBi110 would be to put GV directly on the Grandstream line 2.  Sign up and pay the one-time fee of US$6 or whatever it is these days at simonics.com to use his GV-SIP gateway.  You then have all the 110's resources for PSTN and Grandstream line 1.  (You also get Caller ID NAME which you won't get with GV-OBi.)

Another method which might work with the 110 is:

a. Send incoming PSTN calls to the Grandstream line 1 using a Voice Gateway on the 110 rather than a SP slot.

b.  Dial out from the Grandstream to PSTN by using line 2 on the Grandstream but using a prefix code to make the 110  use the LINE port instead of GV.

(Or do the "vice-versa" of a and b.  1 SP slot configured for GV.  The other SP slot configured for Grandstream line 1.  The Voice Gateway sending incoming GV to Grandstream line 2.  The prefix for dialling GV calls from Grandstream line 1.)
« Last Edit: October 11, 2017, 07:51:25 am by drgeoff » Logged
azrobert
Hero Member & Beta Tester
*****
Posts: 3104


« Reply #4 on: October 11, 2017, 08:24:11 am »

Use SP2 for both Line 1 and Line 2. Route calls depending on userid.
Set the IP phone userid for Line 1 to "line1" and Line 2 to "line2".

OBi110
Voice Services -> SP2 Service -> X_InboundCallRoute:
{line1:li},{line2:sp1}
Logged
azrobert
Hero Member & Beta Tester
*****
Posts: 3104


« Reply #5 on: October 11, 2017, 08:47:58 am »

Route inbound Line calls to Line 1 and OBi110 phone port:

Physical Interfaces ->Line Port -> InboundCallRoute:
ph,sp2(line1@xx.xx.xx.xx:5060)

Pass inbound callerid:

Service Providers -> ITSP Profile B SIP -> X_SpoofCallerID: Checked
« Last Edit: October 11, 2017, 09:00:33 am by azrobert » Logged
GnatGoSplat
Newbie
*
Posts: 17


« Reply #6 on: October 11, 2017, 07:20:02 pm »

@drgeoff, thanks for the suggestions.  That'll be helpful if I can't get this Obi110 working exactly the way I want. 

@azrobert, thanks for the stuff to try.  It comes close to working, line 2 on GoogleVoice works, but line 1 on PSTN jack works only for incoming.  I figured it's because InboundCallRoute for Line Port, I can specify the port for line 1 which is 5060, while SP2 is linked to the port for line 2 on port 5062 via ProxyPort setting.  I tried setting ports for both lines to 5060 and set SP2 ProxyPort on the Obi110 to match, hoping the phone can use userid to sort them out, but it gets confused and displays incoming call on line 2 when it's actually coming in from the line port.  Any ideas?
Logged
azrobert
Hero Member & Beta Tester
*****
Posts: 3104


« Reply #7 on: October 11, 2017, 08:56:23 pm »

I'm assuming when you send an outbound call to PSTN, nothing happens.
For outbound I changed the inbound route to default to the Line port if not "line2".

Both Line1 and Line2 should point to port 5061 (OBi110 X_UserAgentPort)

Voice Services -> SP2 Service -> X_InboundCallRoute:
{line2:sp1},{li}

If still not working, check the OBi110 Call History.
If you don't see anything in Call Hhistory, you probably have something defined wrong on the IP phone.
To access Call History:
Log directly into the OBi using the local interface.
Key the IP address of the OBi into a Web Browser and hit Enter.
The UserID and default Password are both "admin".
Click Status on the left column then click Call History.

I'm no IP phone expert, but I think you need different ports for line1 and line2.

Both lines should be defined the same except:
Line1:
userid: line1
Port: 5060

Line2:
userid: line2
Port: 5062

Voice Services -> SP1 Service -> X_InboundCallRoute:
ph,sp2(line2)
or
ph,sp2(line2@xx.xx.xx.xx:5062)

Physical Interfaces -> InboundCallRoute:
ph,sp2(line1@xx.xx.xx.xx:5060)

Since you can only have 1 Proxy Port defined on the OBi110 SP2, you need to send the call to the IP address specifying a different Proxy Port.

xx.xx.xx.xx is the IP address of the phone.
Logged
GnatGoSplat
Newbie
*
Posts: 17


« Reply #8 on: October 12, 2017, 06:50:39 pm »

Thanks azrobert, it works!
I had forgotten to fill out the ProxyServer and ProxyPort on the phone's line 1.  Everything seems to work, but unfortunately, seems the Obi110 won't ring if I have my Obi200 connected.  Looks like that's a limitation of the Obi110. https://www.obitalk.com/forum/index.php?topic=11143.0

Was happy to see a possible workaround (https://www.obitalk.com/forum/index.php?topic=10717.0) also by azrobert.  Will have to try it tomorrow.
« Last Edit: October 12, 2017, 09:08:03 pm by GnatGoSplat » Logged
azrobert
Hero Member & Beta Tester
*****
Posts: 3104


« Reply #9 on: October 12, 2017, 09:08:04 pm »

OBi200:

Voice Services -> SP1 Service -> X_InboundCallRoute: ph,pp(123456789)

OBi110:

Voice Services -> OBiTalk Service -> InboundCallRoute: ph

Replace 123456789 with the OBi number of the OBi110
« Last Edit: October 12, 2017, 09:29:11 pm by azrobert » Logged
GnatGoSplat
Newbie
*
Posts: 17


« Reply #10 on: October 13, 2017, 08:25:27 pm »

azrobert, you're a genius, thanks!

I had to make a small change on the Obi110:

Voice Services -> OBiTalk Service -> InboundCallRoute: ph,sp2(line2)

Works great though, which is fantastic because the Obi110 cost me only a quarter what a new Obi212 will cost.

I don't suppose you know a clever way to make the Obi110 ring the IP phone distinctively OR display something in Caller ID based on distinctive ring on the PSTN line port?  My work doesn't have caller ID, but does have distinctive ring: normal for on-campus calls, 2 short rings for outside calls.  It would be great to have either an audible or visual indicator of on-campus or outside calls.  This seems to be outside the capabilities of an Obi device, but I figure if anyone knows, it would be you.
Logged
azrobert
Hero Member & Beta Tester
*****
Posts: 3104


« Reply #11 on: October 13, 2017, 10:44:37 pm »

You can set distinctive ring on a phone connected to the OBi110 or OBi200 Phone port.  See below for your IP Phone.

I'm assuming the Line port is on-campus and GV is outside calls. What are you currently seeing for callerid? Did you enable X_SpoofCallerID? See my reply#5 above. You should see the GV callerid on Line2. If the line port isn't supplying callerid the Line1 callerid should be blank.

You can set a literal for the callerid on line1 like this:
ph,sp2(line1@xx.xx.xx.xx:5060;ui=5551212)

You can set distinctive ring on the GXV3275 based on callerid. See pages 63-4 of the admin guide.
http://www.grandstream.com/sites/default/files/Resources/gxv3275_administration_guide.pdf

_________________________________

Are you having any GV Email problems when routing calls to the OBi110?

Steve posted there is a GV email problem using this method. I'm not aware of any problem and Steve didn't describe it, but I thought I should warn you.

See:
http://www.obitalk.com/forum/index.php?topic=13039.msg83545#msg83545
« Last Edit: October 13, 2017, 10:48:59 pm by azrobert » Logged
GnatGoSplat
Newbie
*
Posts: 17


« Reply #12 on: October 13, 2017, 11:11:56 pm »

Sorry, I didn't explain it very well.  Caller ID works fine for the GV calls on line 2.

My current question only deals with line 1, the PSTN line.  There is no caller ID on line 1, not because of any configuration issue, but because it's just not available on my PSTN line.  However, with a standard phone connected to this line, I can tell a call from an on-campus phone as it rings normally, or an outside phone as it has 2 short rings.  What would be great is if the Obi could recognize the 2 different ring cadences and either ring my IP phone distinctively so I can tell, or somehow display (perhaps via caller ID) whether the call is from on-campus or outside based on the ring that was detected.  I like to know, because all on-campus calls are probably work-related and must be answered, while outside calls are likely phone spam.

Hopefully, that makes more sense what I'd like to do.

Right now, the only solutions I can think of are to 1) buy an external ringer box, or 2) Use a splitter and leave my old phone connected so I can hear its ring types.

A voicemail issue would not be good.  I'll give that a try tomorrow.
Logged
azrobert
Hero Member & Beta Tester
*****
Posts: 3104


« Reply #13 on: October 14, 2017, 07:38:26 am »

I don't know any way the OBi110 can detect or pass a distinctive ring to the IP phone. I would use your idea of plugging another phone or ringer into the wall jack.
Logged
GnatGoSplat
Newbie
*
Posts: 17


« Reply #14 on: October 14, 2017, 09:10:21 am »

Thanks, I had a feeling that was too much to ask of it.

I tried out the voicemail.  Called my #, was able to leave a voicemail with no problems.  Was able to retrieve the voicemail using Hangouts app with no problems, which is what I usually use for voicemails.  Looks like it'll work fine for my usage case.  I don't know Steve's usage case, but doesn't seem like it'll apply to me.  I think this setup will work just fine for me, thank you so much, Azrobert!
« Last Edit: October 14, 2017, 01:15:22 pm by GnatGoSplat » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC