Child pages
  • OpenSBC Setup Guide

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

  1. Go to Upper Registration
  2. 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.com

    Note

    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

  3. Press Update

In SipXecs:

  1. Create a user / extension ex. Uid: 200 Pw: 200

...

  1. Using the settings for OSBC from Scenario #1, Go to B2BUA Routes
  2. Add Routes to Route-List
    Ex. [sip:12345678] sip:100@sipx.example.com

    Note

    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

  3. Press Update

In SipXecs:

  1. Create users / extensions ex.
    Uid: 200 Pw: 200

...

In OSBC:

  1. Go to B2BUA Routes
  2. Add Routes to Route-List
    Ex. [sip:12345678] sip:100@sipx.example.com

    Note

    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)

  3. Press Update

In SipXecs:

  1. Create users / extensions ex.
    Uid: 200 Pw: 200

...

  1. Go to OSBC Sip Trunk Config
  2. 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>
    
  3. Press Update
  4. 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

...