News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

Polycom IP phone with OBI202 for landline

Started by CheapB, July 07, 2017, 08:19:15 AM

Previous topic - Next topic

CheapB

I am setting up my my OBI202 and OBILINE and I was wondering if it is possible to use IP  phones in addition to the Phone1 and Phone2 options?

This is the setup:

SP1: Google Voice line #1 ringing on phone2 - working
SP2: Aveno account ringing on phone1  - working except waiting for European DID to be ported
SP3: Google Voice line  #2 rining pn phone2 - in the process of being ported
SP4: CallCentric test line - can be removed if needed

Landline is connected via OBILINE

Analog phones connected to Phone1 and Phone2

Here is the question: I would like SP2 and the landline to ring on a Polycom IP phone in addition to Phone2. Outbound calls should go through the landline. Is this possible and how?

Thanks in advance..






azrobert

#1
You can route calls to the IP address and port number of the Polycom.
Use OBi Expert to make the following changes:

Service Providers -> ITSP D Profile SIP -> X_SpoofCallerID: checked

Voice Services -> SP2 Service -> X_InboundCallRoute:
ph,sp4(userid@xx.xx.xx.xx:port#)

Physical Interfaces -> Line Port -> InboundCallRoute:
ph2,sp4(userid@xx.xx.xx.xx:port#)

Some IP Phones require "userid" to match the UserID of the phone's account.
You can still use SP4 for CallCentric.

CheapB

Thanks!  The Polycom is not configured yet so I assume I can just configure that using callCentric. How would this look if I wanted to use the landline as default outbound from the IP phone as well? It seems like the below idea is bypassing OBI202 for outbound.

Quote from: azrobert on July 07, 2017, 08:48:18 AM
You can route calls to the IP address and port number of the Polycom.
Use OBi Expert to make the following changes:

Service Providers -> ITSP D Profile SIP -> X_SpoofCallerID: checked

Voice Services -> SP2 Service -> X_InboundCallRoute:
ph,sp4(userid@xx.xx.xx.xx:port#)

Physical Interfaces -> Line Port -> InboundCallRoute:
ph2,sp4(userid@xx.xx.xx.xx:port#)

Some IP Phones require "userid" to match the UserID of the phone's account.
You can still use SP4 for CallCentric.


azrobert

#3
If the Polycom can place calls without registration, you can point the phone's Proxy parm at the OBi202's SP4 address and port plus adding some rules to the InboundCallRoute.

If it can't call without registration, you need to redefine SP4 as a Proxy and register the phone to it.

You can then define a Voice Gateway on the OBi202 for outbound Callcentric calls.
Inbound Callcentric calls can be routed to your public IP address. You will need to setup port forwarding in your router.

What trunks do you want to use on the Polycom? What trunk do you want as the default?

Here are instructions I previously wrote:

OBi202:
Service Providers -> ITSP Profile D  SIP -> ProxyServer: 127.0.0.1
Service Providers -> ITSP Profile D  SIP -> X_SpoofCallerID: Checked
Voice Services -> SP4 Service -> AuthUserName: OBi202
Voice Services -> SP4 Service -> AuthPassword: OBi202PW
Voice Services -> SP4 Service -> X_RegisterEnable: Unchecked
Voice Services -> SP4 Service -> X_ServProvProfile: D
Voice Services -> SP4 Service -> X_Proxy: Checked  
Voice Services -> SP4 Service -> X_InboundCallRoute: {OBi202>(Msp1):sp1}

Voice Services -> SP1 Service -> X_InboundCallRoute:
ph,SP4(OBi202@local_client)

IP Phones:
Proxy: 192.168.1.100  (IP address of the OBi202)
Proxy Port: 5063     (X_UserAgentPort of OBi202 SP4 trunk)
UserID: OBi202
Password: OBi202PW

CheapB

I found a yealink phone to test this with and I have a hard time getting it to work. I wonder if the issue is that the IP phone is not connected to the LAN port of OBI202? I read somewhere the proxy should be changed from 127.0.0.1 to the IP of the phone but that didnt work either. anyway that would seem to limit the use to a single IP phone. The OBI202 is in the basement where the phone lines are coming in and there is no way to route the IP phone to the LAN post of the OBI202

Quote from: azrobert on July 07, 2017, 09:57:35 AM
If the Polycom can place calls without registration, you can point the phone's Proxy parm at the OBi202's SP4 address and port plus adding some rules to the InboundCallRoute.

If it can't call without registration, you need to redefine SP4 as a Proxy and register the phone to it.

You can then define a Voice Gateway on the OBi202 for outbound Callcentric calls.
Inbound Callcentric calls can be routed to your public IP address. You will need to setup port forwarding in your router.

What trunks do you want to use on the Polycom? What trunk do you want as the default?

Here are instructions I previously wrote:

OBi202:
Service Providers -> ITSP Profile D  SIP -> ProxyServer: 127.0.0.1
Service Providers -> ITSP Profile D  SIP -> X_SpoofCallerID: Checked
Voice Services -> SP4 Service -> AuthUserName: OBi202
Voice Services -> SP4 Service -> AuthPassword: OBi202PW
Voice Services -> SP4 Service -> X_RegisterEnable: Unchecked
Voice Services -> SP4 Service -> X_ServProvProfile: D
Voice Services -> SP4 Service -> X_Proxy: Checked  
Voice Services -> SP4 Service -> X_InboundCallRoute: {OBi202>(Msp1):sp1}

Voice Services -> SP1 Service -> X_InboundCallRoute:
ph,SP4(OBi202@local_client)

IP Phones:
Proxy: 192.168.1.100  (IP address of the OBi202)
Proxy Port: 5063     (X_UserAgentPort of OBi202 SP4 trunk)
UserID: OBi202
Password: OBi202PW


azrobert

Disclaimer: I don't own an OBi202, so anything I post about an OBi202 might not be accurate. If anyone else wants to comment, please do.

What does your network look like? Do you have another router? Defining the OBi202 as a 2nd network can cause problems. I played with an OBi connected to a 2nd router and had to use port forwarding to get it to work as a proxy. Is your 202 defined as a router or bridge. Setting it to bridge mode might fix your problem.

I connected several SIP devices to a single SP trunk defined as a proxy on an OBi200. You just use the same credentials for all the devices. You can't use local_client option when routing inbound calls to multiple IP Phones. If you do, only the last device to register to the proxy will receive calls. You need to route the calls to the IP address and port of the phone. You also need to increase the MaxSessions parm  on the SP4 Service. You should allow 2 sessions for each device connected.

drgeoff

#6
http://web.archive.org/web/20160317011451/http://www.obihai.com/docs/OBi-VoIP-Device-Attach-Legacy-IP-Phone-Workbook-v1-0.pdf may give more insight.

Option 1 uses the 202 in router mode.  Option 2 uses the 202 in bridge mode.

CheapB

Quote from: drgeoff on July 08, 2017, 02:42:54 AM
http://web.archive.org/web/20160317011451/http://www.obihai.com/docs/OBi-VoIP-Device-Attach-Legacy-IP-Phone-Workbook-v1-0.pdf may give more insight.

Option 1 uses the 202 in router mode.  Option 2 uses the 202 in bridge mode.

My setup is option 2. If i understand the instruction correctly I will need to have an ITSP Profile for each IP phone as they will be registered as the proxyserver?

azrobert

Quote from: CheapB on July 08, 2017, 04:33:56 AM
If i understand the instruction correctly I will need to have an ITSP Profile for each IP phone as they will be registered as the proxyserver?

No. Use the same credentials to register multiple devices to SP4.

Increase max sessions:
Voice Services -> SP4 Service -> MaxSessions: 4

Route inbound calls to the IP addresses of the phones like this:
ph,sp4(OBi202@xx.xx.xx.xx:port),sp4(OBi202@yy.yy.yy.yy:port)

You can fork the inbound call to a max of 4 devices (phone port + 3 IP phones).

CheapB

according to the doc the proxy needs to be the phone's IP in mode 2: •

ITSP Profile D/SIP/ProxyServer = 192.168.1.10 (ie IP address of our SPA962 IP Phone)

Quote from: azrobert on July 08, 2017, 07:00:22 AM
Quote from: CheapB on July 08, 2017, 04:33:56 AM
If i understand the instruction correctly I will need to have an ITSP Profile for each IP phone as they will be registered as the proxyserver?

No. Use the same credentials to register multiple devices to SP4.

Increase max sessions:
Voice Services -> SP4 Service -> MaxSessions: 4

Route inbound calls to the IP addresses of the phones like this:
ph,sp4(OBi202@xx.xx.xx.xx:port),sp4(OBi202@yy.yy.yy.yy:port)

You can fork the inbound call to a max of 4 devices (phone port + 3 IP phones).