==================================================================== BOL B2BUA README ==================================================================== BOL B2BUA Version v3.1 Release Apr 2007 ======================== Trial Version Agreement ======================== This software is licensed free of charge for evaluation purposes only. Some limitations have been introduced to this effect. BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL BOL, OR ANY OTHER PARTY, BE REQUIRED TO PROVIDE ANY ASSISTANCE OR SERVICE TO YOU. By downloading and/or using the software, you thereby agree to these above terms. ==================================================================== INTRODUCTION ==================================================================== The B2BUA is basically two UAs working back-to-back and thus controlling the calls going through it. Unlike a sip-proxy, a B2BUA will take an incoming call, modify it and present it in other form to final destination. The B2BUA is in the call-signaling-path at all times. There are numerous applications in which the B2BUA can be used either as a media negotiator or a simple supervisor over a call between two parties. The software provides a basic framework for a B2BUA and we have added a prepaid billing application on top of that framework. Figure 1. +-----------------------+ | PrePaid Application | |_______________________| | B2b Base | |_______________________| Figure 2. +------------+ +-------+ +------------+ | Endpoint A | <----> | B2BUA | <----> | Endpoint B | +------------+ +-------+ +------------+ /|\ | \|/ +--------+ | RADIUS | +--------+ Figure 3. +------------+ +-------+ +------------+ | Proxy (SER)| <----> | B2BUA | <----> | PSTN | +------------+ +-------+ +------------+ /|\ | \|/ +--------+ | RADIUS | +--------+ Based on the requirement a B2BUA needs to deal with one or more of the following: o AAA (Authentication, Authorization and Accounting) o SIP message translation/rewriting o SDP manipulation o PDD Timer o SessionTimer o Provisioning Response The Configuration: ------------------ The B2BUA can be configured by using the file b2bConfig.xml, using a provisioning system is not supported in this release. The details of each field in the configuration file are as follows: BOL B2BUA v3.1 (build 20061123) 192.168.0.40 15060 Trial Version Thu, 01 Jan 1970 00:00:00 +0000 20 192.168.0.40 15060 UDP UDP 127.0.0.1 5067
192.168.0.78
5067
no
0.0.0.0
-1 60
false false UPDATE 0 90 uas true INVITE 95 90 uac 10 20 60
B2BUA 1812 1813 password20
192.168.0.20
192.168.0.21
1819 1820 password21
2000 3 yes yes yes
7200 60 Proxy-Authorization Basic no no
==================================================================== NEW FEATURES AND FUNCTIONS IN THIS RELEASE ==================================================================== This release implements these features and functionality: 1. The B2BUA implements the 2 A's (Authorization and Accounting) 2. The B2BUA will have three timer to monitor the call setup progress. if the timer goes time out, the call will be correctly cleared, and the billing will be correctly calculated. 3. The B2BUA implements the Call monitoring and based on the time a user is authorized to make a call, can preempt the call, if duration exceeds the allowed time. 4. Cisco Vendor Specific RADIUS attributes are supported. 5. RADIUS server redundancy supported. 6. Reload configuration at run time using `kill -HUP pid' or `kill -USR1 pid' is supported. Telnet monitoring interface is developing in progress. 7. Server status using `kill -USR2 pid' is supported. 8. New features: a) B2BUA is able to send to different trunk gateway and change the RURI using the RADIUS messages, h323-redirect-ip-address, h323-redirect-number b) telnet monitoring interface. c) one side Session Timer using INVITE supported. d) PDD timer supported. ==================================================================== GETTING STARTED ==================================================================== For more information on using this system, please refer to the Installation Guide at http://www.bol2000.com/b2bua under Documents. HARDWARE OR SOFTWARE REQUIREMENTS -------------------------------------------------------------------- The recommended hardware is as follows: 700MHz, Intel Pentium III PC processor, 512MB RAM, 1G Harddisk The B2bUa runs on Linux operating systems. On Linux, we have tested with Redhat 9.0, CentOS 3.x 4.x (4.4 now) on Intel Pentium III, Pentium 4, Xeon. The B2BUA can be configured from a flat file (see the sample config file in the directory b2bConfig.xml) INSTALLATION INSTRUCTIONS -------------------------------------------------------------------- 1. Download the tar ball. 2. Untar the B2BUA tar using one of these commands: - Linux: tar -xvzf BOL B2BUA-n.n.n.tar.gz Where: n.n.n is the version number. 3. add a directory in the /tools ( root user privilege needed ). Extract the tools.tar.gz into the tools directory using the following command: mkdir -vp /tools && tar -C /tools tools.tar.gz 4. USING THE SOFTWARE -------------------------------------------------------------------- [BOL B2BUA@ngsw-dev3 /home/BOL B2BUA]$ ./BOL B2BUA -h program built at: Dec 7 2006 10:34:00 ProductName: BOL B2BUA ProductVersion: v3.1 (build 20061123) Usage: ./BOL B2BUA [-V] [-h] [-b] [-d] [-f log-filename] [-v DEBUG_LEVEL] [-c config_file] [-p port] DESCRIPTION -V Product Info -b build information -d do not fork into background (no daemon mode) -f log-filename output log to log-filename -v DEBUG_LEVEL set the debug level DEBUG_LEVEL available options log output Priorities (from the highest to lowest) : LOG_EMERG /** system is unusable */ LOG_ALERT /** action must be taken immediately */ LOG_CRIT /** critical conditions */ LOG_ERR /** error conditions */ LOG_WARNING /** warning conditions */ LOG_NOTICE /** normal but significant condition */ LOG_INFO /** informational */ LOG_DEBUG /** debug-level messages */ LOG_DEBUG_STACK /** stack debug-level messages */ LOG_DEBUG_OPER /** stack operator debug-level messages */ LOG_DEBUG_HB /** heartbeat debug-level messages */ LAST_PRIORITY /** an alias for the last cpLog priority level, for use in bounds-checking code */ -c config_file specify a configfile To execute the B2BUA, reading its configuration from a flat file: ./b2bua -c b2bConfig.xml -v LOG_INFO -f b2b.log Example scenario using the b2bConfig.xml: +---<-------> RADIUS | 192.168.0.20 | proxy, RADIUS <--------> B2bUA <-----> UA2 192.168.0.20:5060 192.168.0.40:15060 192.168.0.78:5067 ==================================================================== CONTACT INFORMATION AND WEBSITE ==================================================================== We welcome your feedback, suggestions and contributions. Contact us via email if you have any questions, feedback, and bug reports. For general inquiries - E-Mail: b2bua_nospam_bol2000.com MSN: jiangjinke_nospam_hotmail.com Skype: jiangjinke_nospam_163.com googletalk: jjksam_nospam_gmail.com please replace the above `_nospam_' with `@'. or contact ====================================================================