Sangoma Hardware
HW Installation Manuals
Tutorials
Wanpipe Drivers Download Linux | Windows
Product Spotlight (New)
D100 Transcoding
B800 Analog FXS/FXO
Tapping
BRI: B700 / A500
Wanpipe for Asterisk
Install
Configure
Operation
Debugging
Tutorials
Appendix
Trixbox
AsteriskNOW
OSLEC *NEW*
Faxing
FAQ
Wanpipe for FreeSwitch
Install
Configure
Operation
FreeTDM
FAQ
Appendix
Netborder VoIP Gateway
Linux
Windows
Release Notes
FAQ
Config Options
Routing Rules
Guide *NEW*
Examples *NEW*
Netborder Call Analyzer
Release Notes
FAQ *NEW*
Asterisk Integration
Vicidial Integration *NEW*
Avaya Integration *NEW*
SMG-SS7
Install/Upgrade
Asterisk-SS7 Install
FreeSwitch-SS7 Install
Configure
Operation
Debugging
FAQ
Wanpipe TDM API
LibSangoma
Install/Config
FreeTDM
Wanpipe MTP2 API
Wanpipe for Wan/API
Install
Configure
RPMs
Operation
AFT Data API
MPAPI-X25 API
ADSL - S518
ADSL2+ - S519
Multi-Link PPP
Appendix
FAQ
Wanpipe for Yate
Install
Configure-Linux
Wanpipe for Callweaver
Install
Configure
Wanpipe Case Studies
Troubleshooting
Tech Support
Glossary
| Wanpipe for Windows |
Chan_Woomera to Multiple SMGs
One of the unique features of Chan_Woomera is that it can connect to multiple Woomera Severs (SMG is a Woomera Server). This allows you have a load balanced and redundant setup ensuring maximum system uptime. Adding another Woomera Server to the Chan_Woomera configuration is as easy as adding another "profile" to the configuration.
Woomera.conf Setup
- Since we are going to make major changes to the "woomera.conf" configuration file it is best to start from scratch rather then build on the default version of the file. Start by making a backup of the existing "woomera.conf" file by coping it "woomera.conf.backup"
# cp /etc/asterisk/woomera.conf /etc/asterisk/woomera.conf.backup
- Clean out/remove all the options of the "woomera.conf" file
# echo " " > /etc/asterisk/woomera.conf
- The first section of the file is the "global" settings section. Copy the following to the file to setup the global options
[settings]
;global debug flag
;Production set to 2
;Debugging set to 3
debug=2 - Next we need to starting adding a "profile" for each SMG system this Woomera Client will connect to. Copy the following to the file:
[smg-A]
host=<ip address of SMG system>
port=42420
audio_ip=<ip address of this system on LAN to SMG system>
base_media_port=10000
max_media_ports=1000
context=sangomaA
debug=2
dtmf_enable=1
jb_enable=0
progress_enable=0 - Repeat step 4 for each SMG system that Chan_Woomera will be connecting to giving it a unique profile name and unique context value (in addition to filling in the correct IP addresses)
Asterisk Incoming Call Setup
Chan_Woomera sends incoming calls from the Woomera server to the context specified for the the "context=" option for that profile.
For example, if your woomera.conf had the following profile:
[smg-A]
host=192.168.1.10
port=42420
audio_ip=192.168.1.11
base_media_port=10000
max_media_ports=1000
context=sangomaA
debug=2
dtmf_enable=1
jb_enable=0
progress_enable=0
and a call came in on Trunk Group 1 (sangoma_isup.conf trunk group 0), the call would enter the Asterisk dial plan at:
[sangomaA1]
Asterisk Outgoing Call Setup
For an outgoing call from Asterisk to the Woomera Server you need to specify the profile to use in the dial string.
For example, if your woomera.conf had the following profile:
[smg-A]
host=192.168.1.10
port=42420
audio_ip=192.168.1.11
base_media_port=10000
max_media_ports=1000
context=sangomaA
debug=2
dtmf_enable=1
jb_enable=0
progress_enable=0
then you can send a call to trunk group 1 on this profile using the following dial string
dial(woomera/smg-A:g1/${EXTEN},60)