May 23, 2013, 06:58:38 pm *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1] 2 3
  Print  
Author Topic: dialing sip number from OBiON iPhone app  (Read 9219 times)
tome
Full Member
***
Posts: 125


« on: August 25, 2011, 04:01:38 pm »

I just installed my Obi110 which is set up to use google voice (all done via the web portal for now).  I also installed the iPhone app. Is it possible to add a SIP number to the speed dials so that I can dial it from the iPhone app?

I have a friend who has a sip number like:  XXX-XXX-XXXX@sip2sip.info

I tried entering that in speed dial 3 (minus the hyphens) and it shows up in OBiON but I get a fast busy when I try to dial it.

Is OBiON using my OBi110 or is it dialing a server in the cloud somewhere?  Is it possible to call sip numbers before I have an actual sip provider (i.e., not google voice)?

Thanks
Tom
Logged
RonR
Forum Member

Posts: 4561


« Reply #1 on: August 25, 2011, 05:07:24 pm »

You can't dial SIP URI's through an OBi from an OBiON App using the configuration created by the OBiTALK Web Portal.  The configuration described here does support SIP URI calling:

http://www.obitalk.com/forum/index.php?topic=1103.0

You will also need to have SP2 configured for SIP.  If you don't currently have a SIP provider configured on SP2, simply set:

Service Providers -> ITSP Profile B -> SIP -> ProxyServer : 127.0.0.1

Voice Services -> SP2 Service -> AuthUserName : (put anything here)

Voice Services -> SP2 Service -> X_RegisterEnable : (unchecked)

Voice Services -> SP2 Service -> X_ServProvProfile : B

Then call your friend using a Speed Dial containing : **212341234567*81*23*228*140

where:
                **2  =  Use SP2 Service
 12341234567  =  destination number
81.23.228.140  =  IP address for sip2sip.info.
« Last Edit: August 25, 2011, 08:33:11 pm by RonR » Logged
tome
Full Member
***
Posts: 125


« Reply #2 on: August 25, 2011, 05:42:09 pm »

You can't dial SIP URI's through an OBi from an OBiON App using the configuration created by the OBiTALK Web Portal. 

So, OBiON does use my Obi to initiate calls?  It isn't happening directly from the iPhone?  What is the **9 in front of numbers on the iPhone app?

The configuration described here does support SIP URI calling:
http://www.obitalk.com/forum/index.php?topic=1103.0

You will also need to have SP2 configured for SIP.  If you don't currently have a SIP provider configured on SP2, simply set:

Service Providers -> ITSP Profile B -> SIP -> ProxyServer : 127.0.0.1

Voice Services -> SP2 Service -> X_RegisterEnable : (unchecked)

Then call your friend using a Speed Dial containing : **212341234567*81*23*228*140

where:
                **2  =  Use SP2 Service
 12341234567  =  destination number
81.23.228.140  =  IP address for sip2sip.info.


What exactly is happening here?  My proxy server is set to loopback so how can the Obi call anything?

Thanks for your response and help,
Tom
Logged
tome
Full Member
***
Posts: 125


« Reply #3 on: August 25, 2011, 06:01:43 pm »

ps:  To configure my OBI like this I have to turn off auto provisioning I see.  If I do that, does my current configuration disappear or will it stay the same and just not be updated by the web portal?

pps:  what will the configuration changes you outline do to the current operation of the Obi, which is simply that it will make and receive calls via Google Voice?  Does that remain the same and if I want to sip dial I just select the **2 trunk?

Thanks again,
Tom
Logged
RonR
Forum Member

Posts: 4561


« Reply #4 on: August 25, 2011, 06:12:37 pm »

What exactly is happening here?  My proxy server is set to loopback so how can the Obi call anything?

SP2 isn't actually being used as a provider.  Putting 127.0.0.1 (or anything else) in ProxyServer is simply necessary to enable the SIP support functions in the OBi.  Trust me, this works.

ps:  To configure my OBI like this I have to turn off auto provisioning I see.  If I do that, does my current configuration disappear or will it stay the same and just not be updated by the web portal?

Turning off Auto Provisioning will do nothing but prevent the OBiTALK Web Portal from changing your OBi's configuration.

pps:  what will the configuration changes you outline do to the current operation of the Obi, which is simply that it will make and receive calls via Google Voice?  Does that remain the same and if I want to sip dial I just select the **2 trunk?

Google Voice won't be affected.  The only settings involved in configuring Google Voice are:

Service Providers -> ITSP Profile A -> General -> Name : Google Voice
Service Providers -> ITSP Profile A -> General -> SignalingProtocol : Google Voice

Voice Services -> SP1 Service -> AuthUserName : (Google Voice username)
Voice Services -> SP1 Service -> AuthPassword : (Google Voice password)
Voice Services -> SP1 Service -> X_SkipCallScreening : (checked)

