vtsnaab,
Here is my last attempt to help you with your Android.
There is an easier setup if you are only using the Android on your local network.
This config will route calls to your OBi and then to GV.
Create a free Sip2Sip account here:
https://mdns.sipthor.net/register_sip_account.phtmlInstall CSipSimple on your Android.
In CsipSimple:
Select Add Account
Select the Basic Wizard. It's near the end of the list.
Account Name: Anything
User: Sip2Sip_ID
Server:
sip2sip.infoPassword: Sip2Sip_PW
Save
Select Menu on phone
Select Settings
Select Filters
Select your newly created Account
Select add filter
Select 1st entry (Can't call) and change it to Rewrite.
Select 2nd entry (Starts with) and change it to All.
Select 3rd entry (Replace...) and change it to Suffix With.
4th entry: @xx.xx.xx.xx:5061
save
Sip2Sip_ID and Sip2Sip_PW are the name and password you selected when you created your account.
xx.xx.xx.xx is your public IP address assigned to your modem by your ISP.
5061 is the UserAgentPort of SP2.
If you're not using SP2 then change 5061 to the corresponding SP port#.
You MUST dial from the Android Dialer and not the CSipSimple Dialer.
Filters won't work from the CSipSimple dialer.
Configure OBi
Voice Services -> SP1 Service
X_InboundCallRoute: {ph,sp2(Sip2Sip_ID@sip2sip.info;ui=$1)}
Voice Services -> SP2 Service
X_InboundCallRoute: {Sip2Sip_ID>0:ph},{Sip2Sip_ID>(1xxxxxxxxxx):sp1},{ph}
This assumes your service provider is defined on SP1 and SP2 is defined as SIP.
You need to port forward 5061 in your router to the OBi's IP address.
IF you have audio problems you will also have to port forward RTP ports 16800 thru 16998.
That's 199 ports.
See: Service Providers -> ITSP Profile A -> RTP -> LocalPortMin/Max
Use Port Range Forwarding to avoid having 199 entries in you router.
Dialing 14805551212 will be routed out SP1.
You can change "(1xxxxxxxxxx)" in the inbound route to anything you want including "(Msp1)" to point to the ITSP A DigitMap.
Dialing 0 will ring the OBi phone port.
Inbound calls will ring the OBi phone port and your Android.
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