Quote from: wjcarpenter on November 22, 2015, 12:27:18 PM
I'm starting to lean more and more toward doing the Cisco phones on a separate Asterisk installation
This is how I setup Asterisk for routing calls to an OBi. I use FreePBX to configure Asterisk.
Asterisk
Setup an outbound trunk without registration for the OBi202:
Outbound CallerID: 4801234567
Peer Details:
type=peer
username=OBi202
host=192.168.1.110 (IP Addr and OBi202)
port=5063 (Port of SP4)
canreinvite=no
insecure=invite,port
qualify=yes
Setup an outbound route for above trunk
Setup an inbound route for 900 (See OBi202 SP2 inbound route)
You can setup a Ring Group to ring multiple extensions
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 -> X_RegisterEnable: (unchecked)
Voice Services -> SP4 Service -> X_ServProvProfile: D
Voice Services -> SP4 Service -> MaxSessions: 5
Route outbound calls from Asterisk to SP1
Voice Services -> SP4 Service -> X_InboundCallRoute: {4801234567>0:ph},{4801234567>(Msp1):sp1}
OR
Voice Services -> SP4 Service -> X_InboundCallRoute: {OBi202>0:ph},{OBi202>(Msp1):sp1}
Depending on the version, Asterisk will send either the outbound callerid or the username. I'm running Asterisk version 11.17.0 and it sends the outbound callerid.
Route inbound SP2 calls to Asterisk
Voice Services -> SP2 Service -> InboundCallRoute:
ph,sp4(900@192.168.1.100:5060) (Asterisk IP address and port)