Physical Interfaces -> PHONE Port -> PrimaryLine : SP1 Service

You really don't need to worry about anything you've done on the OBiTALK Web Portal.
Logged
tome
Full Member
***
Posts: 125


« Reply #5 on: August 25, 2011, 06:50:30 pm »

You really don't need to worry about anything you've done on the OBiTALK Web Portal.

I am not worried so much as trying to understand how this all works and if I screw something up being able to get it back to a known state.

Speaking of understanding, is there a good reference for translation of this gibberish?
{(Mcot)>(Msp1):sp1},{(Mcot)>(<*1:>(Msp1)):sp1},{(Mcot)>(<*2:>(Msp2)):sp2},{(Mcot)>(<*8:>(Mli)):li},
{(Mcot)>(<*9:>(Mpp)):pp},{(Mcot)>(<**1:>(Msp1)):sp1},{(Mcot)>(<**2:>(Msp2)):sp2},
{(Mcot)>(<**8:>(Mli)):li},{(Mcot)>(<**9:>(Mpp)):pp},{(Mcot):aa},{ph}

and

([1-9]x?*(Mpli)|[1-9]|[1-9][0-9]|<00:$1>|0|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))

Tom
Logged
RonR
Forum Member

Posts: 4561


« Reply #6 on: August 25, 2011, 06:53:19 pm »

http://www.obihai.com/docs/OBiDeviceAdminGuide.pdf
Logged
tome
Full Member
***
Posts: 125


« Reply #7 on: August 25, 2011, 07:38:52 pm »

Here is what I have done (I still get fast busy dialing my friends #):

0) System Management -> Auto Provisioning -> Auto Provisioning -> Method -> Disabled

 To Disable auto provisioning

1) Voice Services -> OBiTALK Service -> InboundCallRoute:

{(Mcot)>(Msp1):sp1},{(Mcot)>(<*1:>(Msp1)):sp1},{(Mcot)>(<*2:>(Msp2)):sp2},{(Mcot)>(<*8:>(Mli)):li},
{(Mcot)>(<*9:>(Mpp)):pp},{(Mcot)>(<**1:>(Msp1)):sp1},{(Mcot)>(<**2:>(Msp2)):sp2},
{(Mcot)>(<**8:>(Mli)):li},{(Mcot)>(<**9:>(Mpp)):pp},{(Mcot):aa},{ph}

2)  Wasn't 100% sure about this one....

User Settings -> User Defined Digit Maps -> User Defined Digit MapX:

Label : cot
DigitMap : (200XXXXXX|290YYYYYY)

The 200XXXXXX is my OBi110 itself - should this be there?
The 290YYYYYY is the "My OBiTALK No." as shown on the iPhone app...

3) Changed both of these:
PHONE Port and Auto Attendant DigitMap's, change [1-9]x?*(Mpli) to [1-9]x?*@@.

4) Changed both of these:
PHONE Port and Auto Attendant OutboundCallRoute's, change {([1-9]x?*(Mpli)):pp} to {([1-9]x?*@@.):pp}

5) You have this: 
Speed Dial #2 : PP(ob200123002)
Speed Dial #3 : PP(ob200123003)
Speed Dial #4 : PP(ob200123004)

I put this in my speed dial #2:  PP(ob200XXXXXX)
 - where 200XXXXXX above is my OBi110

In Speed dial #1 I left what was there originally which was:  **9290YYYYYY
- where 290YYYYYY is the iPhone app OBITALK No.

6) Service Providers -> ITSP Profile B -> SIP -> ProxyServer : 127.0.0.1

7) Voice Services -> SP2 Service -> X_RegisterEnable : (unchecked)

Cool Speed dial #3 I have - **2XXXYYYZZZZ*81*23*228*140
  - where XXXYYYZZZZ is my friends sip number

When I did this, the iPhone app did not pick up the speed dial numbers that I changed on the Obi.  I went back to the web portal and added the two speed dials there:
PP(ob200XXXXXX)
and
**2XXXYYYZZZZ*81*23*228*140

And they then showed up on the iPhone app but dialing them gives me fast busy.

Where did I go wrong?
Tom
Logged
tome
Full Member
***
Posts: 125


« Reply #8 on: August 25, 2011, 07:45:23 pm »

1) Voice Services -> OBiTALK Service -> InboundCallRoute:

{(Mcot)>(Msp1):sp1},{(Mcot)>(<*1:>(Msp1)):sp1},{(Mcot)>(<*2:>(Msp2)):sp2},{(Mcot)>(<*8:>(Mli)):li},
{(Mcot)>(<*9:>(Mpp)):pp},{(Mcot)>(<**1:>(Msp1)):sp1},{(Mcot)>(<**2:>(Msp2)):sp2},
{(Mcot)>(<**8:>(Mli)):li},{(Mcot)>(<**9:>(Mpp)):pp},{(Mcot):aa},{ph}

