Forwarding Calls from a remote OBi 110 to a PBX
I think I am finally sorting this all out. Below I will try to summarize what I think I understand. All I am discussing is related to the Obi (For the PBX side, I will work things out later.)
I see three ways to accomplish this.
1) Forward all calls using Google Voice to an incoming phone number on the PBX
2) Forward all calls using SIP URL dialing to a valid SIP URL on the PBX
3) Set up the OBi as an FXO port on the PBX system( and also it is possible to set up the obi as an FXA port as well)
Options 1 and 3, I understand well (I have included instructions below).
Here is my question : For option 2, I need A valid SIP URL on the PBX. Is this something that can be set up on most PBX systems?? ( If the answer is yes.. I'll work out the details...... if no then,I guess option 2 is not possible. ( This should have been my question to start this thread).It is interesting to me that in option 3, the incoming calls from the telephone line are forwarded to the same incoming line number. Very strange! This must work because of how the OBi interacts with the Pbx system.
For options 1 and 2
SP1 is set up for google voice
SP2 is set up for SIP
Method 1 uses Google Voice, and an incoming Number on the PBXPhysical Interfaces >> LINE Port:
LINE Port: >>InboundCallRoute: {SP1(415 xxx xxxx)}
Method 2 Create valid SIP URI on the PBX Then:In one of the articles you referenced above they routed calls from Google Voice to a sip phone
Voice Services >> SP1 Service:
SP1 Service >> X_InboundCallRoute: {ph,SP2(MangosSPA921@192.168.0.9:20921)}
MangosSPA921@192.168.0.9:20921 is a valid SIP URI for Mango's IP phone
I would want to do something similar, routing incoming calls from the line port:
Physical Interfaces >> LINE Port:
LINE Port: >>InboundCallRoute: {SP2(JohnsWAVEPBX@66.7.248.109:70050)}
JohnsWAVEPBX@66.7.248.109:70050 is a valid SIP URI for the PBX System
Method 3 FXO, FXA DO NOT SET UP SP1 and SP2 as above
Set up the OBi as an FXO port on the PBX system:These are the instructions from another article you referenced
1. Set a static IP address for your Obi 110 device:
2. Set-up the Obi 110 to act as an FXS Port (an extension of the PBX)
I will not include these instructions here (see references)
3. Set-up the Obi 110 as an FXO Port (i.e., to allow you to connect a phone line to the LINE port and then make and receive calls on it using your PBX):Service Providers
ITSP Profile B
SIP
SIP
Proxy Server: YOURPBXIPADDRESS
X_SpoofCallerID: Checked
X_AccessList: YOURPBXIPADDRESS
Voice Services
SP2 Service
SP2 Service
X-ServProvProfile: B
X_InboundCallRoute: LI
SIP Credentials:
AuthUserName: OBITRUNK1
AuthPassword: FXOPASSWORD
Voice Services
SP2 Service
SP2 Service
X-ServProvProfile: B
X_InboundCallRoute: LI
Physical Interfaces
Line Port
Line Port
InboundCallRoute: SP2(2125551212)
Note: Change 2125551212 to the phone number of the line that will be attached to your LINE port.
(Minor details of other programing follows )
If it seems that I am missing or very confused about the three methods I attempted for the big picture,
let me know . Again the one assumption I am making is for method 2 ..that a valid sip URL can be set up in a PBX, and this is something that is programed with the PBX system.