make OBI ring the TV
Bogolisk:
Quote from: ianobi on November 20, 2015, 01:38:55 am
Quote
But if you try sometime you find
You get what you need
I use this function all the time as I have an old cell phone set up as a wifi phone which accepts incoming calls via an OBi to CSipSimple on the phone.
First set up a CSipSimple account that accepts calls without registration:
1. Create a Local account – it just requires an account name.
2. Long press on the account name > Choose wizard > Expert.
3. Long press on the account name > Modify account. Expert will prompt you for Account id. Insert accountname<sip:CallerID@127.0.0.1>
4. Leave all other settings at default!
Now go to Settings > long press to go to expert mode if not already in it > Network > UDP Port > change to 5482 (or whatever you choose to avoid 5060).
Second set up OBi InboundCallRoute (as per drgeoff)
{ph,sp4(CallerID@192.168.1.10:5482)}
CallerID can be anything, but I use same as in 3 above for easy call tracing.
N.B. sp4 in the InboundCallRoute must have:
Service Providers -> ITSP Profile D -> SIP -> X_SpoofCallerID : checked
This can be a problem with a working sp. In your case I suggest setting up sp4 as a fake service provider and use that to forward calls to CSipSimple.
Fake service provider:
Service Providers -> ITSP Profile D -> SIP -> ProxyServer : 127.0.0.1
Service Providers -> ITSP Profile D -> SIP -> X_SpoofCallerID : checked
Voice Services -> SP4 Service -> Enable : (checked)
Voice Services -> SP4 Service -> AuthUserName : (any letters or numbers, not blank)
Voice Services -> SP4 Service -> X_RegisterEnable : (unchecked)
Voice Services -> SP4 Service -> X_ServProvProfile : D
Voice Services -> SP4 Service -> CallerIDName : Whatever
Voice Services -> SP4 Service -> MaxSessions : 4
That should get you going. It really can be made to work. There are posts elsewhere in this forum regarding using cell phones as wifi phones by myself and azrobert - this is just the same principle.
Wow Ian,
this works perfectly. The only drawback is waisting one spx. But other than that, it's exactly what I was looking for. CSipSimple even matches the caller-id to the Android contact list and display the contact picture. Missus was impressed! :)
Thank you again Ian.
Bogolisk:
Quote from: ianobi on November 20, 2015, 01:38:55 am
Second set up OBi InboundCallRoute (as per drgeoff)
{ph,sp4(CallerID@192.168.1.10:5482)}
CallerID can be anything, but I use same as in 3 above for easy call tracing.
N.B. sp4 in the InboundCallRoute must have:
Service Providers -> ITSP Profile D -> SIP -> X_SpoofCallerID : checked
This can be a problem with a working sp. In your case I suggest setting up sp4 as a fake service provider and use that to forward calls to CSipSimple.
What is the problem this would cause?
My SP3 is connected to pbxes, it would be ok to enable X_SpoofCallerID for it right?
Thanks
ianobi:
It depends on how you use your OBi. Most service providers expect to see the user credentials that it provides to you on sign up when you make a call. X_SpoofCallerID allows an incoming CallerID to be forwarded to your service provider and the service provider can see this as an unauthorised user trying to make a call and refuse it.
I don't know enough about pbxes to say, but the answer must be give it a try. It all depends what user credentials it expects to see.
This may not apply in your case, but I find that I also need to enable the following settings in CSipSimple to prevent it going into a "deep sleep" on my cell phone:
Network > Lock WiFi: checked
User interface > Use partial wake lock: checked
Navigation
[0] Message Index
[*] Previous page