openSBC is depreciated, it's replacement is Karoo.
This document will attempt to provide working OpenSBC configurations for a few commonly used sipxecs calling scenarios. It is a work in progress, so please check back often. For any questions or comments, contact the author (raymund.nones [at] gmail.com) or post to the OpenSBC forum at http://www.opensourcesip.org.
...
Setting OSBC Upper Registration
- Go to Upper Registration
Input the Route at the Route-List Field and select Add
for the given example route: [sip:*] sip:sipx.example.com
this will route all traffic from OSBC to SipX instance at sipx.example.comNote For domain rewriting, click the check box for Domain Rewriting (i'll be giving examples regarding the Rewrite Feature on my next update)
If Rewrite-TO-Domain is check, domain of the To-URI will be rewritten and use the domain parameter of the route-uri.
If Rewrite-FROM-Domain is check, domain of the From-URI will be rewritten and use the domain parameter of the route-uri- Press Update
In SipXecs:
- Create a user / extension ex. Uid: 200 Pw: 200
...
- Using the settings for OSBC from Scenario #1, Go to B2BUA Routes
Add Routes to Route-List
Ex. [sip:12345678] sip:100@sipx.example.comNote replace 12345678 with your correct DID number
for the given example route: [sip:12345678] sip:100@sipx.example.com this will route calls from OSBC(12345678) to SipX AutoAttendant(indicated by ext 100 or replace with 200 to go directly to extension) at sipx.example.com
- Press Update
In SipXecs:
- Create users / extensions ex.
Uid: 200 Pw: 200
...
In OSBC:
- Go to B2BUA Routes
Add Routes to Route-List
Ex. [sip:12345678] sip:100@sipx.example.comNote replace 12345678 with your correct DID number
for the given example route: [sip:12345678] sip:100@sipx.example.com this will route calls from OSBC(12345678) to SipX AutoAttendant(indicated by ext 100 or replace with 200 to go directly to extension) at sipx.example.com(local SipXecs Address)
- Press Update
In SipXecs:
- Create users / extensions ex.
Uid: 200 Pw: 200
...
- Go to OSBC Sip Trunk Config
Paste the XML for the config (sample below)
Code Block <root> <siptrunk trunk-name="my.sipprovider.com" route-set="sip:sip.sipprovider.com" sip-domain="sip.sipprovider.com" expires="10"> <trunk-accounts> <account user-name="xxxxxxx" auth-user-name="xxxxxx" auth-password="xxxxxx" inbound-route="sip:100@sipx.example.com" expires="3600"/> </trunk-accounts> <transient-accounts> <account user-name="xxxxx" auth-user-name="xxxx" auth-password="xxxx" inbound-route="sip:100@sipx.example.com" expires="3600"/> </transient-accounts> </siptrunk> </root>
- Press Update
- To check if registration is successful, Go to Sip-Trunk Registration Status
sip:xxxxxxx@sip.sipprovider.com sip:xxxxxx@xxx.xxx.xx.xx:5066 00773236-91be-dd11-8be9-e96beb558260@sip.sipprovider.com SIP/2.0 200 OK
...