CSipSimple + Sip2Sip + Obi202 + Google Voice
threehappypenguins:
I live in Canada and currently have an Obi202 with AcroVoice on SP1 and Google Voice on SP2 (no GV phone number). AcroVoice uses autoprovisioning so I set up GV on the Obi without adding the Obi to the dashboard through Obitalk. From what I have read, it is possible to use CSipSimple on my Android, register it with Sip2Sip (which I have done), and then somehow configure Sip2Sip on my Obi (which I have not figured out... I assume it must be configured on SP3?). I read a whole bunch of posts that this can be done, but nobody explains HOW. It is all Greek to me! Then I want to use CSipSimple to call my Obi via Sip2Sip and reroute the call so it either goes through AcroVoice or Google Voice. I also want to set it up so that incoming calls will be rerouted to go to my Android and ring on there (when I want them to... for travelling purposes). I already have CSipSimple and registered my Sip2Sip account with it.
I tried using ObiON, but I do not understand how to get it to work without using Obitalk, which will conflict with AcroVoice provisioning.
Can this be done? If so, how? Just so you know, I have NO IDEA how to configure the Obi. In order for me to get Google Voice onto the Obi without adding it to the dashboard, I had to first add the Obi device to the Obitalk dashboard, added Google Voice to SP2, then went into expert configuration and copy and pasted the changes that it made to it into the configuration via the Obi's IP address, and then deleted the Obi off the dashboard.
So if someone could direct me what to do and where to put the information, that would be great!!!
ianobi:
threehappypenguins,
This may take a few days, as I’m not here every day. Hopefully, others may dive in and help when I’m not around.
With a few changes for the OBi202, this post covers most of what is needed:
http://www.obitalk.com/forum/index.php?topic=4647.0
I know some of it looks daunting, if you are not used to OBi stuff. In your case you can do all the changes in the OBi from the web page at its IP address. To make each change: Uncheck the “default” box and leave it unchecked, make all required changes on that page, click on submit at the bottom of the page, then click reboot at top of page. Wait two minutes for OBi to reboot and settle down. Refresh page.
Before you start, you will need the following:
Your router must have a fixed IP Address or a dns type address (penguin@happyhome.dns.com) for incoming calls. For outgoing calls you will need another SIP provider, may as well be sip2sip, set up on sp3. You need to set the CSipSimple filters as described in the above post.
For this post let’s get the outgoing from OBi working:
Sign up for another sip2sip account. Then log into OBi web page:
Service Providers > ITSP Profile C > SIP
ProxyServer: sip2sip.info
ProxyServerPort: 5060 (default)
OutboundProxy: proxy.sipthor.net
OutboundProxyPort: 5060 (default)
Submit/reboot/wait 2 mins
Voice Services > SP3 Service
Enable: checked
X_ServProvProfile: C
X_RingProfile: A
X_CodecProfile: A
X_InboundCallRoute: (we will change this later when I’ve worked it out!)
X_RegisterEnable: checked
AuthUserName: yoursip2sipusername
AuthPassword: your sip2sippassword
CallerIDName: hpenguin (whatever!)
MaxSessions: 4
Submit/reboot/wait 2 mins
System > Status should now show sp3 registered.
Voice Services > SP1 Service > X_InboundCallRoute:
Delete: ph,ph2
Insert: {sp3(userid@sip2sip.info;ui=$1),ph,ph2}
Submit/reboot/wait 2 mins
Where userid is the sip2sip userid of the account registered with CSipSimple. This will “fork” incoming calls on sp1 to the android phone and the OBi phone. First device to answer gets the call. If you want the calls to be either OBi or android rather than both, we can sort that out later.
Well that’s calls from OBi to your cell phone sorted! Testing is best done while the cell phone has a wifi connection.
To call direct from OBi phone to android, you can set up a speed dial entry: sp3(userid@sip2sip.info;ui=$1)
User Settings > Speed Dials > any spare slot. Submit/reboot etc.
Next post we will sort cell phone to OBi.
Edit: Changed to: X_ServProvProfile: C
threehappypenguins:
Thank-you ianobi!!!
I implemented most of what you said. Except for under Voice Services > SP3 Service I changed the X_ServProvProfile: A to C. Then I was able to register the additional sip2sip account.
I actually technically do not have AcroVoice as of yet, but I set it up similarly with my in-laws first, so I know what it looks like when it is functioning with Google Voice. I am in the middle of porting my number now. my in-laws have a Google Voice number, so what I did was replace my Google Voice username and password in sp2, and then in the sp2 X_InboundCallRoute I put what you suggested (except that I replaced userid with my username, of course).
I made sure that I had CSipSimple open on my Android (via WiFi) and registered with sip2sip under my original username (the first one). I then used my current landline (that is still in service since my number has not been ported yet), and called my in-laws Google Voice number. The Obi rang, but my Android did not ring. I checked the settings in CSipSimple and made sure that the Use WiFi was checked for incoming calls. I even checked under User Interface and saw that the ringtone was silent, so I picked a ring tone. Still no incoming call.
I am at a loss. Can you see what I am doing wrong?
ianobi:
I will edit my first post in case others wish to copy it:
X_ServProvProfile: A to C. I’m extrapolating from OBi110 and OBi documents are a bit lacking in this area again ::)
In the following two uses userid must be the userid of the sip2sip account registered on CSipSimple:
Edit: drop the ui=$1 sip2sip does not like it. Further research needed. So use:
Voice Services > SPX Service > X_InboundCallRoute:
Delete: ph,ph2
Insert: {sp3(userid@sip2sip.info),ph,ph2}
(SPX should be the incoming service)
To call direct from OBi phone to android, you can set up a speed dial entry: sp3(userid@sip2sip.info)
I would suggest setting up the speed dial for testing. If you put sp3(userid@sip2sip.info) in speed dial slot 10, then do the usual submit/reboot etc. Then dialling 10# from the OBi phone should call the sip2sip account registered on the cell phone.
After a call attempt, such as your example calling into GV on sp2, have a look in Status > Call History to see what happened. It should show the call going to ph, ph2 and forking to sip2sip.
Next post really will deal with cell phone to OBi :)
ianobi:
Cell phone to OBi. This assumes that:
CSipSimple is registered with a sip2sip account.
The two filters for that account are in place (Prefix all with **7, suffix all with @happypenguin.com:5062 or fixed IP address:5062).
CSipSimple is set to “dialer intergration” checked.
5062 is the default UserAgentPort of sp3 in the OBi. You may need to port forward 5062 in your router to make calls incoming to the OBi from outside your local subnet.
I’m assuming that your PrimaryLine is set as follows:
Physical Interfaces -> PHONE Port -> PrimaryLine : SP1 Service
In your case this will be Acrovoice. If that is true, then this should work:
Voice Services -> SP3 Service -> X_InboundCallRoute (SP3 must be configured for SIP):
{(Mcot)>(<**7**1:>(Msp1)),(Mcot)>(<**1:>(Msp1)):sp1},{(Mcot)>(<**7**2:>(Msp2)),(Mcot)>(<**2:>(Msp2)):sp2},{(Mcot)>(<**7**3:>(Msp3)),(Mcot)>(<**3:>(Msp3)):sp3},{(Mcot)>(<**7**4:>(Msp4)),(Mcot)>(<**4:>(Msp4)):sp4},{(Mcot)>(<**7**9:>(Mpp)),(Mcot)>(<**9:>(Mpp)):pp},{(Mcot)>(<**7:>(**0)),(Mcot)>**0:aa},{(Mcot)>(<**7:>(***)),(Mcot)>***:aa2},{(Mcot)>(<**7:>(Msp1)),(Mcot)>(Msp1):sp1},{(Mcot)>(<**7:>(0)),(Mcot)>0:ph,ph2},{ph,ph2}
cot is a User Defined Digit Map:
(12345678|87654321|11223344)
My cot happens to have three Caller IDs in it. Using this method means you only have to change cot if you add or change Caller IDs, rather than change every reference of Mcot in the InboundCallRoute. cot has to contain the sip2sip user name of the account set up on CSipSimple.
If your PrimaryLine is set as follows:
Physical Interfaces -> PHONE Port -> PrimaryLine : SP2 Service
In your case this is GV. Then change:
{(Mcot)>(<**7:>(Msp1)),(Mcot)>(Msp1):sp1}
to:
{(Mcot)>(<**7:>(Msp2)),(Mcot)>(Msp2):sp2}
In all cases with DigitMaps above, if you cut and paste from here, be very careful not to import any spaces or miss bits on the end of lines. (It happens!)
Both the incoming and outgoing setups can be refined to achieve a few different things, but we can look at that after we get all the basics working. Don’t be surprised if things don’t work first time. Good luck :)
Navigation
[0] Message Index
[#] Next page