OBiTALK Community

General Support => Installation and Set-Up (Devices) => Topic started by: yiannisc on June 03, 2015, 07:09:10 AM

Title: Obitalk to SIP
Post by: yiannisc on June 03, 2015, 07:09:10 AM
Hi guys,

I have an OBi110. Want to bridge Obitalk to a SIP phone. From what I understand the Obi110 cannot do that.

So I thought to do this: Obitalk <-> SP1 <-> VoiP PBX <-> SIP Phone.

So, any call coming through the Obitalk to go to SP1 which is a PBX extension (xxx) which has a forward to another extension (YYY) to which the SIP phone is connected to. Obviously I want the same to happen in the opposite direction.

Many thanks,
Yiannis

Title: Re: Obitalk to SIP
Post by: azrobert on June 03, 2015, 07:45:46 AM
Which provider do you have defined on SP1?
Is SP2 defined and which provider?
Is your PBX Freepbx/Asterisk?
Is the PBX on the same LAN as the OBi110?
Is the SIP phone on the same LAN as the OBi110?
What model is your SIP phone?
Can your SIP phone call without registration?
If your SIP phone can call without registration, you won't need the PBX.
Title: Re: Obitalk to SIP
Post by: yiannisc on June 03, 2015, 08:02:16 AM
Hi thanks for the help.

SP1 has no provider the PBX is pbxes.org (cloud PBX).
SP2 not connected.
The SIP phone is on the same LAN as the OBi110.
The SIP Phone is a Gigaset N300A IP (Cordless SIP phone).
I don't think that the N300A can call without registering.

I don't want to be using the phone port or line port of the OBi110. That's why I want to route OBitalk to SIP, somehow.

The SP1 is registering OK on pbxes.org and I have the forwarding working OK. I only need to do the routing in the OBi110 of OBitalk <-> SP1.

Thanks again,
Yiannis
Title: Re: Obitalk to SIP
Post by: azrobert on June 03, 2015, 08:13:52 AM
Do you want to route the call over the OBiTalk network to another OBi ATA?

The following would have to be modified.
http://www.obitalk.com/forum/index.php?topic=5411.0
Title: Re: Obitalk to SIP
Post by: yiannisc on June 03, 2015, 08:15:37 AM
Hi,

No, not to another OBi ATA.

Thanks,
Yiannis
Title: Re: Obitalk to SIP
Post by: azrobert on June 03, 2015, 08:25:40 AM
Where are you routing the call?
See ericpberry's reply about RegisterExpires. 
Title: Re: Obitalk to SIP
Post by: yiannisc on June 03, 2015, 08:40:50 AM
I think that my main issue is the DialPlans and/or CallRoutes. These should be fairly simple because I have very limited routing to do without involving special numbers, country or area codes.

My Obitalk works with 4 speedials 1 - 4.
1 is an OBiON Android App.
2 is the OBi110 (itself)
3 and 4 are two other OBi's at a different site.

So from the SIP phone I will be dialing 1, 3 or 4.

When another OBi calls, then I want the SIP phone to be ringing.

That's all, really.
Title: Re: Obitalk to SIP
Post by: yiannisc on June 03, 2015, 08:48:06 AM
I have set RegisterExpires to 60 (a bit too low, maybe, but I can increase later on).
Title: Re: Obitalk to SIP
Post by: yiannisc on June 03, 2015, 10:39:53 AM
After loads of attempts, I still do not know how to deal with it, I am afraid.

The OBi is registering OK with pbxes.org

My main problem is routing. I still cannot understand the routing syntax of the OBi.
Title: Re: Obitalk to SIP
Post by: azrobert on June 03, 2015, 02:14:53 PM
Voice Services ==> SP1 Service -> X_InboundCallRoute:
{>1:pp(290123456)},{>3:pp(200222222)},{>4:pp(200333333)}

290123456 is the OBi number of OBion
200222222 is the OBi number of OBi#2
200333333 is the OBi number of OBi#3

Voice Services ==> OBiTalk Service -> InboundCallRoute:
sp1(0@xx.xx.xx.xx:5060;ui=$1)

The above will route calls directly to your IP phone.
Change xx.xx.xx.xx:5060 to the IP address and port# of the IP phone.
This call will not go to PBXes.
You are re-using SP1 to route the call via a SIP URI.

If you can't get this to work use:
sp1(100)

Change 100 to the PBXes extension number of the IP phone.

Edit:

Format of the OBi inbound route for SP1 (PBXes Sub-Pbx)

{ CallerID > Dialed Number : Destination }

CallerID as defined in PBXes for the Sub-PBX
If omitted, any CallerID will be accepted

> separator