Obi202/Zoiper for Android setup
ats1080:
(solved - see bottom of this post)
Hello,
I am using Google Voice set up on SP1 and I have some old android phones I want to use as wireless handsets in the house along with a wired land line phone plugged directly in to the Obi202. I have been reading for 2 days now about various setups and trying everything possible, but have so far been unable to get incoming calls with Zoiper. Outgoing calls were very easy to set up using this guide http://blog.obihai.com/2012/08/use-your-obi202-as-google-voice-gateway.html?m=1 but still no incoming calls. I looked at sip2sip but I don't want the SIP port open to the internet, especially since I have no need for access outside my home network anyway. Here is my current setup (from link above):
On the OBi202, set up the following parameters:
- ITSP Profile B/General/SignalingProtocol = SIP (default)
- ITSP Profile B/SIP/ProxyServer = 127.0.0.1 (a dummy non-empty value)
- ITSP Profile B/SIP/X_SpoofCallerID = yes (or checked)
- SP2/X_ServProvProfile = B
- SP2/X_UserAgentPort = 5061 (default)
- SP2/X_RegisterEnable = no (or unchecked)
- SP2/AuthUserName = nexus
- SP2/AuthPassword = (blank)
- SP2/X_Proxy = yes (or checked)
- SP2/X_InboundCallRoute = {nexus>:SP1}
- SP1/X_InboundCallRoute = {SP2(nexus@local_client)}
These are the setting I'm using in zoiper:
- Host = 192.168.0.41:5061
- Username = nexus
- Password = (blank) - you can use a blank password by entering a single space
- Authentication user = nexus
- Outbound proxy = 192.168.0.41:5061
- Subscribe for register = no
=============================================================
Correct settings:
The Following assumes Google Voice is set up on SP1 and SP2/ITSP B is free for use. Change these settings according to your setup.
On the OBi202, set up the following parameters:
- ITSP Profile B/General/SignalingProtocol = SIP (default)
- ITSP Profile B/SIP/ProxyServer = 127.0.0.1 (a dummy non-empty value)
- ITSP Profile B/SIP/X_SpoofCallerID = yes (or checked)
- SP2/X_ServProvProfile = B
- SP2/X_UserAgentPort = 5061 (default)
- SP2/X_RegisterEnable = no (or unchecked)
- SP2/AuthUserName = 2000
- SP2/AuthPassword = (blank)
- SP2/X_Proxy = yes (or checked)
- SP2/X_InboundCallRoute = {2000>:SP1}
- SP1/X_InboundCallRoute = {ph1,ph2,sp2(2000@ip.addr.of.phone:(local SIP Port below)),sp2(2000@ip.addr.of.phone:(local SIP Port below)} Ex. {ph1,ph2,sp2(2000@192.168.0.30:20124),sp2(2000@192.168.0.35:20123)}
On each phone with Zoiper set up the following parameters:
- Accounts settings/Host = ip.addr.of.obi202:(port of your SPx) Ex. 192.168.0.41:5061
- Accounts settings/Username = 2000
- Accounts settings/Password = (blank) - you can use a blank password by entering a single space
- Accounts settings/Authentication user = 2000
- Accounts settings/Outbound proxy = ip.addr.of.obi202:(port of your ITSP) Ex. 192.168.0.41:5061
- Accounts settings/Subscribe for register = no
- Connectivity settings/Listening Ports/Local Sip Port/Random Port = off
- Connectivity settings/Listening Ports/Local Sip Port/Port = any unused port Ex. 20123
ianobi:
The problem may be the use of "Reserved Characters" in the username.
Reserved Characters are m, M, s, S, x, X
Try replacing nexus with a number such as 384521 in all fields where it occurs in the OBi and the Zoiper.
If that solves the problem, then you can try any other alphanumeric combinations not using reserved characters or, if you really want to use nexus, then there is a rather messy way around the problem using single inverted commas in just the right places.
ats1080:
Thanks for the reply. I initially mimicked the article I posted using 1001 as the username and was unsuccessful with that as well which is when I switched to a alpha username. I will try again quick to double check.
ats1080:
Well...I have no idea why it decided to work now, but it does? ??? Maybe in my frustration of testing I was not leaving enough time to let services fully restart? I did use 2000 as the username this time instead of 1001, but I don't see how that could have mattered. Maybe I'll try switching back to 1001 sometime but right now I don't want to break it lol.
Another question...Can I have multiple softphones set up using username 2000 that all ring at the same time, or can you only have 1 softphone per username?
ianobi:
I'm glad to see it's working :)
The username could be any random number. Use something obscure for extra security.
Quote
Another question...Can I have multiple softphones set up using username 2000 that all ring at the same time, or can you only have 1 softphone per username?
I really don't know! The usual answer is that you can "fork" an incoming call to four devices. The OBi202 ph and ph2 count as devices. I don't have an OBi202 so I can't test how your setup would work.
My preferred method of using android phones as "extra OBi handsets" is described here:
http://www.obitalk.com/forum/index.php?topic=6561.msg41523#msg41523
It does require using an android softphone that can have accounts that do not require registration, I use CSipSimple. In the method described in that post you can fork incoming calls to up to four devices. Devices that are not the OBi Phone Port need an individual ip address / port.
Navigation
[0] Message Index
[#] Next page