SANGOMA

Wanpipe CallWeaver Configuration

Sangoma SMG/BRI Configuration/Operation

 

  1. After successful SMG/BRI Installation the ./Setup script will prompt you to proceed with wanpipe/smg/bri configuration.
    -> Run: /usr/sbin/wancfg_smg
    The wancfg_smg script will proceed to configure each A500 BRI Port.
    The BRI configuration process is fully automated.

  2. After wancfg_smg configures all the cards, you will have an option to Restart Wanpipe/SMG/BRI.
    The startup procedure is comprised of three steps:
    1. wanrouter start
    Starts all wanpipe A500 BRI ports
    Usage: wanrouter [start|stop|restart]
    2. smg_ctrl start
    Starts SMG/BRI daemons. (very similar to ztcfg step when working with zaptel)
    Usage: smg_ctrl [start|stop|restart]
    3. callweaver
    Start callweaver .
    Run: callweaver -r  to log into the CLI

  3. At this point we are ready to write our Dial Plan in /usr/local/etc/callweaver/extensions.conf
    Callweaver will connect to the SMG daemon using a woomera channel driver.

    This is an example of /usr/local/etc/callweaver/extensions.conf

    ;Sangoma SMG Outbound context
    ;Place call on woomera channel to SMG/BRI
    ;==================================

    [outb]
    exten => _X.,1,noop
    exten => _X.,n,Dial(WOOMERA/g1/${EXTEN}|60|o)
    exten => _X.,n,Hangup

    ;Sangoma SMG Incoming Contexts
    ;Context name defined in /usr/local/etc/callweaver/woomera.conf

    ;====================================

    [sangoma]
    exten => _X.,1,noop
    exten => _X.,n,Playback(demo-congrats)
    exten => _X.,n,Hangup
    ;Early Media Example
    ;To play a file without answering the call

    [sangoma4]
    exten => _X.,1,noop
    exten => _X.,n,Playback(demo-congrats|noanswer)
    exten => _X.,n,Hangup
  4. After we configured the CallWeaver Extensions file we are ready to restart CallWeaver and start making calls.

Site

Changes
Index
Search

 

User

 

Log In
Register

 
 

Last Modified 4/2/08 2:10 PM