News:

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

Main Menu

Configure OBi110 as WiFi phone (POTS bridge)

Started by Zilog, March 27, 2015, 09:50:44 AM

Previous topic - Next topic

Zilog

Hi all,

I've owned an OBi110 for several weeks but have been unsuccessful in setting up the way I would like.
I wish to use the OBi as a WiFi bridge for my landline (i.e. make and receive PSTN/POTS calls using my Android phone or my wife's iPhone).
At this time I do not require IP phone (Google Voice etc.) functionality.

After much forum reading I figure I need to:

  • Set up the correct digit map for my country (Ireland)
  • Set up the OBi110 in SIP mode, as OBiON app unreliable and will not run in background
  • Configure SIP client on phone(s)

Digit map is set up using XML downloaded here:
http://www.obitalk.com/forum/index.php?topic=8742.0
... further modified as discussed here:
http://www.obitalk.com/forum/index.php?topic=8934.msg59234#msg59234

I can get my Android phone to register with the OBi using CSIPmple following instructions here:
http://www.obitalk.com/forum/index.php?topic=205.0

As I do not require Google Voice, I ignore Google Voice part and change SP2 to SP1.
For the life of me I cannot get setup to work and can neither make or receive PSTN calls. Now I'm new to comms but have good experience with networks; however comms is a whole new ball game!

Appreciate help if anyone has a working setup. 

azrobert

#1
You can't register a softphone to an OBi110.
The softphone must be setup to call without registration.
I don't feel like reading thru the link you provided.
Below is how I do it with CSipSimple.
CSipSimple is for Android only.
I believe Zoiper for iPhone can be setup to call without registration.

This setup is when CSipSimple is used on the same LAN as the OBi.
CSipSimple is setup without registration.
You must use the Expert wizard to set no registration, but I find it easier to define an account with the Basic wizard then switch to the Expert Wizard.
CSipSimple requires a password.
Use any dummy password.
This example uses SP2 on the OBi and it must be defined as SIP.

In CSipsimple add a new account.
Select the BASIC wizard
Account name = OBi110
User = OBi110
Server = xx.xx.xx.xx:5061        (OBi IP address and SP2 port#)
Password = anything
SAVE

Press and hold on the account name.
When a new screen appears, select "Choose Wizard".
Select Expert.
Select your account again.
Select Registration URI and blank it out, then ok.
SAVE

Return to the dial pad
Press Menu on the phone
Select Settings
Press Menu on the phone again
Select Expert Mode
Select Network
Select UDP Port
It should be zero, change it to 5060
OK
This did not change the port for me
I had to go into Settings/Apps and force a stop on CSipSimple
The port changed when I restarted CSipSimple
Maybe if you do this 1st before defining the account you won't have to do a restart

OBi Setup:

If SP2 is not defined, setup a dummy SIP definition like this:

Service Providers -> ITSP Profile B -> SIP -> ProxyServer : 127.0.0.1
Voice Services -> SP2 Service -> AuthUserName : (any userid)
Voice Services -> SP2 Service -> X_RegisterEnable : (unchecked)
Voice Services -> SP2 Service -> X_ServProvProfile : B

This will process outbound calls and route them to PSTN:
Voice Services -> SP2 Service -> X_InboundCallRoute:
{OBi110>(Mli):li},{ph}       (OBi110 must match User in CSipSimple)

This will send inbound PSTN calls to CSipSimple:
Physical Interfaces -> Line Port -> InboundCallRoute:
ph,sp2(anything@xx.xx.xx.xx:5060)
   
xx.xx.xx.xx is the IP address of your Android
5060 is the Android UDP port defined in the setup

This will pass callerid and cnam:
Service Providers -> ITSP Profile B -> SIP -> X_SpoofCallerID : Checked

Dialing anything that doesn't match the Line DigitMap will ring the OBi110's phone port

Edit:
I made several modifications (mostly cosmetic) to the above, so recheck what you're doing.

If you want to include GV on SP1 use the following SP2 inbound route:
{OBi110>(Mli):li},{sp1}
This assumes you don't have a real provider defined on SP2

Now any dialed number that doesn't match the Line DigitMap will be routed to GV.
For inbound use the same inbound route for SP1 as you did for Line.


azrobert

#2
I assumed you are connected to the same LAN as the OBi.
If you're not, there is an additional setting needed on the OBi.
Service Providers -> ITSP Profile B General -> X_SymmetricRTPEnable: Checked

Routing inbound PSTN calls to the Android will not work because you won't know the IP address.
You will need a free SIP provider account and register a 2nd CSipSimple account to it then route the calls to your UserName at this provider. I won't get into details until I know this is what you need.

There is another method where you only need to setup one CSipSimple account. This is only available using CSipSimple, so you can't do this method with an iPhone.

Edit:
If this is the case, skip the CSipSimple setup section after blanking the Registration URI.
This is to set the UDP port to 5060 and you won't need this if you are routing the call to a provider.

Edit2:
I forgot something else.
If you are going to be outside your LAN, please post before doing anything.


Zilog

Thanks very much azrobert! Will give this a try and let you know how I get on.

Cheers,
Zilog.

Zilog

Hi Azrobert,

OK, been trying this for several weeks now but am stuck.

Using CSipSimple on Android as client.
Outgoing calls work perfectly and quality is good.
Incoming calls don't work. The landline rings, as does CSipSimple. However only rings once or a couple of times (no pattern I can discern). Even if I do manage to answer CSipSimple whilst it's ringing it does not pick up the call. Physically connected phone to OBi stops ringing too.

Have checked settings against those you show above, all appears correct.
Can you give any advice as to where the problem may lie?

Thanks again,
Zilog.

azrobert

#5
If you shut down CSipSimple, can you answer the incoming call with the phone attached to the OBi110?

Edit:
Setup a Speed Dial like this: sp2(anything@xx.xx.xx.xx:5060)
Can you call CsipSimple by dialing the speed dial from the phone attached to the OBi110?

jennyhannb

Quote from: Zilog on May 05, 2015, 06:02:14 AM
Hi Azrobert,

OK, been trying this for several weeks now but am stuck.

Using CSipSimple on Android as client.
Outgoing calls work perfectly and quality is good.
Incoming calls don't work. The landline rings, as does CSipSimple. However only rings once or a couple of times (no pattern I can discern). Even if I do manage to answer CSipSimple whilst it's ringing it does not pick up the call. Physically connected phone to OBi stops ringing too.

Have checked settings against those you show above, all appears correct.
Can you give any advice as to where the problem may lie?

Thanks again,
Zilog.

I think so!