I should add that I removed what was there by default and replace it with the above.

2)  Wasn't 100% sure about this one....

User Settings -> User Defined Digit Maps -> User Defined Digit MapX:

Label : cot
DigitMap : (200XXXXXX|290YYYYYY)

The 200XXXXXX is my OBi110 itself - should this be there?
The 290YYYYYY is the "My OBiTALK No." as shown on the iPhone app...

This is UserDefined DigitMap2 (in case that matters)...
Logged
RonR
Forum Member

Posts: 4561


« Reply #9 on: August 25, 2011, 08:00:27 pm »

Oops!  I left out one change you need to make SP2 work properly with SIP (ITSPB):

Voice Services -> SP2 Service -> X_ServProvProfile : B
Logged
tome
Full Member
***
Posts: 125


« Reply #10 on: August 25, 2011, 08:04:20 pm »

Oops!  I left out one change you need to make SP2 work properly with SIP (ITSPB):

Voice Services -> SP2 Service -> X_ServProvProfile : B

Ok I set this.  When I pick up the phone attached to the OBi110 I get the following:

Dialing 1 (**9290YYYYYY):  If app is running on the iPhone it rings, I can answer and it works
Dialing 2 PP(ob200XXXXXX):  Fast busy  ( I guess no surprising since this is the Obi itself)
Dialing 3 **2XXXYYYZZZZ*81*23*228*140:  "There is no service available to complete your call"

...and as I said above I get fast busy on the iPhone app calling speed dial 3 (which came from web portal)...
Tom

ps:  The status page says Service Not Configured for SP 2...?
« Last Edit: August 25, 2011, 08:18:52 pm by tome » Logged
RonR
Forum Member

Posts: 4561


« Reply #11 on: August 25, 2011, 08:20:24 pm »

ps:  The status page says Service Not Configured for SP 2...?

That's the problem.  It should say "Registration not required".

Now to figure out why.

Gimme a few...
Logged
RonR
Forum Member

Posts: 4561


« Reply #12 on: August 25, 2011, 08:23:44 pm »

It's been a while since I configured SP2 without a real SIP provider on it.

I think the missing link is:

Voice Services -> SP2 Service -> AuthUserName : (put anything here)
Logged
RonR
Forum Member

Posts: 4561


« Reply #13 on: August 25, 2011, 08:31:09 pm »

Make sure Speed Dial 3 works from the OBi before trying the OBiON App.
Logged
tome
Full Member
***
Posts: 125


« Reply #14 on: August 25, 2011, 08:36:39 pm »

It's been a while since I configured SP2 without a real SIP provider on it.

I think the missing link is:

Voice Services -> SP2 Service -> AuthUserName : (put anything here)


Hmm, better perhaps...?  After a longish delay I got a message "The number you dialed **2...  has not received a response from the service provider"  Could this be because he is not on at the moment?  He is traveling so that very well might be the case.  The status does now say "Registration Not Required".

However, I still cannot dial from the iPhone app (fast busy).  Should the iPhone app be able to get it's speed dial numbers from the Obi itself (because they aren't), or do they come from the web portal only?

Is there another sip destination number I could test with (a loopback or something)?

Thanks again for all your help!!

Tom
Logged
RonR
Forum Member

Posts: 4561


« Reply #15 on: August 25, 2011, 08:39:38 pm »

I know this works:

**218005551212*204*74*220*162

as it's what I've been testing with.
Logged
RonR
Forum Member

Posts: 4561


« Reply #16 on: August 25, 2011, 08:47:03 pm »

However, I still cannot dial from the iPhone app (fast busy).  Should the iPhone app be able to get it's speed dial numbers from the Obi itself (because they aren't), or do they come from the web portal only?

The OBiON Apps can only be configured from the OBiTALK Web Portal.  Why?  Darned if I know!

I don't have an iPhone, so I'm testing the X-Lite + OBiAPP for PC, and it works as expected.  Let's get calling from the OBi working first and then figure out what's happening with the iPhone.
Logged
tome
Full Member
***
Posts: 125


« Reply #17 on: August 25, 2011, 08:50:19 pm »

Cool, that did work, got directory assistance.

Tom
Logged
RonR
Forum Member

Posts: 4561


« Reply #18 on: August 25, 2011, 08:52:44 pm »

OK, the OBi end is working correctly.  Now for the iPhone.

Can you dial 18005551212 and **118005551212 from the iPhone and reach directory assistance through Google Voice?
Logged
tome
Full Member
***
Posts: 125


« Reply #19 on: August 25, 2011, 08:55:32 pm »

OK, the OBi end is working correctly.  Now for the iPhone.

Can you dial 18005551212 and **118005551212 from the iPhone and reach directory assistance through Google Voice?


No, I get fast busy dialing it either way.
Logged
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC