Brekeke SIP Server Version 3 Administrator s Guide Brekeke Software, Inc.

Size: px
Start display at page:

Download "Brekeke SIP Server Version 3 Administrator s Guide Brekeke Software, Inc."

Transcription

1 Brekeke SIP Server Version 3 Administrator s Guide Brekeke Software, Inc.

2 Version Brekeke SIP Server v3 Administrator s Guide Copyright This document is copyrighted by Brekeke Software, Inc. Copyright 2012 Brekeke Software, Inc. This document may not be copied, reproduced, reprinted, translated, rewritten or readdressed in whole or part without expressed, written consent from Brekeke Software, Inc. Disclaimer Brekeke Software, Inc. reserves the right to change any information found in this document without any written notice to the user. Trademark Acknowledgement Linux is a registered trademark of Linus Torvalds in the U.S and other countries. Red Hat is a registered trademark of Red Hat Software, Inc. Windows is a trademark or registered trademark of Microsoft Corporation in the United States and other countries. Mac is a trademark of Apple Computer, Inc., registered in the U.S. and other countries. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Other logos and product and service names contained in this document are the property of their respective owners. 1 Brekeke SIP Server Administrator s Guide

3 1. Introduction What is Brekeke SIP Server? Editions Installation System Requirements Installation for Windows with the Executable Installer Installation for Linux Brekeke SIP Server Administration Tool Status Server Status Start / Shutdown Active Sessions Active Sessions Session Details Registered Clients View Clients New Client Dial Plan Rules New Rule/ Edit Rule Import / Export Rules Aliases New Alias / Edit Alias Import / Export Alias User Authentication View Users New User / Edit User Import / Export Users Brekeke SIP Server Administrator s Guide

4 3.7. Logs Call Logs Daily Log Configuration System ) General ) Network ) IPv ) Address Filtering ) DNS ) UPnP ) Java SIP ) SIP exchanger ) NAT traversal ) Authentication ) Upper Registration ) Thru Registration ) Timeout ) Miscellaneous ) TCP ) TLS ) Performance Optimization (Proxy) ) Performance Optimization (Registrar) RTP ) RTP exchanger ) Timeout Database/Radius ) Embedded Database ) Thirdparty Registered Database ) Thirdparty Users Database ) Thirdparty Alias Database ) Radius Advanced Domains Brekeke SIP Server Administrator s Guide

5 New Domain / Edit Domain Redundancy Mirroring ) Server Status ) Mirroring Settings Heartbeat ) Heartbeat Status ) Heartbeat Settings ) Remote Access Heartbeat Settings Action Settings ) Send ) Re-initialize as primary ) Add IP Address ) Delete IP Address ) Execute Command ) Management Command Maintenance Back Up Restore Password Update Software Activate Dial Plan What is the Dial Plan? Create and Edit Dial Plan Matching Patterns Syntax ) SIP Header Field Name ) Environment Variable ) Conditional Function Reference of Conditional Functions ) General Functions Brekeke SIP Server Administrator s Guide

6 $addr $body $date $geturi $globaladdr $headerparam $istalking $mirroring $mydomain $not $outbound $param $port $primary $registered $registeredaddr $registereduri $regaddr $reguri $request $sid $sessionnum $soapget $subparam $time $transport $uriparam $webget ) Alias Functions $alias.lookup $alias.reverse ) Mathematical Functions $math.ge $math.gt $math.le Brekeke SIP Server Administrator s Guide

7 $math.lt $math.rand ) String Functions $str.equals $str.hashcode $str.isdigits $str.length $str.md $str.remove $str.reverse $str.substring $str.trim ) User Directory Functions $usrdir.lookup Deploy Patterns Syntax ) SIP Header Field Name ) Environment Variable ) Handling Variable Reference of Handling Variable $action $auth $b2bua $continue $ifdst $ifsrc $log $nat $replaceuri.from $replaceuri.to $request $response $rtp $session $target Brekeke SIP Server Administrator s Guide

8 5. Upper Registration and Thru Registration Upper Registration Thru Registration NAT Traversal Brekeke SIP Server Behind NAT (Near-End NAT traversal) UPnP Settings Manual Configuration For Clients Behind NAT over the Internet (Far-End NAT traversal) Basic Setup Setup Brekeke SIP Server SIP Client Setup Make a test call Security Administration Tool SIP Authentication SIP Authentication for all INVITE/REGISTER requests SIP Authentication for certain requests To block a non-registered user's INVITE request Mirroring/Heartbeat Deployment Structure The Primary Server Settings Firewall Settings at the Primary Server Add the Virtual IP Address in the Primary Server Mirroring Settings at the Primary Server The Secondary Server Settings Mirroring Settings at the Secondary Server Heartbeat Settings for the Secondary Server Start the Mirroring and Heartbeat features Brekeke SIP Server Administrator s Guide

9 Start the Primary Server Start the Secondary Server Environment Variables General Registrar TCP UPnP Logging Uninstall Uninstall from Windows Uninstall from Linux Appendix A: Glossary Brekeke SIP Server Administrator s Guide

10 1. Introduction This document explains the installation and configuration settings of the Brekeke SIP Server Software. The document will help you to start a SIP based service such as VoIP (Voice over IP) What is Brekeke SIP Server? The Brekeke SIP Server is an open standard based SIP Proxy Server and Registrar. It authenticates and registers user agents such as VoIP device and softphone, and routes SIP sessions such as VoIP calls between user agents. The Brekeke SIP Server has the following main functions: Routing The Brekeke SIP Server will route SIP requests from a SIP user agent or another server to the most appropriate SIP URI address based on its Registrar Database. By specifying desired routing settings in the Dial Plan, you can also prioritize your routing. If the routing resolves successfully on the server, you can establish a session even when the final SIP URI address is unknown to the caller. Using Regular Expressions, you can easily create a Dial Plan rule that will analyze SIP headers or the IP address of SIP packets to route calls. For example, you can set a prefix for each location with Dial Plan settings. Such settings are especially useful for multi-location office usage of the Brekeke SIP Server. Registrar The Brekeke SIP Server receives REGISTER requests from SIP user agents, and updates its Registrar Database. SIP URI in the REGISTER request will be added in the database as a user s address. Using the registrar function, you will be able to receive calls from any SIP user agents using your unique SIP URI. NAT Traversal When caller and callee are located on different networks, the Brekeke SIP Server can connect calls by rewriting SIP packets appropriately. It is common to have private local IP addresses within a LAN environment, thus NAT Traversal service is necessary when a local user is establishing a connection with another user in the global IP network (Internet). Depending upon the situation, Brekeke SIP Server will relay RTP packets to prevent losing media data such as voice and video. The NAT traversal feature on the Brekeke SIP Server supports both Near-End NAT (the server and SIP user agents located within the same 9 Brekeke SIP Server Administrator s Guide

11 firewall) and Far-End NAT (SIP user agents located on the other side of a firewall of a remote network). Upper/Thru Registration Upper/Thru Registration is a unique feature of the Brekeke SIP Server that allows easy configuration of parallel users of pre-existing or other SIP servers. By forwarding REGISTER requests to specified SIP servers, the feature allows users to register their SIP user agents at the other SIP server and the Brekeke SIP Server simultaneously. For example, with this feature, users can register their SIP user agents at an ITSP, thus users under the Brekeke SIP Server can talk with other users in the ITSP or receive calls from PSTN Editions The Brekeke SIP Server comes in several editions to meet the needs of different levels of users. Edition Explanation Common type of usage Advanced Standard Evaluation Academic It is to be used by commercial users and by general users. It is to be used by commercial users and by general users. It may be used by anyone who wishes to internally evaluate the product during the Evaluation Period. This license is free of charge. It may be used only by students and faculty members or staff members of a degree-granting educational institution (elementary schools, middle or junior high schools, high schools, junior colleges, colleges, and universities). This license is free of charge. Carrier Class, Service Providers Business phone system, General Commercial Use, Training, R&D, etc Product Trial prior to purchase Training, student projects, technology lab 10 Brekeke SIP Server Administrator s Guide

12 2. Installation Brekeke SIP Server can work on Microsoft Windows, Linux, Mac OS X and Solaris. There are two ways to install the product. For Windows, an administrator can use the executable installer. For all other platforms, an administrator needs to copy an installation package file into Tomcat System Requirements The Brekeke SIP Server supports the following platforms: OS Java Apache Tomcat Memory Microsoft Windows XP and later, Linux, Java 6 (32bit / 64bit) Note: We recommend using Java provided by Sun Microsystems. Version 6.x Note: Tomcat is not required if the installer for Windows is used. At least 256 MB 2.2. Installation for Windows with the Executable Installer Step 1: Install Java Download Java from the following Sun Microsystems website and install it. If you already have Java in your computer, please make sure that the Java version is 1.5 or later. We recommend using Java provided by Sun Microsystems. Step 2: Install the Brekeke SIP Server 1. Obtain the executable installer and a Product ID for Brekeke SIP Server. 2. Start the installer. 3. Continue the installation by following the installer s instructions. The Brekeke SIP Server will be installed automatically. If you check the [Run Brekeke SIP Server] box at the last stage of the installation and push the [Finish] button, the Brekeke SIP Server s HTTP service will start automatically. Step 3: Start the Brekeke SIP Server's HTTP service If you did not check [Run Brekeke SIP Server] at the last stage of the installation, please start 11 Brekeke SIP Server Administrator s Guide

13 the Brekeke SIP Server s HTTP Service by the following steps. 1. Open [Control Panel] > [Administrative Tools] > [Service]. 2. Select [Brekeke SIP Server] and start the service. 3. Restart your computer. The Brekeke SIP Server s HTTP service will automatically start. Step 4: Start the Brekeke SIP Server Administration Tool 1. Select [Start] > [All Programs] > [Brekeke SIP Server] > [Brekeke SIP Server Admintool]. A web browser will open and you will see the License Agreement page. Enter the Product ID you have in the [Product ID] field. Push [Accept terms and activate the license] button and then on [Activate] button to activate the License. Note: You will need to activate the Product ID only when you are freshly installing version 3.x or upgrading the product from previous version to Brekeke SIP Server version 3.x. For all other Brekeke SIP Server updates do not require product activation. 2. At the Admintool Login page, enter User ID and Password and push [Login] button. The default administrator s User ID is sa and its Password is sa. 3. After the login, push the [Start] button at [Status] -> [Start/Shutdown]page. If the Status is Active, the Brekeke SIP Server has started successfully. If the Status is Inactive, the server has not started successfully, the error should be shown. Note: When the Brekeke SIP Server s port number (default port 5060) is already in use by another application, the server status will be shown as Inactive. For example, if you attempt to start the server while another SIP UA is running on the same computer, the server may fail to start. In this case, please stop the other SIP UA, and click the [start] button on the Admintool s [Start/Shutdown] page. 12 Brekeke SIP Server Administrator s Guide

14 2.3. Installation for Linux Step 1: Install Java Download Java from the following website and install it. If you already have Java in your computer, please make sure that the Java s version is 1.6 or later. Step 2: Install Apache Tomcat Download Tomcat from the following website and install it. If you already have Tomcat in your computer, make sure that the Tomcat s version is 6.x We recommend adding livedeploy= false to the server.xml file at Tomcat installation directory/conf/ as shown below. <Host name= localhost appbase= webapps unpackwars= true autodeploy= true livedeploy= false xmlvalidation= false xmlnamespaceaware= false > Step 3: Install the Brekeke SIP Server 1. Obtain the installation package file (.war file) and a Product ID. 2. Copy the war file into the directory webapps, which is located under the Tomcat installation directory. Step 4: Start the Brekeke SIP Server Administration Tool 1. Start the Tomcat. 2. Open a web browser and access the URL (If you chose a http port number other than 8080 when installing the Tomcat, change the port number in the URL above to the number specified during your product installation.). You will see the License Agreement page. Enter the Product ID at the [Product ID] field. Push [Accept terms and activate the license] button and then on [Activate] button to activate the license. Note: You will need to activate the Product ID only when you are freshly installing version 3.x or upgrading the product from previous version to Brekeke SIP Server version 3.x. For all other Brekeke SIP Server updates do not require product activation. 3. At the Admintool Login page, enter User ID and Password and push [Login] button. The default administrator s User ID is sa and its Password is sa. 13 Brekeke SIP Server Administrator s Guide

15 4. After the login, push the [Start] button at [Status] -> [Start/Shutdown] page. If the Status is Active, the Brekeke SIP Server has started successfully. 5. If the Status is Inactive, the server has not started successfully. The error should be shown. Note: When the Brekeke SIP Server s port number (default port 5060) is already in use by another application, the server status will be shown as Inactive. For example, if you attempt to start the server while another SIP UA is running on the same computer, the server may fail to start. In this case, please stop the other SIP UA, and click the [start] button on the Admintool s [Start/Shutdown] page. 14 Brekeke SIP Server Administrator s Guide

16 3. Brekeke SIP Server Administration Tool Brekeke SIP Server Administration Tool (Admintool) is a web based GUI application which allows administrators to manage Brekeke SIP Server. This section provides reference information for the tool. To login to the Administration Tool, the correct User ID and Password are required. The default administrator s User ID is sa and its Password is sa Status The Server Status page shows the version information and current status of the server and databases. Some of these values can be modified through the [Configuration] menu Server Status SIP Server Status Field Name Status Server-product server-ver server-name server-description server-location server-startup-time server-current-time server-life-length machine-name listen-port transport interface startup-user work-directory session-active session-total session-peak Explanation If the SIP Server is running, the status is ACTIVE. Otherwise, the status is INACTIVE. Product name Version and revision number Server name Description Location Time the server was started Server s current time Length of time the server has been running for Hostname SIP listen port Acceptable transport type Network interface IP address(es) used by the server User name that started the server The directory path that server is running from The number of currently active sessions The total number of sessions processed The number of peak sessions 15 Brekeke SIP Server Administrator s Guide

17 Field Name sip-packet-total registered-record os-name os-ver java-ver admin-sip admin-mail Explanation Total packets number received by Brekeke SIP Server Number of records in Registrar Database OS name OS version Java version Administrator's SIP URI Administrator's address Database Status Field Name registered-database userdir-database alias-database Explanation Status of the connection with Registrar Database Status of the connection with User Directory Database Status of the connection with Alias Database Start / Shutdown An administrator is able to start or shutdown the Brekeke SIP Server in the Restart/Shutdown page. Status Summary Field Name Status Interface Local Port Active Sessions Multiple Domains Explanation If the server is running, the status is ACTIVE. Otherwise, the status is INACTIVE. Network interface IP address(es) used by the server SIP listen port The number of currently active sessions If multiple domain mode is enabled or not Button Restart Shutdown Explanation Restarts Brekeke SIP Server Stops Brekeke SIP Server. A message to confirm the shutdown command will appear if there are any active sessions. Selecting [Force Shutdown] will terminate all active sessions and shutdown the server. 16 Brekeke SIP Server Administrator s Guide

18 3.2. Active Sessions The Active Sessions show currently active SIP sessions and their details. It also allows an administrator to end a certain session Active Sessions The Active Sessions page shows the list of currently active SIP sessions. The buttons at the right side of each session is for viewing the details of the session. Field Name Session ID From To Time Explanation Session ID UAC s SIP URI and its IP address UAS s SIP URI and its IP address Session start time Field Name Explanation Session Status Status Explanation Trigger Initializing Initializing a new session Inviting Sending an initial request An initial request Status Provisioning Preparing for setting up a session 1xx response Ringing Ringing 18x response Accepted Established 2xx response Talking Talking ACK request Closing Closing BYE or error response Filter Item From To Time Range Status Explanation UAC s SIP URI or its IP address UAS s SIP URI or its IP address Time period Session status 17 Brekeke SIP Server Administrator s Guide

19 Session Details The session details page displays detailed information for the selected SIP session. Field Name EX-SID From-uri From-ip From-if To-uri To-ip To-if Call-ID rule plug-in sip-packet-total listen-port Explanation Internal Session Thread ID UAC s SIP URI UAC s IP address and the transport Network interface address of UAC s side UAS s SIP URI UAS s IP address and the transport Network interface address of UAS s side Call-ID Dial Plan rules which are applied for the session Session Plug-in used to handle the session Total number of received SIP packets SIP listen port Status Explanation Trigger Initializing Inviting Initializing a new session Sending an initial request An initial request session-status Provisioning Preparing for setting up a session 1xx response Ringing Ringing 18x response Accepted Established 2xx response Talking Talking ACK request Closing Closing BYE or error response time-inviting time-talking length-talking rtp-relay Session start time Talking start time Length of talking RTP relay status When RTP relay is enabled, and [rtp-relay] field shows on, the information below is displayed. This information shows status of RTP streams of both [rtp-srcdst] (UAC to UAS) and [rtp-dstsrc] (UAS to UAC). 18 Brekeke SIP Server Administrator s Guide

20 Field Name media transport payload status listen-port send-port packet-count packet/sec current size buffer size rtpex plug-in Explanation Media type (audio, video) Transport type Payload type Status (active, hold) UDP port number for receiving RTP packets UDP port number for sending RTP packets The number of packets The number of packets per seconds Packet size (bytes) of RTP sent most recently Buffer size (bytes) Plugin used for handling RTP exchange Button Disconnect Back Explanation Disconnects the SIP session Go back to the [Active Sessions] page 3.3. Registered Clients The Registered Clients page is for viewing and adding registered SIP clients to the Registrar Database View Clients This page displays the registered SIP client records that are in the Registrar Database. When the Brekeke SIP Server accepts a REGISTER request from a SIP client, the database is updated automatically. The button at the right side of each record is for deleting the record. Field Name User Contact URI Explanation Username User's contact SIP URI 19 Brekeke SIP Server Administrator s Guide

21 Details of the registration record Variable Expires Explanation Expiration period of the record [seconds] Detail Priority Priority of the record ( ) User Agent Name of the client s product if available. Requester Time Update The IP address that this REGISTER request was sent from. Timestamp of the latest update of the record Filter Item Pattern On Field Explanation Search keywords By: User, Contact URI, Requester New Client The New Client page allows an administrator to create a registration record manually. Item Explanation * User Use name that receives a contact from other UAs. * Contact URI User's contact SIP URI. It should contain a reachable IP address. * Expires The length in seconds that a record will be stored in the Registrar Database. Records will be deleted after the specified time passes. While the record is stored in the database, registered users can receive contacts from other SIP UAs through the specified username that was designated in the "User" setting. * Priority Priority of the record ( ). (* is a required field.) Button Register Explanation Register a new record in the registrar database. 20 Brekeke SIP Server Administrator s Guide

22 3.4. Dial Plan The Dial Plan menu is for editing Dial Plan rules. Please refer to Section 4 for details about the Dial Plan syntax Rules The Rules page shows the list of existing Dial Plan rules. The rule in the higher position in the list has the higher priority. Disabled rules are shown in grey. The buttons at the right side of each rule are for editing, copying and deleting the rule. By pressing the [Apply Rules] button, you can apply the new rules or modified rules even while the server is running. Field Name Pris Name Matching Patterns Deploy Patterns Explanation Priority of the Dial Plan rule The name of the Dial Plan rule Defined condition How the SIP request should be processed Button Copy Delete Apply Rules Explanation Copy the Dial Plan rule Delete the Dial Plan rule Save and apply changes By clicking on any place in a rule, the dial plan rule edit page will display New Rule/ Edit Rule New Rule page helps an administrator to create a new Dial Plan rule. Edit Rule page helps an administrator to modify an existing Dial Plan rule. Item Rule name Description Priority Disabled Explanation Name of the rule Description of the rule Priority of the rule When it is checked, the rule is disabled. 21 Brekeke SIP Server Administrator s Guide

23 Item Matching Patterns Deploy Patterns Variable Value Explanation List of Matching Patterns Please refer to section Matching Patterns. List of Deploy Patterns Please refer to section Deploy Patterns. The name of variable By pressing [ ] button, most of the variables are displayed for you to choose from. For Matching Patterns: a value of the variable that should match For Deploy Patterns: the value that will be assigned to the variable Button Insert Delete Down Up Save Cancel Explanation Insert the specified definition in [Variable] and [Value] fields into the given list box. Delete the selected definition. The deleted definition is displayed in [Variable] and [Value] fields. Move the selected definition down Move the selected definition up Save the Dial Plan rule and return to the [View Rules] page Cancel the changes and return to [View Rules] page Import / Export Rules You can import and upload new Dial Plan rules with the Import Rules option. Select a Dial Plan table file to import Dial Plan rules from [Browse ] button and then click the [Upload] button to upload Dial Plan rules. You can export the existing Dial Plan rules to another location using the Export Rules option Aliases The Aliases page shows the list of alias records stored in the Alias Database. The buttons at the right side of each record are for editing, copying and deleting the record. To lookup the record from the Alias Database, please use $alias.lookup or $alias.reverse conditional function in Matching Patterns. Note: The Alias feature is available in the Advanced Edition only. 22 Brekeke SIP Server Administrator s Guide

24 Field Name Alias Name Group ID Entity Name Explanation Alias name of the record Optional ID for a group of Alias records Entity name of the record Button Delete Explanation Delete the selected records Clicking on an alias record to edit it. Filter Item Pattern On Field Maximum Rows Explanation Search keywords By: Alias Name, Group ID, Entity Name Number of results to display New Alias / Edit Alias New Alias page helps an administrator to create a new alias record. Edit Alias page helps an administrator to modify an existing alias record. Note: Alias feature is available in the Advanced Edition only. Item Explanation * Alias Alias name of the record Group ID Optional ID for a group of Alias records * Entity Entity name of the record (* is a required field.) Button Modify Explanation Save the modified alias record Import / Export Alias You can import and upload new alias records with the Import Alias option. Select an alias record file in the CSV format from [Browse ] button and then click the [Upload] button to upload alias records. 23 Brekeke SIP Server Administrator s Guide

25 The CSV format: Alias_Name, [Group_ID], Entity_Name You can export the existing alias records to another location using the Export Alias option. The records will be saved in the CSV format User Authentication The User Authentication is for adding and editing a user for authentication. The setting for enabling authentication is at the Configuration page. Refer to the section SIP for more details View Users The View Users page shows the list of existing users for authentication. The buttons at the right side of each user are for editing and deleting the user. Field Name User Name Address Description Explanation User name for authentication User s long name User s address Misc. User information Filter Item Pattern On Field Maximum Rows Explanation Search keywords By: User, Name, Address, Description Number of results to display New User / Edit User New User page helps an administrator to create a new user for authentication. Edit User page helps an administrator to modify an existing user. Item Explanation * User Username for authentication * Password Password 24 Brekeke SIP Server Administrator s Guide

26 * Confirm Password Reenter Password Name User s name Address User s address Description Misc. User information (* is a required field.) Button Modify Explanation Save the modified user authentication record Import / Export Users You can import and upload new user information with the Import Users option. Select a user record file in the CSV format from [Browse ] button and then click the [Upload] button to upload user records. The CSV format: User, [Password], [Name], [ Address], [Description] You can export the existing user information to another location using the Export Users option. The records will be saved in the CSV format Logs The Logs is for showing the call logs during the number of days for call logs.saving interval Call Logs The Call Logs page shows the calendar with the number of sessions by date. Please click the desired date to display that date's session log. Check Box HTML CSV Explanation Clicking a date will display that daily log page in a new browser window. Clicking a date will save that daily log in a CSV file. 25 Brekeke SIP Server Administrator s Guide

27 Button Save Explanation Specify a term to save logs for. Logs older than the specified term will be deleted automatically. The CSV format: SID,FromURI,ToURI,TalkingLength,InvitingStart,TalkingStart,SessionEnd,Result,ErrorCode Daily Log A daily session log will be displayed in a new window. You can filter the call logs by stating the From-URI to To-URI. Field Name sid from-url to-url talking-length invite-start-time talk-start-time end-time result error Explanation Session ID UAC s SIP URI UAS s SIP URI Talking time Session start time Talking start time Session end time Result Error Code "-1" indicates a normally ended call. For irregularly ended calls, a SIP error response code will be displayed. Filter Item From-Url To-Url Time Range Maximum Rows Explanation UAC s SIP URI UAS s SIP URI Time period Number of results to display 26 Brekeke SIP Server Administrator s Guide

28 3.8. Configuration The Configuration is for editing settings, managing database and domains, and updating the software. Changes will take effect when the SIP server is restarted System The System page allows an administrator to configure a system and general network settings. 1) General Item Default value Explanation Server Name your-sip-sv Name of the server Server Description your SIP Server Description for the server Server Location your-place Location of the server Administrator SIP URI Administrator Address Start up your-sip-uri auto Administrator's SIP URI Administrator's address When "auto" is set, Brekeke SIP Server will automatically start when the web server (Tomcat) is started. 2) Network Item Default value Explanation IP address(es) or FQDNs to be used as interface address(es) by Brekeke SIP Server. They will be shown in interface field of the [Server Status] page. IP addresses which can be used as interface addresses are the IP addresses assigned to the Network Interface Cards (NIC) of the computer where Brekeke SIP Server is installed. Interface address 1-5 Note: In a Windows and certain environments, Brekeke SIP Server will automatically get the local IP address. When the server is located behind a NAT, an administrator may need to specify the global IP address or its FQDN of the NAT here. Note: If the UPnP is enabled, Brekeke SIP Server will automatically find a router and get the global IP address. 27 Brekeke SIP Server Administrator s Guide

29 Auto interface discovery off When it is set for "on", interface address will be updated automatically. 3) IPv6 Item Default value Explanation IPv6 off When it is set for "on", IPv6 will be enabled RFC3484's policy table for Address Selection on When it is set for "on", RFC3484 policy table for address selection will be enabled. 4) Address Filtering Item Default value Explanation IP address filter disable When it is set for allow, SIP Server will accept SIP packets only from the IP address specified in the Filter Pattern field. When it is set for block, SIP Server will accept SIP packets from IP addresses other than the IP address specified in the Filter Pattern field. Filter pattern Specify the desired IP address pattern by Regular Expressions. 5) DNS Item Default value Explanation DNS caching period (sec) 3600 Period for which result of DNS name resolution will be kept. When "-1" is set, the record will be kept forever and the cache will not be refreshed. DNS SRV On When set as on, DNS SRV record will be used. DNS AAAA On When set as on, DNS AAAA record will be used. 6) UPnP For using the UPnP feature, please use a router which supports UPnP and enable it at the settings of the router. Item Default value Explanation Enable/Disable disable When it is set for enable, SIP Server will use UPnP to discover a router, to recognize the global IP address, and to manage port-forwarding. 28 Brekeke SIP Server Administrator s Guide

30 Default router IP address The local IP address of the router Cache size 24 Size of the internal port-mapping cache table. Cache period (sec, 0=disable) Refresh Interval (sec, 0=disable) Cache period of the port-mapping. When "0" is set, the caching will be disabled. Refresh interval period of the UPnP. When "0" is set, the refresh will be disabled. 7) Java Item Default value Explanation Java VM arguments Specify parameters (excluding classpath ) that will be passed to the Java VM SIP Configure SIP settings, NAT traversal, Authentications, Performance Optimizations and various timeout settings. 1) SIP exchanger Item Default value Explanation Session Limit -1 Local Port 5060 Maximum number of SIP sessions the server will handle concurrently. "-1" specifies an unlimited number of SIP sessions. Port number to send/receive SIP packets. Please use the default value of 5060 if you don t have any specific reason for changing this port. B2B-UA mode off When set to "on", the B2B-UA mode will be enabled. With the B2B-UA mode, Brekeke SIP Server hides Via and Record-Route headers and replaces the original Call-ID header with a unique value. 29 Brekeke SIP Server Administrator s Guide

31 2) NAT traversal For the details of NAT traversal, please refer to the section 6. NAT Traversal. Item Default value Explanation Keep address/port mapping on When set to "on", the Brekeke SIP Server will send keep-alive packets to SIP UAs that are behind NAT at specified intervals. This is so that NAT will not close the external port used by the server to send packets to SIP UAs that are behind NAT. Interval (ms) Interval for above setting. If the server can not reach a SIP UA that is behind NAT, please set a shorter value here. Add rport' (Send) Add rport' (Receive) off off When "on" is set, the server adds rport in Via header of an outgoing request packet so that the server can detect its own port number. When "on" is set, the server adds rport with the value of the sender s source port in Via header of an incoming request packet. 3) Authentication After REGISTER or INVITE authentication is enabled, an administrator needs to add users in the [User Authentication] page. Refer to the section User Authentication for more details. Item Default value Explanation REGISTER on When set to "on", the Brekeke SIP Server authenticates REGISTER requests. INVITE Realm on When set to "on", the Brekeke SIP Server authenticates INVITE requests. This is set as the "realm" value. If left blank, the server s IP address is used as the realm. Auth-user=user in "To:" (Register) yes When set to "yes", the Brekeke SIP Server will authenticate REGISTER requests only when authentication user name matches the user name in the To header. When set to "no", the Brekeke SIP Server will authenticate all REGISTER requests. 30 Brekeke SIP Server Administrator s Guide

32 Auth-user=user in "From:" FQDN only yes no When set to "yes", the Brekeke SIP Server will authenticate requests only when authentication user name matches the user name in the From header. When set to "no", the Brekeke SIP Server will authenticate all requests. When set to "yes", only SIP URIs that contain an FQDN will be accepted. SIP URIs that contains IP addresses will not be accepted. Nonce Expires 60 The length of the nonce expiration for authentication. [ [seconds] 4) Upper Registration See the section Upper Registration for more details. Item Default value Explanation On/Off off Enable/disable Upper Registration Register Server Protocol UDP IP address or FQDN of a register server to be used as the Upper Registration destination Transport protocol used for upper registration UDP or TCP 5) Thru Registration Item Default value Explanation On/Off on Enable/disable Thru Registration 6) Timeout Item Default value Explanation Ringing Timeout Timeout for ringing time [milliseconds] Talking Timeout Timeout for talking time [milliseconds] Upper/Thru Timeout (ms) Timeout for waiting the response for a REGISTER request to Upper Registration/Thru Registration destination [milliseconds] 31 Brekeke SIP Server Administrator s Guide

33 7) Miscellaneous Item Default value Explanation 100 Trying any requests Server/User-Agent When any requests is selected, the SIP Server will send back 100 Trying response for any initial request. When only for initial INVITE is selected, the SIP Server will send back 100 Trying response for initial INIVTE request only. The specified name will be shown in Server and User-Agent headers. Note: This feature is available in the Advanced Edition only. 8) TCP TCP feature is not available in the Academic Edition. Please refer the section TCP for specific configuration. Item Default value Explanation TCP-handling on Enable/disable TCP-handling Queue Size 50 The size of the TCP connection queue UDP Failover on When set to "on", the SIP Server uses an UDP connection after the TCP connection fails 9) TLS Item Default value Explanation TLS-handling on Enable/disable TLS-handling. Queue Size 50 The size of the TCP connection queue File Type DER TLS certification format: DER or JKS DER Key File DER Certificate File JKS Key File JKS Password Browse and upload DER key file Browser and upload DER certificate file Browse and upload JKS key file Set JKS password Note: TLS feature is available in the Advanced Edition only. 32 Brekeke SIP Server Administrator s Guide

34 10) Performance Optimization (Proxy) Item Default value Explanation Initial threads 10 Maximum number of pre-created (pooled) threads for the proxy service. Maximum Sessions per thread 50 Maximum number of sessions per thread for the proxy service. 11) Performance Optimization (Registrar) Item Default value Explanation Initial threads 10 Maximum number of pre-created (pooled) threads for the registrar service. Maximum Sessions per thread 10 Maximum number of sessions per thread for the registrar service RTP The RTP page allows an administrator to configure RTP settings. If NATs are involved in the SIP communications, Brekeke SIP Server will relay RTP packets so that the RTP packets reach the SIP clients which are behind NAT. 1) RTP exchanger Item Default value Explanation RTP relay auto When set to "on", RTP packets will be relayed through the Brekeke SIP Server. When set to "auto", Brekeke SIP Server will decide whether or not to relay RTP automatically. For example, when Brekeke SIP Server detects a NAT, RTP packets are automatically relayed. RTP relay (UA on this machine) auto Minimum Port Maximum Port Minimum Port (Video) 0 When set to "auto", the server will decide automatically whether to relay RTP or not. When set to off, Brekeke SIP Server will not relay RTP packets for the clients running on the server computer. The minimum UDP port number to transmit RTP packets from. The maximum UDP port number to transmit RTP packets from. The minimum UDP port number to transmit RTP packets for Video stream from. If set to 0, the server uses the same port range as Audio. 33 Brekeke SIP Server Administrator s Guide

35 Maximum Port (Video) Port mapping 0 source port The maximum UDP port number to transmit RTP packets for Video stream from. If set to 0, the server uses the same port range as Audio. Selects a destination port number for the Brekeke SIP Server to send RTP packets to clients behind Far-End NAT. Designates whether to use the source port from RTP packet (when set to Source Port ) or the RTP port specified in SDP (when set to sdp ). 2) Timeout Item Default value Explanation RTP Session Timeout The timeout for detecting RTP packets when relaying RTP. [milliseconds] Database/Radius The Database/Radius page allows an administrator to configure database and Radius settings. Here is the list of the databases which Brekeke SIP Server uses. Database Name Registered Database Users Database Alias Database Purpose Registered Table This table stores the data of registered user agents. The data will be updated by REGISTER requests and used for the session routing. The [Registered Clients] page shows the list of registered user agents. Please refer to the section Registered Clients. Users Table This table stores authentication data of users. The [User Authentication] page shows the list of users. Please refer to the section User Authentication. Alias Table This table stores alias data. The [View Aliases] page shows the list of alias. Please refer to the section View Aliases. Note: Alias Database is available in Advanced Edition only. Each database can use Embedded or Third-Party database system. Please refer to Using a Third-Party Database Tutorial for more information about using of Third-Party database system. 34 Brekeke SIP Server Administrator s Guide

36 1) Embedded Database Item Default value Explanation Port Number 9001 TCP port number used by the Embedded database system. If no port is specified, TCP port 9001 is used by default. Note: If this port is blocked or used by another process, the SIP Server will not start. 2) Thirdparty Registered Database Item Default value Explanation On/Off Off Enable or disable to use the third party database system for Registered Database. Registered Database URL Registered Database Driver User Name Password URL for the Registered Database (ex. jdbc:mysql://localhost/db) JDBC Driver for the Registered Database. (ex. com.mysql.jdbc.driver) User name for the Registered Database. Password for the Registered Database. 3) Thirdparty Users Database Item Default value Explanation On/Off Off Enable or disable to use the third party database system for Users Database. Encrypt Users Passwords Users Database URL Users Database Driver User Name Password true Enable or disable the user password encryption. URL for the Users Database (ex. jdbc:mysql://localhost/db) JDBC Driver for the Users Database. (ex. com.mysql.jdbc.driver) User name for the Users Database. Password for the Users Database. 4) Thirdparty Alias Database Item Default value Explanation On/Off Off Enable or disable to use the third party database system for Alias Database. Alias Database URL URL for the Alias Database (ex. jdbc:mysql://localhost/db) 35 Brekeke SIP Server Administrator s Guide

37 Alias Database Driver User Name JDBC Driver for the Alias Database. (ex. com.mysql.jdbc.driver) User name for the Alias Database. Password Password for the Alias Database. 5) Radius Item Default value Explanation On/Off (Authentication) Off Enable or disable to use the Radius for Authentication. Port Number (Authentication) Port Number (Accounting) Server IP Address 1812 Radius server port number for Authentication 1813 Radius server port number for Accounting Radius server IP address Shared Secret Password for connecting to Radius server Advanced The Advanced page allows an administrator to add/edit internal environment variables. Please refer to the section Environment Variables for reference Domains The Domains page allows an administrator to manage multiple domains. With the Multiple Domains Mode, Brekeke SIP Server can host multiple domains on one server. The buttons at the right side of each domain are for editing and deleting the domain. Item Default value Explanation Multiple Domains mode Unchecked When it is checked, the server can host multiple domains. While the Multiple Domains mode is enabled, an administrator of each domain can access the Brekeke SIP Server Administration Tool with their password. 36 Brekeke SIP Server Administrator s Guide

38 Field Name Domain Explanation Name of the domain Authentication policy Authentication Policy Realm REGISTER INVITE Auth-user=user in To (REGISTER) Auth-user=user in From Explanation This is set as the "realm" value. If left blank, the server s IP address is used as the realm. When set to "on", the Brekeke SIP Server authenticates REGISTER requests. When set to "on", the Brekeke SIP Server authenticates INVITE requests. When set to "yes", the Brekeke SIP Server will authenticate REGISTER requests only when authentication user name matches the user name in the To header. When set to "no", the Brekeke SIP Server will authenticate all REGISTER requests. When set to "yes", the Brekeke SIP Server will authenticate requests only when authentication user name matches the user name in the From header. When set to "no", the Brekeke SIP Server will authenticate all requests. Button Delete Explanation Delete the domain New Domain Add new domain. Please refer to New Domain/Edit Domain. Click on existing Domain name to edit the domain settings New Domain / Edit Domain New Domain page allows an administrator to add a new domain. Edit Domain page allows an administrator to modify the domain. Item Default value Explanation Domain Name of the domain Disabled Unchecked When it is checked, the domain is disabled. 37 Brekeke SIP Server Administrator s Guide

39 Admin-Password Realm The password for the domain administrator to login to the Brekeke SIP Server Administration Tool. This is set as the "realm" value. If left blank, the server s IP address is used as the realm. Authentication Item Default value Explanation REGISTER on When set to "on", the Brekeke SIP Server authenticates REGISTER requests. INVITE off When set to "on", the Brekeke SIP Server authenticates INVITE requests. Auth-user=user in To (REGISTER) on When set to "on", the Brekeke SIP Server will authenticate REGISTER requests only when authentication user name matches the user name in the To header. When set to "off", the Brekeke SIP Server will authenticate all REGISTER requests. Auth-user=user in From off When set to "on", the Brekeke SIP Server will authenticate requests only when authentication user name matches the user name in the From header. When set to "off", the Brekeke SIP Server will authenticate all requests Redundancy The Mirroring and Heartbeat features provide High Availability (HA) functions and keep your SIP service alive Mirroring The Mirroring feature requires two Brekeke SIP Server Advanced Editions called the Primary server and the Secondary server (as a backup server). With this feature, the Primary server can mirror its SIP session data and registration data to the Secondary server in real-time and the Secondary server can take over the service with the mirrored data if the Primary server goes down. Generally, the Mirroring feature is used with the Heartbeat feature which can detect failure of the Primary server and turns the Secondary server active. Please refer to the section Mirroring/Heartbeat for a general setting. Note: The Mirroring feature is available in the Advanced Edition only. 1) Server Status If the server is inactive, "INACTIVE" will be shown. If the Mirroring Mode is disabled even if the server is active, Disabled will be shown. Otherwise, the following information will be shown. 38 Brekeke SIP Server Administrator s Guide

40 Field Name mirroring-role mirroring-address mirroring-pair Explanation Either primary or secondary. The Primary server provides the service while the Secondary server receives mirrored data. It is the shared IP address between the Primary server and Secondary server. Users of the service need to use this IP address as a proxy and registrar. These are the pair s IP addresses. For the Primary server, the secondary s IP address should be set. For the Secondary server, the primary s IP address should be set. 2) Mirroring Settings Item Default value Explanation On/Off off When set to "on", the Mirroring Mode is enabled. Role Virtual IP Address Pair IP Address primary When set to "primary", the server works as the Primary server. When set to "secondary", the server works as the Secondary server. It is the shared IP address between the Primary server and Secondary server. Users of the service need to use this IP address as a proxy and registrar. This IP address should be unique and accessible to users. These are the pair s IP addresses. For the Primary server, the Secondary server s IP address should be set. For the Secondary server, the Primary server s IP address should be set. Mirroring Request Pattern This defines a packet pattern for mirroring. With this setting, the Primary server mirrors only specified packets to the Secondary server. The blank means any SIP packets. For example: When set to "INVITE CANCEL BYE", the Primary server mirrors only INVITE, CANCEL and BYE packets. When set to "!REGISTER", the Primary server will not mirror REGISTER packets. Button Save and Apply Save Explanation Save and apply changes Save changes. 39 Brekeke SIP Server Administrator s Guide

41 Heartbeat The Heartbeat feature provides a failover function. It monitors targets which are network entities such as other Brekeke SIP Servers at frequent intervals. When it detects a target is down, it executes pre-defined actions such as IP address switching or notification. An administrator can define multiple Heatbeat targets and actions here. Since the feature uses ICMP to check the target s availability, a situation such as a physical port problem or a cable disconnection will trigger a failover. Also, please make sure that ICMP packets could be accepted at the firewall of target network entities. For a general Mirroring deployment, the Heartbeat feature is required only on the Secondary server. Therefore, the firewall for the Primary server should accept ICMP packets sent from the Secondary server. To do this, an administrator may add the physical IP address of the Seconday server at the Primary server s firewall settings as a trusted IP address. Also, under the Mirroring deployment, please start the Primary server before starting the Heartbeat feature on the Secondary server. Please refer to the section Mirroring/Heartbeat for more information. Note: The Heartbeat feature is available in the Advanced Edition only. 1) Heartbeat Status This section shows current Heartbeat status and allows an administrator to start/stop the Heartbeat. The Heartbeat feature can start even if Brekeke SIP Server is inactive because it works independently from the server. Field Name Status Explanation If the Heartbeat feature is running, the status is "Running". If the Heartbeat feature is not running, the status is "Not Running". If the Heartbeat has failed, the status is Failed. Button Start Stop Restart Latest log file Explanation Start the Heartbeat feature Note: Please start the Heartbeat feature manually after Brekeke SIP Server starts because it will not start automatically when the server starts. Stop the Heatbeat feature Restart the Heartbeat feature Download the latest Heartbeat log file if it is available. The previous log file will be removed when the Heartbeat feature starts. 40 Brekeke SIP Server Administrator s Guide

42 2) Heartbeat Settings This section shows current Heartbeat settings and its actions and allows an administrator to add/edit them. Multiple Heartbeats can be defined and each Heartbeat can have multiple actions. Changes take effect when the Heartbeat feature is restarted. Please refer to the sections Heartbeat Settings and Action Settings for more details. Field Name Explanation Heartbeat Field Name IP Address Timeout Interval Retry Explanation IP address of the target entity. After the timeout period expires without any response from the target entity, specified actions will be executed. [milliseconds] Broadcast interval for ICMP packet [milliseconds] Maximum retries for ICMP packet Action This field displays information related to each action. These actions are executed when the Heartbeat feature detects a target is down Button Delete New Heartbeat Add Action Delete Heartbeat Explanation Delete the action Add new Heartbeat setting. Please refer to Heartbeat Settings Add new action setting. Please refer to Action Settings Delete the Heartbeat setting. Click on Heartbeat or Action name to edit the settings 3) Remote Access The server accepts an action request only from the remote IP addresses defined in the IP Address Pattern. If this is undefined, the server accepts action requests from any remote IP address. Field Name IP Address Pattern Explanation Desired remote IP address pattern defined by Regular Expressions. 41 Brekeke SIP Server Administrator s Guide

43 Heartbeat Settings Heartbeat Settings page allows an administrator to define and edit Heartbeat settings. Changes take effect when the Heartbeat feature is restarted. Note: The Heartbeat feature is available in the Advanced Edition only. Item Default value Explanation IP Address IP address of the target entity. Timeout 3000 After the timeout period expires without any response from the target entity, specified actions will be executed. [milliseconds] Interval 500 Broadcast interval for ICMP packet [milliseconds] Retry 2 Maximum retries for ICMP packet Button Save Cancel Explanation Save changes and return to the previous page. Cancel changes and return to the previous page Action Settings There are several action types which may be launched when the Heartbeat feature detects a target entity failure. Changes take effect when the Heartbeat feature is restarted. Type Send Re-initialize as primary Add IP Address (Linux/Win) Delete IP Address (Linux/Win) Execute Command Management Command Explanation Send a notification to the specified address. Re-initialize the server as the Primary server Add an interface IP address Delete an interface IP address Execute an external command Execute an internal server management command 42 Brekeke SIP Server Administrator s Guide

44 1) Send Send a notification to the specified address when the Heartbeat feature detects a target entity failure. Item Default value Explanation Type Send Send a notification to the specified address. Position The operation order To From Subject Body SMTP Server POP3 Server User Password SMTP authentication Encrypted Connection (SSL) off off Receiver s address. Sender s address. subject body SMTP Server s address and port POP Server s address and port (If the SMTP server requires POP before SMTP.) User Name Password If the SMTP server requires an authentication, please set to on. If the SMTP server requires a SSL connection, please set to on. 2) Re-initialize as primary Re-initialize the Brekeke SIP Server as the Primary server when the Heartbeat feature detects a target entity failure. This action is used by the Seconday server when the original Primary server goes down. Item Default value Explanation Type Re-initialize as primary Re-initialize the server as the Primary server Position Remote URL The operation order The URL address of the desired server in which you want to execute the action. Please leave blank if the remote server is localhost. 43 Brekeke SIP Server Administrator s Guide

45 3) Add IP Address Add an interface IP address in the Brekeke SIP when the Heartbeat feature detects a target entity failure. Generally, this action is used to add the Virtual IP address defined in the Mirroring settings of the Secondary server when the original Primary server goes down. Item Default value Explanation Type Add IP Address Add an interface IP address (Linux/Win) Position The operation order Interface Name Name of the interface on the desired server which you want to execute the action. (for example Local Area Connection, or eth0 ) IP Address IP address Subnet mask Remote URL Subnet Mask The URL address of the desired server which you want to execute the action. Please leave blank if the remote server is localhost. 4) Delete IP Address Delete an interface IP address from Brekeke SIP Server when the Heartbeat feature detects a target entity failure. Item Default value Explanation Type Delete IP Address Delete an interface IP address (Linux/Win) Position The operation order Interface Name IP Address Subnet mask Remote URL Name of the interface on the desired server which you want to execute the action. IP address Subnet Mask The URL address of the desired server in which you want to execute the action. Please leave blank if the remote server is localhost. 44 Brekeke SIP Server Administrator s Guide

46 5) Execute Command Execute an external command when the Heartbeat feature detects a target entity failure. Item Default value Explanation Type Execute Command Execute an external command Position Command Remote URL The operation order Command name and its parameters The URL address of the desired server in which you want to execute the action. Please leave blank if the remote server is localhost. 6) Management Command Execute an internal server management command at the Brekeke SIP Server when the Heartbeat feature detects a target entity failure. Item Default value Explanation Type Management Command Execute an internal server management command Position The operation order Target Address Parameters Command name and its parameters Text Remote URL The URL address of the desired server in which you want to execute the action. Please leave blank if the remote server is localhost. 45 Brekeke SIP Server Administrator s Guide

47 3.11. Maintenance The Maintenance, which is in the [Maintenance] menu of Brekeke SIP Server Admintool, is for performing backups, updating the software, and for activating the license Back Up An administrator can back-up the existing settings using the Back Up option. The settings will be saved in the SST file Restore With the Restore option, an administrator can restore the backup settings from the SST file Password The Password page allows an administrator to change the login password for the Brekeke SIP Server Administration Tool. Administrator s default user ID is sa and its password is sa Update Software This page is for updating the Brekeke SIP Server. Please specify an update file (.war file) and push [Upload] button. After updating the software, please restart the computer Activate This page is for activating the Brekeke SIP Server Product ID. Note that if a same Product ID is used with multiple installations, the status of ID changes to Temporary. 46 Brekeke SIP Server Administrator s Guide

48 4. Dial Plan 4.1. What is the Dial Plan? The Brekeke SIP Server's Dial Plan defines rules for routing, filtering and actions. The Dial Plan can also be used for setting environment variables and modifications of selected SIP headers. Regular expressions are used for defining those rules. This section is a reference for the Dial Plan functions. Please refer to the section "3.3. Dial Plan" for more details. For sample definitions, please refer to the Brekeke SIP Server Tutorial-Dial Plan. The Dial Plan can consist of multiple rules. Each rule is defined with the pair of Matching Patterns and Deploy Patterns. When all conditions set in the Matching Patterns are satisfied, the actions defined in the Deploy Patterns are applied. By setting a Dial Plan, you can achieve the following functions: Routing Filtering Modifications of SIP headers Load Balancing RTP relay settings Call Session Plug-ins Call Dial Plan Plug-ins Setting Environment Variables 4.2. Create and Edit Dial Plan To edit the Dial Plan, open [Dial Plan] menu. For creating new Dial plan rule, select [New Rule] option. For editing a current Dial Plan rule, click the corresponding edit icon. Please refer to the section New Rule/ Edit Rule for more details. You can also edit Dial Plan files directly. Your changes will be in effect after you restart Brekeke SIP Server. The Dial Plan file is located under the install directly: <INSTALL_DIR>\webapps\sip\WEB-INF\work\sv\etc\dialplan.tbl 47 Brekeke SIP Server Administrator s Guide

49 4.3. Matching Patterns The Matching Patterns define conditions for applying the rule. Conditions can be defined using a pair of the following: the name of the SIP header, condition functions, system environment variables, source IP address, or the source port number, and the string pattern for matching. By defining multiple pairs, you can make the conditions more specific. Regular Expressions are used for defining string matching patterns. The string between parenthesis () in the right side can be referred to in Matching Patterns and Deploy Patterns. To add a condition in the Matching Patterns section: 1. Push [ ] button (which is between the Variable field and the Value field). 2. Select a variable name from the pull-down list or type a variable name directly in the Variable field. 3. Type a string pattern to the Value field and then, push the [+] button. Refer to the section New Rule/ Edit Rule for more information Syntax Matching Patterns SIP_header_name = string pattern &environment_variable_name = string pattern $condition_function_name = string pattern $condition_function_name( arguments ) = string pattern Main regular expressions which can be used in Matching Pattern s right side are as follows: Symbols Meaning! If! is placed in the front of the string pattern, it means NOT. ^ Match the beginning of the line $ Match the end of the line [abc] Match any character listed between brackets. In this case, a or b or c. Match any character except those listed between the brackets. In this case, [^abc] any characters except a, b and c.. Match any character except new line X+ Match the preceding element (X, in this case) one or more times X* Match the preceding element (X, in this case) zero or more times X{n} Match the preceding element (X, in this case) n times 48 Brekeke SIP Server Administrator s Guide

50 Symbols X{n,} X{n,m} (chars) Meaning Match the preceding element (X, in this case) at least n times Match the preceding element (X, in this case) at least n times, but no more than m times The characters between the brackets will be put in a buffer. To refer to the n-th digit buffer in Deploy Pattern, use %<digit> (for example %1) 1) SIP Header Field Name To use a SIP header as a condition, specify a pair of a SIP header name and a string pattern. SIP header field name = a string pattern From = sip:user@domain\.com[>;]* If the SIP URI in From: header is sip:user@domain.com To = sip:11@ If the SIP user name in To: header field is 11 To = sip:9(.+)@ If the SIP user name in To: header field starts with 9 To = sip:(...)@ If the SIP user name in To: header field contains only 4 characters Supported = timer If Supported: header field contains the string timer, Expires = ^[0-5]$ If the value of Expires: header field is in the range 0-5 Contact = sip:[a-za-z]+@ If the user name in Contact header contains only alphabet 2) Environment Variable The environment variable is a variable name which starts with &. The variable name is not case sensitive. Please refer to the section 10. Environment Variables for reference. &variable_name = a string pattern 49 Brekeke SIP Server Administrator s Guide

51 &sv.name = ^main-sv$ If the value of the server name (Environment variable: sv.name) is main-sv. &net.sip.timeout.ringing = ^5[0-9][0-9][0-9]$ If the value of Ringing Timeout (Environment variable: net.sip.timeout.ringing) is in the range ) Conditional Function The variable that starts with $ is treated as a conditional function. The variable name is not case sensitive. Some conditional functions can have an argument. If you want to create own conditional function, please refer to the Dial Plan Plug-in Developer's Guide. The Built-in functions are described in section below. $conditional_function_name = a string pattern $conditional_function_name(argument) = a string pattern How to call functions: Function_name( SIP header field name) If a SIP header field name is set as an argument to a conditional function, the value of the SIP header field will be passed to the function. $func( From ) The value of From: header will be passed to the function func. Function_name( &Environment_variable_name ) If an environment variable name is set as an argument to a conditional function, the corresponding value of the variable will be passed to the function. The prefix & should be added before an environment variable name. $func(&net.sip.timeout.ringing ) The value of environment variable net.sip.timeout.ringing will be passed to the function func. Function_name( $Conditional_function_name ) If a conditional function name is set as an argument to another conditional function, the return value of the argument function will be passed to the other conditional function. The prefix $ should be added before a conditional function name. 50 Brekeke SIP Server Administrator s Guide

52 $func1( $func2 ) The return value of the function func2 will be passed to the function func1. $func1( $func2( $func3 ) ) The return value of the function func3 will be passed to the function func2 and the return value of the function func2 will be passed to the function func1. $func( $func( To ) ) The contents of To: header field will be passed to the function func and its return value will be passed to the function func again. Function_name( Text_String ) If a text string is set as an argument, the text string is passed to the function. The text string should be enclosed in double quotes. $func( string ) The string string will be passed to the function func Reference of Conditional Functions 1) General Functions $addr Source IP address of the incoming SIP packet $addr Returns the source IP address of the incoming request packet. $addr = ^127\.0\.0\.1$ If the source IP address of the packet is the loopback address ( ). $addr = ^192\.168\. If the source IP address of the packet starts with $addr = ^172\.16\.0\.[1-5]$ If the source IP address is in the range Brekeke SIP Server Administrator s Guide

53 $body Match in the message body $body( regex ) regex regular expression Gets the matched string from the message body such as SDP. The regular expression should contain a pair of brackets for defining the matched string. $body( "m=audio (.+) RTP/AVP" ) = ^2000$ If the audio RTP port is $date Current Year/Month/Date $date $date( format ) format Date format $date( format, timezone ) format Date format timezone Time Zone Returns the text string of current year/month/date. Date format can be specified as an argument. The default format is yyyy/mm/dd. Date format can consist of the following characters. Character Meaning Character Meaning y Year m Minute M Month s Second d Day S Millisecond H Hour $date = 2012/06/03 If the date is June 3rd, Brekeke SIP Server Administrator s Guide

54 $date = [15]$ If the last digit of the day is 1 or 5, i.e. the day of the month is 1,5,11,15, 21, 25, 31. $date( MM-dd-yyyy ) = Gets the current date with the format MM-dd-yyyy and compares it with the string $date( yyyy/mm/dd, " JST" ) = (.+) Gets the current date based on the time zone JST. $geturi Get the string of the SIP URI $geturi( str ) str text string Gets the SIP URI part from the specified string. $geturi( From ) = sip:user@domain\.com$ Gets the SIP URI from From header and compares with sip:user@domain.com. $geturi( $request ) = sip:1234@192\.168\.0\.1$ Gets the SIP URI part from the request-line ( the return value of the conditional function $request ) and compare it with the string sip:1234@ $globaladdr If global address or not $globaladdr( str ) str IP address or FQDN Checks if the address or FQDN specified as an argument is a global address or not. If it is a global address, true will be returned. If not, false will be returned. $globaladdr( ) = false If is not a global address. 53 Brekeke SIP Server Administrator s Guide

55 $headerparam The header parameter $headerparam( string ) str string $headerparam( string, key ) str string key header parameter variable name Returns the value of the header parameter variable from the specified string. $headerparam( Contact )= (.+) Get all header parameters from Contact header. $headerparam( To, "transport" ) = (.+) Get the transport s value from To header s header parameters. It is the same as $param($headerparam( To ), transport ). $istalking If talking or not $istalking $istalking( str ) str SIP URI Checks if the SIP URI specified as an argument is talking or not. If it is talking, true will be returned. If not, false will be returned. If no argument is set, Brekeke SIP Server checks if the Request URI is talking or not. $istalking = true If the Request URI is talking. $istalking( sip:user@ ) = true If the sip:user@ is talking. 54 Brekeke SIP Server Administrator s Guide

56 $localhost If localhost or not $localhost $localhost( str ) str SIP URI or IP address or FQDN Checks if the SIP URI or address specified as an argument is the localhost or not. If it is localhost, true will be returned. If not, false will be returned. If no argument is specified, Brekeke SIP Server checks if the source IP address of the packet is localhost or not. Note: The addresses set in network interface settings in [Configuration] page will also be treated as localhost. $localhost = true If the source of the packet is localhost $localhost( From ) = false If the SIP URI in From header is not localhost $localhost( ) = true If is localhost $mirroring If an incoming packet is a mirrored packet. $mirroring Checks if the incoming packet came from the primary SIP Server or not under the Mirroring mode. If an incoming packet is a mirrored packet, true will be returned. If not, false will be returned. Note: This method is available in Advanced Edition only. $mirroring = true The incoming packet is a mirrored packet from the primary SIP Server. 55 Brekeke SIP Server Administrator s Guide

57 $mydomain If my domain or not $mydomain( str ) str domain name Checks if the domain name specified as an argument is hosted by this server or not under the Multiple Domains mode. If it is my domain, true will be returned. If not, false will be returned. The domain hosted by the server should be listed in the [Domains] page. Please refer to the section Domains for more details. $mydomain( sip.domain.com ) = true If the sip.domain.com is hosted by this server. $not Match in the message body $not( value ) value true or false If the value is "true, false will be returned. If not, true will be returned. $not( $registered( alice ) ) = true If the user alice is not registered. $outbound If outbound or not $outbound $outbound( str ) str SIP URI or IP address or FQDN 56 Brekeke SIP Server Administrator s Guide

58 Checks if the SIP URI or address set as an argument is outbound (IP address/port number which is not Brekeke SIP Server s IP address/port) or not. If it is outbound, true will be returned. If not, false will be returned. If no argument is set, Brekeke SIP Server checks if the Request URI is outbound or not. For example, if Brekeke SIP Server s IP address is :5060, the IP address or :6060 is considered as outbound. $outbound = true If the Request URI contains an outbound address $outbound( $request ) = true If the Request URI contains an outbound address. (This is same as the case you didn t specify any argument.) $outbound( To ) = false If the SIP URI in To header is not outbound address. $outbound ( sip:user@host ) = true If host is outbound address. $param The parameter value $param( str, key ) str string key parameter variable name Returns the value of the parameter variable from the specified string. $param("sip:bob@ ;expires=3600; q=1.0, expires )= ^300$ If the expires s value is 300. $param( Via, "branch" ) = (.+) Get the branch s value. 57 Brekeke SIP Server Administrator s Guide

59 $port Source port of the incoming SIP packet $port Returns the source port number of the incoming request packet. $port = ^5060$ If the source port number of the packet is $port = ^50[0-9][0-9]$ If the source port number of the packet is in the range $primary If the server is the Primary server under the Mirroring mode. $primary Checks if the server is the Primary server or not under the Mirroring mode. If it is the primary, true will be returned. If not, false will be returned. Note: This method is available in Advanced Edition only. $primary = false If the server is not Primary server under the Mirroring mode. It means the server is the Secondary server, $registered If registered or not $registered $registered( str ) str SIP URI or a user name 58 Brekeke SIP Server Administrator s Guide

60 Checks the SIP URI or the user name specified as an argument is registered in the Brekeke SIP Server s Registrar Database. If the corresponding user is registered, true will be returned. If not, false is returned. If no argument is specified, Brekeke SIP Server checks if the user in the Request URI is registered or not. $registered = true If the user in the Request URI is registered. $registered( From ) = true If the caller (The user in From header) is registered. $registered( alice ) = false If the user alice is not registered. $registeredaddr See $regaddr. $registereduri See $reguri. $regaddr The contact IP address of the registered user. $regaddr $regaddr( str ) str SIP URI or a user name Returns the contact IP address registered in the Registrar Database for the SIP URI or user name specified as an argument. If no argument is specified, the registered IP address for the user in the Request URI will be returned. If any corresponding record can not be found, the condition will not be fulfilled. $regaddr = ^192\.168\.0\.1$ If the user in the Request URI is registered from the IP address Brekeke SIP Server Administrator s Guide

61 $regaddr( From ) = ^192\.168\.0\.200$ If the caller (the user in From header) is registered from the IP address $regaddr( alice ) = ^192\.168\.0\. If the user alice registered from the IP address x. $reguri Contact SIP URI of the registered user. $reguri $reguri( str ) str SIP URI or a user name Returns the contact SIP URI registered in the Registrar Database for the SIP URI or user name specified as an argument. If no argument is specified, the registered contact SIP URI for the user in the Request URI will be returned. If any corresponding user can not be found, this condition will not be fulfilled. $reguri = sip:100@host If the user s contact SIP URI of the request URI is sip:100@host. $reguri( alice ) = sip:admin@ If the user alice s contact SIP URI s user part is admin. $request SIP request Line $request Returns the SIP request line in the packet. $request = sip:100@host If the Request URI is sip:100@host. $request = ^INVITE If the request is INVITE. 60 Brekeke SIP Server Administrator s Guide

62 $sid A session ID $sid Returns the session ID. Session ID is a unique number assigned to each session. $sid = ^100$ If the session ID is 100. $sid = [02468]$ If the session id is an even number. $sessionnum The number of current sessions $sessionnum Returns the number of current sessions. $sessionnum = ^1000$ If the number of current sessions reaches $soapget SOAP response $soapget( http-uri, namespace, method [,param [,param..]] ) http-uri SOAP server s address namespace name space method method name param input parameter 61 Brekeke SIP Server Administrator s Guide

63 Gets the information from the web service by SOAP. Note: This method is available in Advanced Edition only. $soapget( ns,"get","in0=a","in1=b") = (.+) $subparam The subscriber parameter $subparam( str ) str string $subparam( str, key ) str string key subscriber parameter variable name Returns the value of the subscriber parameter variable from the specified string. $subparam( To )= (.+) Get all subscriber parameters from To header. $subparam( sip:user;para=1@foo.com, para ) = (.+) Get the para s value from the specified string. It is the same as $param($subparam( sip:user;para=1@foo.com"), para ). $time Current time $time $time( format ) format Time format $time( format, timezone ) format Time format timezone Time Zone 62 Brekeke SIP Server Administrator s Guide

64 Returns current time. Time format can be specified as an argument. The default format is HH:mm:ss. For the details of the format, please refer to $date. $time = 09:26:40 If the current time is 09:26:40. $time = ^0[0-9]: If the current time is from 0 to 9 o clock. $time( SSSS ) = [02468]$ If the millisecond is an even number. $time( HH:mm:ss, "PDT" ) = (.+) Get the current time based on the time zone PDT. $transport Transport type of the incoming SIP packet $transport Returns the transport type of the incoming request packet. A value will be UDP or TCP. $transport= ^UDP$ If the transport type is UDP. $transport= ^TCP$ If the transport type is TCP. $uriparam The URI parameter $uriparam( str ) str string $uriparam( str, key ) str string key URI parameter variable name 63 Brekeke SIP Server Administrator s Guide

65 Returns the value of the URI parameter variable from the specified string. $uriparam( $request )= (.+) Get all URI parameters from the request URI. $uriparam( To, "para" ) = (.+) Get the para s value from To header s URI parameters. It is the same as $param($uriparam( To ), para ) $webget Match in the web page $webget( http-uri, regex ) http-uri website s address regex regular expression Gets the matched string from the specified web site. The regular expression should contain a pair of brackets for defining the matched string. Note: This method is available in Advanced Edition only. $webget( " "<B>(.+)</B>" ) = (.+) Get the string enclosed with <B> and </B> from the specified web site. 2) Alias Functions The following functions allow an administrator to refer a record from Alias Database. Please refer the section View Aliases to configure and manage the database. Note: The Alias feature is available in the Advanced Edition only. $alias.lookup Lookup from the Alias Database $alias.lookup( alias_name ) alias_name Alias Name 64 Brekeke SIP Server Administrator s Guide

66 $alias.lookup( alias_name, group_id ) alias_name Alias Name group_id Group ID Returns corresponding entity value from the Alias Database for the Alias name specified as an argument. $alias.lookup( "mike", "001") = (.+) $alias.reverse Reverse lookup from the Alias Database $alias. reverse( entity ) entity Entity Name $alias. reverse ( entity, group_id ) Entity Entity Name group_id Group ID Returns corresponding alias value from the Alias Database for the Entity name specified as an argument. $alias. reverse ( "cell_phone") = (.+) 3) Mathematical Functions The following functions allow an administrator to compare and manipulate numbers. $math.ge Greater than or equal to (num1 <= num2) $math.ge( num1, num2 ) If num1 is greater than or equal to num2, true will be returned. If not, false will be returned. 65 Brekeke SIP Server Administrator s Guide

67 $math.ge( $sessionnum, 100 ) = true If the number of current sessions is greater than or equal to 100. $math.gt Greater than (num1 > num2) $math.gt( num1, num2 ) If num1 is greater than num2, true will be returned. If not, false will be returned. $math.le Less than or equal to (num1 <= num2) $math.le( num1, num2 ) If num1 is less than or equal to num2, true will be returned. If not, false will be returned. $math.lt Less than (num1 < num2) $math.lt( num1, num2 ) If num1 is less than num2, true will be returned. If not, false will be returned. $math.lt( $sessionnum, 100 ) = true If the number of current sessions is less than Brekeke SIP Server Administrator s Guide

68 $math.rand Random number $math.rand( begin, end ) begin - beginning of the range end - end of the range Returns a random number from the specified range. $math.rand( 2000, 3000 ) = (.+) Get a random number from the range ) String Functions The following functions allow an administrator to compare and manipulate strings. $str.equals Compares strings $str.equals( str1, str2 [, str3] ) str string If specified strings are same, true will be returned. If not, false is returned. $str.equals( $geturi(to), $geturi(from) ) = true If the SIP URI of From header and To header are same. $str.equals( $geturi(to), $geturi(from), $geturi(contact) ) = true If the SIP URI of From header, To header and Contact header are same. $str.hashcode Hash code $str.hashcode( str ) 67 Brekeke SIP Server Administrator s Guide

69 str string Returns the hash codes of the specified string. The returning value is a hex string. $str.isdigits If digits or not. $str.isdigits( str ) str string If specified string is digits, true will be returned. If not, false is returned. $str.isdigits( 1234 )= true The string 1234 is digits. $str.length Length of the string. $str.length( str ) str string Returns the length of the specified string $str.md5 MD5 hash code $str.md5( str ) str string Returns the MD5 hash codes of the specified string. The returning value is a hex string. 68 Brekeke SIP Server Administrator s Guide

70 $str.remove Removes a part of string $str.remove( str1, str2 ) str string Remove str2 from str1. $str.reverse Reverse string $str.reverse( str ) str string Reverse the specified string. $str.reverse( )= (.+) Get the reversed string. It will be $str.substring Extracts a part of string $str.substring( str, start ) str string start Where to start the extraction $str.substring( str, start, end ) str string start Where to start the extraction end Where to stop the extraction Extracts the characters in a string between two specified indices. 69 Brekeke SIP Server Administrator s Guide

71 $str.substring( 4 )= (.+) Returns $str.substring( 4, 8 )= (.+) Returns user. $str.trim Trim string $str.trim( str ) str string Strip whitespace from the beginning and end of the specified string. $str.trim( sip:user@domain )= (.+) Get the trimmed string. It will be sip:user@domain. 5) User Directory Functions The following function allows an administrator to refer a record from Users Database. Please refer the section 3.4. User Authentication to manage the database. $usrdir.lookup Lookup from the Users Database $usrdir.lookup $usrdir.lookup( user_name ) user_name User Name Checks the user name specified as an argument is recorded in Users Database. If the user is recorded, true will be returned. If not, false is returned. If no argument is specified, Brekeke SIP Server checks if the authentication username in the SIP packet is recorded or not. 70 Brekeke SIP Server Administrator s Guide

72 $usrdir.lookup( "mike ) = true If the user mike is recorded in the Users Database Deploy Patterns The Deploy Patterns defines actions that will be taken when a rule s conditions defined in the Matching Pattern are met. At Deploy Patterns, you can define SIP header, routing destination, error response, environment variables as server s behavior, plug-in to load, and whether to perform RTP relay or not. Action is defined with a pair of SIP header name, handling variable name or environment variable and value. You can define multiple actions in one rule. In the Value field of Deploy Patterns, matched string in Matching Patterns can be referred. When '%n' (n=number) was defined in value, the character string that locates in n-th number of parenthesis ( ) in Matching Patterns s value will be inserted at the Deploy Patterns field. To add a definition to the Deploy Patterns section: 1. Push [ ] button (which is between the Variable field and the Value field). 2. Select a variable name from the pull-down list or type a variable name directly in the Variable field. 3. Type a value to the Value field and then, push the [+] button. Refer to the section New Rule/ Edit Rule for more information Syntax Deploy Patterns SIP_header_field = setting value &environment_variable_name = setting value $handling_variable_name = setting value 1) SIP Header Field Name By specifying a SIP header name in variable field, you can replace, add or delete the value of the SIP header. If the specified SIP header field exists in a SIP packet, the header will be replaced with the specified value. If specified value is empty, the header will be removed from the SIP packet. The SIP routing destination can be decided depending on the setting for To header as follows: 71 Brekeke SIP Server Administrator s Guide

73 If To = sip:username@host is set, the SIP session will be routed to the address host. If To = sip:username@ is set, the SIP session will be routed to the contact address for the registered user username in Registrar Database. SIP header field name = setting value From = sip:admin@ From header will be replaced with sip:admin@ To = sip:boss@ To header will be replaced with sip:boss@ And the session will be routed to the address To = sip:sales@ The session will be routed to the contact address of the registered user sales. From = Ted <sip: @domain> From header s SIP URI will be replaced with <sip: @domain>. Caller s display name will be set as Ted. Expires = 300 The value of Expires: will be set as 300. User-Agent = User-Agent: header will be deleted. Refer-To = sip:user@server Refer-To: header field will be replaced with user@server. 2) Environment Variable The variable which starts with & is treated as an environment variable. The environment variable name isn t case sensitive. This setting will be applied only for the session that matches with Matching Patterns. To configure the environment variables for the whole system, please set them in the property file or in the Configuration page. &environment_variable_name = a setting value 72 Brekeke SIP Server Administrator s Guide

74 &net.sip.timeout.ringing = Set the value of ringing timeout to (Set the environment variable net.sip.timeout.ringing = ) &net.sip.addrecordroute = false Don t add Record-Route: header. (Set the environment variable net.sip.addrecordroute = false) &net.rtp.audio.payloadtype = 0 Change the audio payload type in SDP to PCMU. (Set the environment variable net.rtp.audio.payloadtype = 0) 3) Handling Variable The variable which starts with $ is treated as a handling variable. Handling variables are not case sensitive. $handling_variable_name = a setting value Reference of Handling Variable $action Command name to execute or response code to return $action = an internal command name $action = a SIP response code If an internal command name is specified, the server executes the command. If a SIP response code is specified, the server returns the response packet with the specified response code to the matched request and the session will not be routed. $action = 200 Returns the response 200 OK. 73 Brekeke SIP Server Administrator s Guide

75 $auth Whether to authenticate or not $auth = true or false This sets whether to authenticate the matched request or not. If "true", the authentication will be enabled. If "false", the authentication will be disabled. The default value is the value which is set in [Configuration] page. $auth = true Authenticate the matched request $b2bua Whether to enable the B2B-UA (Back-To-Back User Agent) mode $b2bua= true or false If "true", the B2B-UA mode will be enabled. If false, the B2B-UA mode will be disabled. The default value is "false". With the B2B-UA mode, Brekeke SIP Server hides Via and Record-Route headers and replaces original Call-ID header with a unique value. $b2bua= true B2B-UA mode is used for the session. $continue Whether Brekeke SIP Server continues checking the next rule or not. $continue = true or false This is a variable to make the server handle multiple rules. If "true", Brekeke SIP Server continues to check the next rule below. If "false", Brekeke SIP 74 Brekeke SIP Server Administrator s Guide

76 Server will not continue checking the next rules. The default is false. As long as the Matching Patterns conditions are fulfilled and Deploy Patterns contains $continue=true, Brekeke SIP Server continues checking rules. $continue = true Continues checking the next rule. $ifdst Interface address used for sending/receiving packets to/from the session destination $ifdst = IP address or FQDN It is an interface address used for sending/receiving the packets to/from the session destination (UAS). This address is used for the values in Via, Record-Route headers. $ifdst = Set as an interface address for the sending packets to the destination. $ifsrc Interface address used for sending/receiving packets to/from the session originator $ifsrc = IP address or FQDN It is an interface address used for sending/receiving the packets to/from the session originator (UAC). This address is used for the values in Via, Record-Route headers. $ifsrc = Set as an interface address for the sending packets to the session originator. 75 Brekeke SIP Server Administrator s Guide

77 $log Logging message $log = a message Brekeke SIP Server writes the specified message to the log file. $log = debug:message The server writes debug:message into the log file. $nat Whether to handle NAT traversal $nat = true or false If "true", the NAT traversal mode will be enabled. If false, the NAT traversal will be disabled. If "auto", Brekeke SIP Server will automatically decides whether to handle NAT traversal. The default value is "auto". If the NAT traversal mode is enabled, RTP relay will also be enabled. $nat = true Handle NAT traversal. $replaceuri.from Whether to replace From header to appropriate SIP URI $replaceuri.from = true or false If "true", From header will be replaced with an appropriate SIP URI. If false, it is disabled. If auto, Brekeke SIP Server will decide whether to replace the header or not automatically. The default value is "auto". 76 Brekeke SIP Server Administrator s Guide

78 $replaceuri.from = false From header will not be replaced. $replaceuri.to Whether to replace To header to appropriate SIP URI $replaceuri.to = true or false If "true", To header will be replaced with an appropriate SIP URI. If false, it is disabled. If auto, Brekeke SIP Server will decide whether to replace the header or not automatically. The default value is "auto". $replaceuri.to = false To header will not be replaced. $request Request line $request= a request line Brekeke SIP Server replaces the request line of the matched request packet with the specified value. $request= INVITE sip:201@domain SIP/2.0 Set INVITE sip:201@domain SIP/2.0 as the new request line. $response Response code to return $response = a SIP response code 77 Brekeke SIP Server Administrator s Guide

79 The server returns the response packet with the specified response code to the matched request and the session will not be routed $response = 400 Returns the response 400 Bad Request. $rtp Whether to relay RTP packets $rtp = true or false If "true", RTP packets will be relayed through Brekeke SIP Server. If "false", RTP packets will not be relayed through Brekeke SIP Server. If auto, Brekeke SIP Server will decide whether to relay RTP packets or not automatically (For example, Brekeke SIP Server relays RTP packets for the UAs behind NAT). The default value is the value set in [Configuration] page. $rtp = true Enable RTP relay. $session Load a session plug-in. $session = a session plug-in name Specifies the name of session plug-in to use. For creating a plug-in, please refer to the Session Plug-in Developer's Guide. $session = com.sample.radius.proxy.radiusacct Set the com.sample.radius.proxy.radiusacct class as a session plug-in. 78 Brekeke SIP Server Administrator s Guide

80 $target Routing destination $target = IP address or FQDN Sets the session s routing destination. In the Advanced Edition, multiple destinations can be specified for failover. If the SIP Server can not reach a destination within an Inviting time-out, the next specified destination will be used. $target = provider.domain Routes the session to provider.domain. $target = , , Multiple destination IP addresses are specified for failover. $transport Transport type $transport = a transport type ( UDP or TCP ) It is a transport type used for sending/receiving the packets to/from the session destination (UAS). $transport = TCP Use TCP for the sending packets to the UAS. 79 Brekeke SIP Server Administrator s Guide

81 5. Upper Registration and Thru Registration Using Upper Registration or thru Registration function, SIP clients under the Brekeke SIP Server will be registered at the other SIP Server (the Upper Server), and users can receive calls from the Upper Server through the Brekeke SIP Server Upper Registration Upper Registration is a function to forward all of REGISTER requests to the registrar server (Upper Server) specified at the Brekeke SIP Server. Please use the following settings for Upper Registration: 1. In the [Configuration] page > [SIP], set [Upper Registration] as follows. Item Setting Value Explanation On/Off on Enable the Upper Registration Register Server The address of the other registrar server IP address or FQDN of the registrar server to be used as the Upper Registration destination Protocol UDP or TCP Transport protocol used for Upper Registration 2. Set the following at a SIP client. Item SIP Proxy Server Registrar Outbound Proxy User Name Password Setting Value Brekeke SIP Server s IP address or FQDN Brekeke SIP Server s IP address or FQDN Brekeke SIP Server s IP address or FQDN When authentication is set at the Upper Server, set the user name that is assigned by the Upper Server here. When authentication is set at the Upper Server, set the password that is assigned by the Upper Server here. 80 Brekeke SIP Server Administrator s Guide

82 5.2. Thru Registration Thru Registration is a function to forward REGISTER requests to the registrar server (Upper Server) specified in the Request-URI. Please use the following settings for Thru Registration: 1. In the [Configuration] page > [SIP], set [Thru Registration] as follows. Item Value Explanation On/Off on Enable the Thru Registration 2. Set the following at a SIP client. Item SIP Proxy Server Registrar Outbound Proxy User Name Password Setting Value Brekeke SIP Server s IP address or FQDN In the case where Outbound Proxy setting is available, you would need to set the Upper Server s address here. Upper Server s address Brekeke SIP Server s IP address or FQDN When authentication is set at the Upper Server, set the user name that is assigned by the Upper Server here. When authentication is set at the Upper Server, set the password that is assigned by the Upper Server here. 81 Brekeke SIP Server Administrator s Guide

83 6. NAT Traversal The NAT Traversal feature is used to keep connectivity when SIP clients are located on different networks. The feature rewrites SIP packets and relay RTP packets to meet requirements Brekeke SIP Server Behind NAT (Near-End NAT traversal) If you are using the Brekeke SIP Server behind a NAT, but need to communicate with SIP servers and clients outside the NAT, please use the following settings for Near-End NAT traversal UPnP Settings If your router supports UPnP, you can use it for Near-End NAT traversal. With UPnP, the Brekeke SIP Server can obtain the WAN IP address of the router and manage the port forwarding. Please use the following settings for UPnP: 1. Enable the UPnP at the router. (Refer to the router s document for more details.) 2. In the [Configuration] page > [System], set [UPnP] as follows. Item Setting value Explanation Enable/Disable enable Enable the UPnP feature. Default router IP address The local IP address of the router The local IP address of the router 3. Restart the Brekeke SIP Server. 4. Go to [Server Status] page. If the Brekeke SIP server got the WAN IP address of the router successfully, the IP address will be shown at the [interface] field. Also, the [router] field will show the router s information Manual Configuration If your router doesn t support UPnP, you need to configure interface address settings and a port forwarding manually. Please use the following settings for manual configuration: 1. In the [Configuration] page > [System], set [Network] as follows. Item Setting value Explanation Interface address 1 The WAN IP address of the router IP address or FQDN of the router which can be reached from WAN side. 82 Brekeke SIP Server Administrator s Guide

84 2. Setting port forwarding at the router is required to ensure NAT traversal to work properly. With proper setting at the router, the Brekeke SIP Server s listening ports for SIP and RTP are forwarded to the Brekeke SIP Server s IP address. Please set the following Brekeke SIP Server s ports for the port forwarding at the router. Port Number (Default) Transport Protocol Purpose Set at 5060 UDP and TCP SIP [Configuration] > [SIP] > [Local Port] UDP RTP [Configuration] > [RTP] > [Minimum Port] and [Maximum Port] 6.2. For Clients Behind NAT over the Internet (Far-End NAT traversal) To communicate properly with SIP clients located behind a NAT over the Internet, Far-End NAT traversal feature is applied to the call. If the Brekeke SIP Server is located behind a different NAT, you would need to set the Near-End NAT traversal setting as well. 1. Far-End NAT traversal requires maintaining port mapping at the router that is located at the same network with SIP clients. SIP packets from the Brekeke SIP Server will be undeliverable when port mapping has been cleared. To ensure maintaining the port mapping at the router, the Brekeke SIP Server needs to send dummy SIP packets for refreshing periodically; this feature is called Keep Alive. The interval of Keep Alive needs to be set short to prevent port mapping being cleared. For some routers, this Keep Alive feature does not work to maintain port mapping. For such a case, we recommend that you use the Port Forwarding setting at the router instead. Please refer to the step.2. In the [Configuration] page > [SIP], set [NAT traversal] as follows. Item Setting Value Explanation Keep address/ port mapping on Enable Keep Alive feature Interval (ms) (Depends on network environments.) This is the interval to send dummy SIP packets. Default is set as 12,000 milliseconds (12 seconds). Shorter interval is recommended to ensure maintaining port mapping at routers. 83 Brekeke SIP Server Administrator s Guide

85 2. In addition to the Keep Alive feature, there is another way to establish communications with a SIP client located behind a NAT over the Internet. When the communication cannot be established, even with Keep Alive settings, it is necessary to set port forwarding settings on the router located on the same network with SIP client. For port forwarding, you need to set the port numbers for SIP and RTP that SIP client is using on the router. Please refer to the configuration screen or document of SIP client for the port numbers to set at these settings. 84 Brekeke SIP Server Administrator s Guide

86 7. Basic Setup To have proper communications using the Brekeke SIP Server, precise settings at both Brekeke SIP Server and SIP client are necessary Setup Brekeke SIP Server Generally, you may not need any settings at Brekeke SIP Server for basic setup. If you require the user authentication, please enable the Authentication feature and create users at the Brekeke SIP Server. 1. Enable the Authentication. In the [Configuration] page > [SIP], set [Authentication] as follows. Item Setting Value Explanation REGISTER on Authenticates REGISTER requests. INVITE on Authenticates INVITE requests. 2. Create Users. In the [User Authentication] page > [New User], create a new user for authentication. Please refer to the section New User / Edit User for more details SIP Client Setup Setting up the SIP client (User Agent, UA) begins with preparing an appropriate SIP client to meet your requirements and environment. Commonly used SIP clients are SIP softphones, SIP hardphones, VoIP Gateways, Analog Telephone Adaptor (ATA), and Instant Messenger (IM). 1. Basic settings for SIP clients. The setting items are depending on SIP clients. Item SIP Proxy Server Registrar Outbound Proxy Domain Realm Setting Value Brekeke SIP Server s IP address or FQDN Brekeke SIP Server s IP address or FQDN Brekeke SIP Server s IP address or FQDN Brekeke SIP Server s IP address or FQDN Brekeke SIP Server s IP address Set the same Realm which is set to the SIP Server if the server does authentication. 85 Brekeke SIP Server Administrator s Guide

87 Item User Name Authentication User Name Password Setting Value User name. When authentication is set at the Brekeke SIP Server, set the user name that is assigned by server. When authentication is set at the Brekeke SIP Server, set the password that is assigned by server. 2. If a SIP client is properly set, you can confirm registration status from the [Registered Clients] page on the Brekeke SIP Server Admintool Make a test call After more than two SIP clients are registered in the Brekeke SIP Server, each SIP client can call each other by dialing a registered user name. 86 Brekeke SIP Server Administrator s Guide

88 8. Security This section describes how to configure Brekeke SIP Server security features. These features can protect your service against attacks or unauthorized use Administration Tool To avoid a takeover of the server, please change the password for Administration Tool at [Configuration] > [Password] page. Its default password is sa SIP Authentication There are two ways to enable SIP Authentication. One is for the entire server. Another is for certain SIP requests. To use SIP Authentication, an administrator needs to add users in the [User Authentication] page. Please refer to the section 3.4. User Authentication for more details SIP Authentication for all INVITE/REGISTER requests Please enable SIP Authentication at the [Configuration] > [SIP] page. This setting affects all of INVITE / REGISTER requests. Item Setting Value Explanation REGISTER on Authenticates REGISTER requests. INVITE on Authenticates INVITE requests SIP Authentication for certain requests The server can authenticate a certain SIP request by using $auth variable in the Dial Plan. The $auth variable determines whether to authenticate the matched request or not. If the value is "true", the server authenticates the request. If the value is "false, the server does not authenticate the request. Example-1: Authenticate SUBSCRIBE requests. Matching Patterns $request = ^SUBSCRIBE Deploy Patterns $auth = true $continue = true 87 Brekeke SIP Server Administrator s Guide

89 Example-2: Don t authenticate INVITE requests if it comes from x. Matching Patterns Deploy Patterns $request = ^INVITE $addr = ^ $auth = false $continue = true 8.3. To block a non-registered user's INVITE request. To block non- registered users, the following sample Dial Plan rules will help you. Example-1: If a client is not registered in the server, its INVITE request will be rejected with 403 Forbidden response. Matching Patterns Deploy Patterns $request = ^INVITE $registered( From ) = false $action = 403 Example-2: If a client s registered IP address and port do not match with request s remote IP address and port, the request will be rejected with 403 Forbidden response. Matching Patterns Deploy Patterns $request = ^INVITE $port = (.+) $addr = (.+) $registeredaddr(from) =! %1:%2 $action = Brekeke SIP Server Administrator s Guide

90 9. Mirroring/Heartbeat This section describes how to configure the Mirroring and Heartbeat features for a failover. The Mirroring and Heartbeat features provide High Availability (HA) functions for keeping your SIP service alive. To deploy these features, please prepare two server installations of the Brekeke SIP Server Advanced Edition called the Primary server and the Secondary server. With the Mirroring and Heartbeat features, third-parties clustering/failover solutions are no longer necessary Deployment Structure 1. Before the Primary server goes down, the Primary Server provides the service and the Seconday server stands by as an idle backup. All of SIP packets are sent to the Primary server with the Virtual IP address. SIP packets SIP packets are sent to the Virtual IP Address Mirroring packets Primary Server Provides a service Secondary Server Back-up 2. If the Primary server goes down, the Heartbeat feature switches the Seconday server to be the Primary server and assigns the Virtual IP address to the new Primary server. SIP packets are sent to the Virtual IP Address SIP packets Old Primary Server New Primary Server Provides a service 89 Brekeke SIP Server Administrator s Guide

Brekeke SIP Server Version 3 Administrator s Guide Brekeke Software, Inc.

Brekeke SIP Server Version 3 Administrator s Guide Brekeke Software, Inc. Brekeke SIP Server Version 3 Administrator s Guide Brekeke Software, Inc. Version Brekeke SIP Server v3 Administrator s Guide Copyright This document is copyrighted by Brekeke Software, Inc. Copyright

More information

Version 1.5 Administrator's Guide (Basic) Brekeke Software, Inc.

Version 1.5 Administrator's Guide (Basic) Brekeke Software, Inc. OnDO PBX Version 1.5 Administrator's Guide (Basic) Brekeke Software, Inc. Version OnDO PBX v1.5 Administrator s Guide (Basic) Revised February 7, 2006 Copyright This document is copyrighted by Brekeke

More information

OnDO PBX. Administrator's Guide. Version 1.3. Brekeke Software, Inc.

OnDO PBX. Administrator's Guide. Version 1.3. Brekeke Software, Inc. OnDO PBX Version 1.3 Administrator's Guide Brekeke Software, Inc. Version OnDO PBX v.1.3 Administrator s Guide, March 2005 Copyright This document is copyrighted by Brekeke Software, Inc. Copyright 2005

More information

Brekeke SIP Server Version 2.1 Using a Third-Party Database Tutorial Brekeke Software, Inc.

Brekeke SIP Server Version 2.1 Using a Third-Party Database Tutorial Brekeke Software, Inc. Brekeke SIP Server Version 2.1 Using a Third-Party Database Tutorial Brekeke Software, Inc. Version Brekeke SIP Server v2.1 Using a third-party Database Tutorial Revised December 3, 2007 Copyright This

More information

Brekeke PBX Version 3 Administrator's Guide (Basic) Brekeke Software, Inc.

Brekeke PBX Version 3 Administrator's Guide (Basic) Brekeke Software, Inc. Brekeke PBX Version 3 Administrator's Guide (Basic) Brekeke Software, Inc. Version Brekeke PBX version 3, Administrator s Guide (Basic) Copyright This document is copyrighted by Brekeke Software, Inc.

More information

Installation & Configuration Guide Version 4.0

Installation & Configuration Guide Version 4.0 TekSIP Installation & Configuration Guide Version 4.0 Document Revision 6.8 https://www.kaplansoft.com/ TekSIP is built by Yasin KAPLAN Read Readme.txt for last minute changes and updates, which can be

More information

Application Note Asterisk BE with SIP Trunking - Configuration Guide

Application Note Asterisk BE with SIP Trunking - Configuration Guide Application Note Asterisk BE with SIP Trunking - Configuration Guide 23 January 2009 Asterisk BE SIP Trunking Table of Contents 1 ASTERISK BUSINESS EDITION AND INGATE... 1 1.1 SIP TRUNKING SUPPORT... 2

More information

Application Note 3Com VCX Connect with SIP Trunking - Configuration Guide

Application Note 3Com VCX Connect with SIP Trunking - Configuration Guide Application Note 3Com VCX Connect with SIP Trunking - Configuration Guide 28 May 2009 3Com VCX Connect Solution SIP Trunking Table of Contents 1 3COM VCX CONNECT AND INGATE... 1 1.1 SIP TRUNKING SUPPORT...

More information

Application Notes for TelStrat Engage Record Version 3.3 with Avaya Business Communication Manger Release 6.0 VoIP Recording Issue 1.

Application Notes for TelStrat Engage Record Version 3.3 with Avaya Business Communication Manger Release 6.0 VoIP Recording Issue 1. Avaya Solution & Interoperability Test Lab Application Notes for TelStrat Engage Record Version 3.3 with Avaya Business Communication Manger Release 6.0 VoIP Recording Issue 1.0 Abstract These Application

More information

CyberData SIP Page Server V3 Integration with 8x8 Serial Numbers 1461x

CyberData SIP Page Server V3 Integration with 8x8 Serial Numbers 1461x CyberData SIP Page Server V3 Integration with 8x8 Serial Numbers 1461x This document covers the integration of CyberData s SIP Page Server V3 with 8x8. This document was written for 8x8 and the following

More information

SIP Session Initiation Protocol

SIP Session Initiation Protocol Session Initiation Protocol ITS 441 - VoIP; 2009 P. Campbell, H.Kruse HTTP Hypertext Transfer Protocol For transfer of web pages encoded in html: Hypertext Markup Language Our interest: primarily as model

More information

Cisco TelePresence Conductor with Cisco Unified Communications Manager

Cisco TelePresence Conductor with Cisco Unified Communications Manager Cisco TelePresence Conductor with Cisco Unified Communications Manager Deployment Guide TelePresence Conductor XC4.0 Unified CM 10.5(2) January 2016 Contents Introduction 6 About this document 6 Related

More information

Unofficial IRONTON ITSP Setup Guide

Unofficial IRONTON ITSP Setup Guide September 13 Unofficial IRONTON ITSP Setup Guide Author: Zultys Technical Support This unofficial configuration guide was created to assist knowledgeable vendors with configuring the Zultys MX Phone System

More information

Installation & Configuration Guide Version 1.6

Installation & Configuration Guide Version 1.6 TekConSer Installation & Configuration Guide Version 1.6 Document Revision 2.0 http://www.kaplansoft.com/ TekConSer is built by Yasin KAPLAN Read Readme.txt for last minute changes and updates which can

More information

Cisco TelePresence Conductor with Cisco VCS (Policy Service)

Cisco TelePresence Conductor with Cisco VCS (Policy Service) Cisco TelePresence Conductor with Cisco VCS (Policy Service) Deployment Guide TelePresence Conductor XC3.0 Cisco VCS X8.x Revised January 2015 Contents Introduction 5 About the Cisco TelePresence Conductor

More information

HT812/HT814 Firmware Release Note IMPORTANT UPGRADING NOTE

HT812/HT814 Firmware Release Note IMPORTANT UPGRADING NOTE HT812/HT814 Firmware Release Note IMPORTANT UPGRADING NOTE Once HT812/HT814 is upgraded to 1.0.3.2 or above, downgrading to 1.0.2.x firmware version or lower is not supported. Once HT812/HT814 is upgraded

More information

Cisco TelePresence Conductor with Cisco Unified Communications Manager

Cisco TelePresence Conductor with Cisco Unified Communications Manager Cisco TelePresence Conductor with Cisco Unified Communications Manager Deployment Guide XC2.2 Unified CM 8.6.2 and 9.x D14998.09 Revised March 2014 Contents Introduction 4 About this document 4 Further

More information

Ingate Firewall & SIParator Product Training. SIP Trunking Focused

Ingate Firewall & SIParator Product Training. SIP Trunking Focused Ingate Firewall & SIParator Product Training SIP Trunking Focused Common SIP Applications SIP Trunking Remote Desktop Ingate Product Training Common SIP Applications SIP Trunking A SIP Trunk is a concurrent

More information

Brekeke SIP Server Version 2 Authentication Plug-in Developer s Guide Brekeke Software, Inc.

Brekeke SIP Server Version 2 Authentication Plug-in Developer s Guide Brekeke Software, Inc. Brekeke SIP Server Version 2 Authentication Plug-in Developer s Guide Brekeke Software, Inc. Version Brekeke SIP Server v2 Authentication Plug-in Developer s Guide Revised September, 2010 Copyright This

More information

TT11 VoIP Router 1FXS/1FXO TA User Guide

TT11 VoIP Router 1FXS/1FXO TA User Guide TT11 VoIP Router 1FXS/1FXO TA User Guide Page 1 Table of Contents: 1.0 Introduction... 3 2.0 Package Contents... 3 3.0 Summary of LED & Connector Descriptions... 4 3.1 The Front LEDs... 4 3.2 The Rear

More information

DMP 128 Plus C V DMP 128 Plus C V AT. Avaya IP Office Configuration Guide REVISION: 1.2 DATE: JANUARY 9 TH 2018

DMP 128 Plus C V DMP 128 Plus C V AT. Avaya IP Office Configuration Guide REVISION: 1.2 DATE: JANUARY 9 TH 2018 DMP 128 Plus C V DMP 128 Plus C V AT Avaya IP Office Configuration Guide REVISION: 1.2 DATE: JANUARY 9 TH 2018 Revision Log Date Version Notes August 6 th 2017 1.0 First Release: Applies to Firmware 1.01.0004.002

More information

Broadvox Fusion Platform Version 1.2 ITSP Setup Guide

Broadvox Fusion Platform Version 1.2 ITSP Setup Guide November 13 Broadvox Fusion Platform Version 1.2 ITSP Setup Guide Author: Zultys Technical Support This configuration guide was created to assist knowledgeable vendors with configuring the Zultys MX Phone

More information

Version 1.1. User s Guide. Brekeke Software, Inc.

Version 1.1. User s Guide. Brekeke Software, Inc. Version 1.1 User s Guide Brekeke Software, Inc. Version, January 2004 Copyright This document is copyrighted by Brekeke Software, Inc. Copyright 2003 Brekeke Software, Inc. If any part of this document

More information

CyberData V3 Paging Server Integration with Zultys MX

CyberData V3 Paging Server Integration with Zultys MX The IP Endpoint Company CyberData V3 Paging Server Integration with Zultys MX Author: Zultys Technical Support Department Document Part #930711A CyberData Corporation 3 Justin Court Monterey, CA 93940

More information

Information About SIP Compliance with RFC 3261

Information About SIP Compliance with RFC 3261 APPENDIX A Information About SIP Compliance with RFC 3261 This appendix describes how the Cisco SIP IP phone complies with the IETF definition of SIP as described in RFC 3261. It has compliance information

More information

Setting Up an Alcatel 4400 Digital PIMG Integration with Cisco Unity Connection

Setting Up an Alcatel 4400 Digital PIMG Integration with Cisco Unity Connection up Alcatel 4400 Digital PIMG Integration with Cisco Unity Connection Up an Alcatel 4400 Digital PIMG Integration with Cisco Unity Connection, page 1 Up an Alcatel 4400 Digital PIMG Integration with Cisco

More information

Cisco TelePresence Conductor with Unified CM

Cisco TelePresence Conductor with Unified CM Cisco TelePresence Conductor with Unified CM Deployment Guide TelePresence Conductor XC3.0 Unified CM 10.x Revised February 2015 Contents Introduction 5 About this document 5 Related documentation 5 About

More information

HT801/HT802 Firmware Release Notes IMPORTANT UPGRADING NOTE

HT801/HT802 Firmware Release Notes IMPORTANT UPGRADING NOTE HT801/HT802 Firmware Release Notes IMPORTANT UPGRADING NOTE Once HT801/HT802 is upgraded to 1.0.3.2 or above, downgrading to 1.0.2.x firmware version or lower is not supported. Once HT801/HT802 is upgraded

More information

Standard SIP Terminal IP Phone ITX-1615 Phone Manager User Guide

Standard SIP Terminal IP Phone ITX-1615 Phone Manager User Guide Standard SIP Terminal IP Phone ITX-1615 Phone Manager User Guide Before using this product and document, please read the following document carefully. Also, please keep this document to the place where

More information

HT801/HT802 Firmware Release Note IMPORTANT UPGRADING NOTE

HT801/HT802 Firmware Release Note IMPORTANT UPGRADING NOTE HT801/HT802 Firmware Release Note IMPORTANT UPGRADING NOTE Once HT801/HT802 is upgraded to 1.0.3.2 or above, downgrading to 1.0.2.x firmware version or lower is not supported. Once HT801/HT802 is upgraded

More information

Configuration Note for Rauland Responder 5 and Avaya Session Manager

Configuration Note for Rauland Responder 5 and Avaya Session Manager Configuration Note for Rauland Responder 5 and Avaya Session Manager 1. Rauland Responder 5 Setup 1.1 Configure Brekeke SIP Server Connectivity In Rauland RGS Setup -> [Phone] page: [SIP Proxy Address]

More information

CyberData SIP Paging Amplifier Integration with 8x8

CyberData SIP Paging Amplifier Integration with 8x8 CyberData SIP Paging Amplifier Integration with 8x8 This document covers the integration of CyberData s SIP Paging Amplifier with 8x8. This document was written for 8x8 and the following CyberData Products.

More information

ThinkTel ITSP with Registration Setup

ThinkTel ITSP with Registration Setup January 13 ThinkTel ITSP with Registration Setup Author: Zultys Technical Support This configuration guide was created to assist knowledgeable vendors with configuring the Zultys MX Phone System with ThinkTel

More information

DMP 128 Plus C V DMP 128 Plus C V AT. Avaya Aura Configuration Guide REVISION: DATE: MARCH 7 TH 2018

DMP 128 Plus C V DMP 128 Plus C V AT. Avaya Aura Configuration Guide REVISION: DATE: MARCH 7 TH 2018 DMP 128 Plus C V DMP 128 Plus C V AT Avaya Aura Configuration Guide REVISION: 1.2.1 DATE: MARCH 7 TH 2018 Revision Log Date Version Notes August 6 th 2017 1.0 First Release. Applies to Firmware 1.01.0004.002

More information

Setting Up a Mitel SX-2000 Digital PIMG Integration with Cisco Unity Connection

Setting Up a Mitel SX-2000 Digital PIMG Integration with Cisco Unity Connection Up a Mitel SX-2000 Digital PIMG Integration with Cisco Unity Connection Up a Mitel SX-2000 Digital PIMG Integration, page 1 Up a Mitel SX-2000 Digital PIMG Integration Task List for Mitel SX-2000 PIMG

More information

INTERFACE SPECIFICATION SIP Trunking. 8x8 SIP Trunking. Interface Specification. Version 2.0

INTERFACE SPECIFICATION SIP Trunking. 8x8 SIP Trunking. Interface Specification. Version 2.0 8x8 Interface Specification Version 2.0 Table of Contents Introduction....3 Feature Set....3 SIP Interface....3 Supported Standards....3 Supported SIP methods....4 Additional Supported SIP Headers...4

More information

Version: epbxum_

Version: epbxum_ epbx-100a-128 User s Manual Version: epbxum_128.300 CH1. Overview 5 1.1 Specifications 5 1.2 Hardware Overview 7 1.2.1 Front Panel and LED Indication...7 1.2.2 Back Panel...8 CH2. Start to configure epbx-100a-128

More information

Application Note Configuration Guide for ShoreTel and Ingate

Application Note Configuration Guide for ShoreTel and Ingate Application Note Configuration Guide for ShoreTel and Ingate 29 August 2008 Table of Contents 1 INTRODUCTION... 1 2 SHORETEL CONFIGURATION... 2 2.1 OVERVIEW... 2 2.1.1 Version Support... 2 2.1.2 ShoreTel

More information

Setting up Alcatel 4400 Digital PIMG Integration

Setting up Alcatel 4400 Digital PIMG Integration up Alcatel 4400 Digital PIMG Integration with Cisco Unity Connection Up an Alcatel 4400 Digital PIMG Integration with Cisco Unity Connection, on page 1 Up an Alcatel 4400 Digital PIMG Integration with

More information

Application Note. Microsoft OCS 2007 Configuration Guide

Application Note. Microsoft OCS 2007 Configuration Guide Application Note Microsoft OCS 2007 Configuration Guide 15 October 2009 Microsoft OCS 2007 Configuration Guide Table of Contents 1 MICROSOFT OCS 2007 AND INGATE... 1 1.1 SIP TRUNKING SUPPORT... 2 2 INGATE

More information

Cisco TelePresence Conductor

Cisco TelePresence Conductor Cisco TelePresence Conductor Deployment Guide XC1.2 D14827.02 May 2012 Contents Contents Introduction... 4 About the Cisco TelePresence Conductor... 4 Call flow with the Cisco TelePresence Conductor...

More information

CyberData SIP Paging Ceiling Speaker V3 Integration with 8x8

CyberData SIP Paging Ceiling Speaker V3 Integration with 8x8 CyberData SIP Paging Ceiling Speaker V3 Integration with 8x8 This document covers the integration of CyberData s SIP Paging Speaker V3 with 8x8. This document was written for 8x8 and the following CyberData

More information

RP-FSO522 2-Line FXO, 2-Line FXS SIP IP Gateway. Feature

RP-FSO522 2-Line FXO, 2-Line FXS SIP IP Gateway. Feature RP-FSO522 2-Line FXO, 2-Line FXS SIP IP Gateway RP-FSO522 is an 2-Line FXO plus 2-Line FXS gateway with SIP protocol IP device which allows to connect 2 Lines of analog PSTN telephone line and connect

More information

Version: SIPPBXUM.100

Version: SIPPBXUM.100 SIPPBX 6200A User s Manual Version: SIPPBXUM.100 CH1. Overview... - 5-1.1 Specifications... - 5-1.2 Hardware Overview... - 8-1.2.1 The Front Panel... - 8-1.2.2 The Back Panel... - 8 - CH2. Start to configure

More information

Configuring Multi-Tenants on SIP Trunks

Configuring Multi-Tenants on SIP Trunks The feature allows specific global configurations for multiple tenants on SIP trunks that allow differentiated services for tenants. allows each tenant to have their own individual configurations. The

More information

Polycom RealPresence Access Director System

Polycom RealPresence Access Director System Release Notes Polycom RealPresence Access Director System 4.0 June 2014 3725-78700-001D Polycom announces the release of the Polycom RealPresence Access Director system, version 4.0. This document provides

More information

Unified Communications in RealPresence Access Director System Environments

Unified Communications in RealPresence Access Director System Environments [Type the document title] 2.1.0 March 2013 3725-78704-001A Deploying Polycom Unified Communications in RealPresence Access Director System Environments Polycom Document Title 1 Trademark Information POLYCOM

More information

Cisco Expressway with Jabber Guest

Cisco Expressway with Jabber Guest Cisco Expressway with Jabber Guest Deployment Guide First Published: Decemeber 2016 Cisco Expressway X8.9 Cisco Jabber Guest Server 10.6.9 (or later) Cisco Systems, Inc. www.cisco.com Contents Preface

More information

DMP 128 Plus C V DMP 128 Plus C V AT

DMP 128 Plus C V DMP 128 Plus C V AT DMP 128 Plus C V DMP 128 Plus C V AT Interactive Intelligence Configuration Guide REVISION: 1.0.1 DATE: MARCH 7 TH 2018 Revision Log Date Version Notes Feb 9 th 2018 1.0 First Release: Applies to Firmware

More information

SIP Proxy Server. Administrator Installation and Configuration Guide. 06SIPXM.SY1.00a.EN1

SIP Proxy Server. Administrator Installation and Configuration Guide. 06SIPXM.SY1.00a.EN1 SIP Proxy Server Administrator Installation and Configuration Guide 06SIPXM.SY1.00a.EN1 DSG, DSG logo, InterPBX, InterServer, Blaze Series, Savanna Series, VG5000, IP580, IP500, InterClient, NAT Proxy,

More information

DMP 128 Plus C V DMP 128 Plus C V AT. Cisco CUCM Configuration Guide REVISION: DATE: MARCH 7 TH, 2018

DMP 128 Plus C V DMP 128 Plus C V AT. Cisco CUCM Configuration Guide REVISION: DATE: MARCH 7 TH, 2018 DMP 128 Plus C V DMP 128 Plus C V AT Cisco CUCM Configuration Guide REVISION: 1.2.1 DATE: MARCH 7 TH, 2018 Revision Log Date Version Notes Aug. 4 th 2017 1.0 First Release: Applies to Firmware Version

More information

HT812/HT814 Firmware Release Notes IMPORTANT UPGRADING NOTE

HT812/HT814 Firmware Release Notes IMPORTANT UPGRADING NOTE HT812/HT814 Firmware Release Notes IMPORTANT UPGRADING NOTE Once HT812/HT814 is upgraded to 1.0.3.2 or above, downgrading to 1.0.2.x firmware version or lower is not supported. Once HT812/HT814 is upgraded

More information

Application Notes for Configuring Fonolo In-Call Rescue with Avaya IP Office Server Edition using SIP Trunks Issue 1.0

Application Notes for Configuring Fonolo In-Call Rescue with Avaya IP Office Server Edition using SIP Trunks Issue 1.0 Avaya Solution & Interoperability Test Lab Application Notes for Configuring Fonolo In-Call Rescue with Avaya IP Office Server Edition using SIP Trunks Issue 1.0 Abstract These Application Notes describe

More information

FREUND SIP SW - V SIP-server setup

FREUND SIP SW - V SIP-server setup FREUND SIP SW - V1.7.13 SIP-server setup Content 1. Product Setup 4 2. Log in and Home 5 3. Menu 9 3.1 Tools 9 3.1.1 Dashboard 9 3.1.2 Extensions 10 3.1.3 Trunks 14 3.1.4 Groups 18 3.1.5 Ring groups 20

More information

CyberData SIP Page Server V3 Integration with Zultys MX Serial Numbers 1461x

CyberData SIP Page Server V3 Integration with Zultys MX Serial Numbers 1461x November 15 CyberData SIP Page Server V3 Integration with Zultys MX Serial Numbers 1461x Author: Zultys Technical Support Department This document covers the integration of CyberData s SIP Page Server

More information

HT801/HT802 Firmware Release Note IMPORTANT UPGRADING NOTE

HT801/HT802 Firmware Release Note IMPORTANT UPGRADING NOTE HT801/HT802 Firmware Release Note IMPORTANT UPGRADING NOTE Once HT801/HT802 is upgraded to 1.0.5.7 or above, downgrading to 1.0.2.x firmware version or lower is not supported. Once HT801/HT802 is upgraded

More information

Brekeke PAL Version 2.x Developer s Guide Brekeke Software, Inc.

Brekeke PAL Version 2.x Developer s Guide Brekeke Software, Inc. Brekeke PAL Version 2.x Developer s Guide Brekeke Software, Inc. Version Brekeke PAL v2.x Developer s Guide Revised August 2013 Copyright This document is copyrighted by Brekeke Software, Inc. Copyright

More information

Avaya PBX SIP TRUNKING Setup & User Guide

Avaya PBX SIP TRUNKING Setup & User Guide Avaya PBX SIP TRUNKING Setup & User Guide Nextiva.com (800) 285-7995 2 P a g e Contents Description... 3 Avaya IP PBX Configuration... 3 Licensing and Physical Hardware... 4 System Tab Configuration...

More information

Compliance with RFC 3261

Compliance with RFC 3261 APPENDIX A Compliance with RFC 3261 This appendix describes how the Cisco Unified IP Phone 7960G and 7940G complies with the IETF definition of SIP as described in RFC 3261. It contains compliance information

More information

FRAFOS ABC-SBC Generic SIP Trunk Integration Guide for ShoreTel 14.2

FRAFOS ABC-SBC Generic SIP Trunk Integration Guide for ShoreTel 14.2 FRAFOS ABC-SBC Generic SIP Trunk Integration Guide for ShoreTel 14.2 FRAFOS GmbH FRAFOS GmbH Windscheidstr. 18 10627 Berlin Germany Email: info@frafos.com WWW: www.frafos.com 11.05.2015 IN # 15023 Table

More information

Nortel Secure Router 2330/4134 Configuration SIP Survivability. Release: 10.2 Document Revision: NN

Nortel Secure Router 2330/4134 Configuration SIP Survivability. Release: 10.2 Document Revision: NN Configuration SIP Survivability Release: 10.2 Document Revision: 01.01 www.nortel.com NN47263-510. . Release: 10.2 Publication: NN47263-510 Document release date: 7 September 2009 While the information

More information

Setting Up an Avaya Definity ProLogix Digital PIMG Integration with Cisco Unity Connection

Setting Up an Avaya Definity ProLogix Digital PIMG Integration with Cisco Unity Connection CHAPTER 4 Setting Up an Avaya Definity ProLogix Digital PIMG Integration with Cisco Unity Connection For detailed instructions for setting up an Avaya Definity ProLogix digital PIMG integration with Cisco

More information

SDP-R25 User Manual 05/06/2015

SDP-R25 User Manual 05/06/2015 SDP-R25 User Manual 05/06/2015 1 Content Production Overview... 4 1. Production... 4 2. Features...4 Configuration...7 1. Web Login... 7 1.1. Obtaining the IP address... 7 1.2. Login the Web...7 2. Status...8

More information

AccessEnforcer Version 4.0 Features List

AccessEnforcer Version 4.0 Features List AccessEnforcer Version 4.0 Features List AccessEnforcer UTM Firewall is the simple way to secure and manage your small business network. You can choose from six hardware models, each designed to protect

More information

IP Office Platform R11.0

IP Office Platform R11.0 Issue 03d - (09 October 2018) Contents 8. Remote SIP Deskphones 8.1 Provisioning... the Deskphones 59 8.2 Configuring... Application Rules 61 1.1 Example Schematic... 4 8.3 Configuring... Media Rules 61

More information

Department of Computer Science. Burapha University 6 SIP (I)

Department of Computer Science. Burapha University 6 SIP (I) Burapha University ก Department of Computer Science 6 SIP (I) Functionalities of SIP Network elements that might be used in the SIP network Structure of Request and Response SIP messages Other important

More information

SIP Server Deployment Guide. SRV address support in Contact and Record-Route headers

SIP Server Deployment Guide. SRV address support in Contact and Record-Route headers SIP Server Deployment Guide SRV address support in Contact and Record-Route headers 1/17/2018 Contents 1 SRV address support in Contact and Record-Route headers 1.1 Feature Configuration 1.2 Feature Limitations

More information

SIP Proxy Server. Administrator Installation and Configuration Guide. 08SIPXM.SY2.20a.EN2

SIP Proxy Server. Administrator Installation and Configuration Guide. 08SIPXM.SY2.20a.EN2 SIP Proxy Server Administrator Installation and Configuration Guide 08SIPXM.SY2.20a.EN2 DSG, DSG logo, InterPBX, InterServer, Blaze Series, Savanna, VG5000, VG6000, VG7000, IP590, IP580, IP500, IP510,

More information

Network Management Utility

Network Management Utility 4343-7705-02 Network Management Utility Foreword Welcome Network Management Utility is utility software that provides central control over printers, copiers, and other devices on a network. With Network

More information

Step 3 - How to Configure Basic System Settings

Step 3 - How to Configure Basic System Settings Before configuring the IP address and network settings, complete Step 2 - How to Configure IP Address, network Settings, and Firewall. Verify the computer and the are connected to the same network, with

More information

Unified Communications Mobile and Remote Access via Cisco Expressway

Unified Communications Mobile and Remote Access via Cisco Expressway Unified Communications Mobile and Remote Access via Cisco Expressway Deployment Guide Cisco Expressway X8.1.1 or later Cisco Unified CM 9.1(2)SU1 or later D15068.01 April 2014 Contents Mobile and remote

More information

CUCM XO SIP Trunk Configuration Guide

CUCM XO SIP Trunk Configuration Guide QUANTiX QFlex Session Border Controller CUCM 10.0 - XO SIP Trunk Configuration Guide Release 5.6.2-9 Document revision: 01.01 www.genband.com 2 630-02102-01 QUANTiX QFlex Session Border Controller Publication:

More information

Dolby Conference Phone. Configuration guide for Avaya Aura Platform 6.x

Dolby Conference Phone. Configuration guide for Avaya Aura Platform 6.x Dolby Conference Phone Configuration guide for Avaya Aura Platform 6.x Version 3.1 22 February 2017 Copyright 2017 Dolby Laboratories. All rights reserved. Dolby Laboratories, Inc. 1275 Market Street San

More information

Cisco TelePresence Basic Cisco VCS configuration

Cisco TelePresence Basic Cisco VCS configuration Cisco TelePresence Basic Cisco VCS configuration Deployment Guide D14651.02 September 2011 Cisco VCS Control with Cisco VCS Expressway X7.0 Contents Document revision history 5 Introduction 6 Out of scope

More information

Polycom Video Border Proxy (VBP ) 7301

Polycom Video Border Proxy (VBP ) 7301 RELEASE NOTES 14.8.2 January 2017 3725-78311-001I Polycom Video Border Proxy (VBP ) 7301 Release Notes Polycom VBP 7301 Version 14 Current Version: 14.8.2 Release Date: January 2017 Polycom VBP Release

More information

Dolby Conference Phone. Configuration guide for Avaya Aura Platform 6.x

Dolby Conference Phone. Configuration guide for Avaya Aura Platform 6.x Dolby Conference Phone Configuration guide for Avaya Aura Platform 6.x Version 3.2 28 June 2017 Copyright 2017 Dolby Laboratories. All rights reserved. Dolby Laboratories, Inc. 1275 Market Street San Francisco,

More information

ANSEL FXS / 1 PSTN. VoIP Telephone Adaptor. User Manual V1.10

ANSEL FXS / 1 PSTN. VoIP Telephone Adaptor. User Manual V1.10 ANSEL 5518 1 FXS / 1 PSTN VoIP Telephone Adaptor User Manual V1.10 Quick Guide Step 1: Broadband (ADSL/Cable Modem) Connections for ANSEL 5518 A. Connect ANSEL 5518 WAN port to ADSL NAT Router as the following

More information

SIP System Features. Differentiated Services Codepoint CHAPTER

SIP System Features. Differentiated Services Codepoint CHAPTER CHAPTER 6 Revised: December 30 2007, This chapter describes features that apply to all SIP system operations. It includes the following topics: Differentiated Services Codepoint section on page 6-1 Limitations

More information

Cisco Expressway Cluster Creation and Maintenance

Cisco Expressway Cluster Creation and Maintenance Cisco Expressway Cluster Creation and Maintenance Deployment Guide First Published: December 2009 Last Updated: April 2017 Cisco Expressway X8.9.2 Cisco Systems, Inc. www.cisco.com Contents Preface 3 Change

More information

DMP 128 Plus C V DMP 128 Plus C V AT. ShoreTel Configuration Guide REVISION: DATE: DECEMBER 6 TH 2018

DMP 128 Plus C V DMP 128 Plus C V AT. ShoreTel Configuration Guide REVISION: DATE: DECEMBER 6 TH 2018 DMP 128 Plus C V DMP 128 Plus C V AT ShoreTel Configuration Guide REVISION: 1.1.1 DATE: DECEMBER 6 TH 2018 Revision Log Date Version Notes Sep. 21 st 2018 1.0 First Release: Applies to Firmware 1.01.0010

More information

Acano solution. Third Party Call Control Guide. December F

Acano solution. Third Party Call Control Guide. December F Acano solution Third Party Call Control Guide December 2015 76-1055-01-F Contents Contents 1 Introduction... 3 1.1 How to Use this Guide... 3 1.1.1 Commands... 4 2 Example of Configuring a SIP Trunk to

More information

Application Note Configuration Guide for ShoreTel and Ingate with PAETEC

Application Note Configuration Guide for ShoreTel and Ingate with PAETEC Application Note Configuration Guide for ShoreTel and Ingate with PAETEC 29 August 2008 Table of Contents 1 INTRODUCTION... 1 2 PAETEC CONFIGURATION... 2 2.1 CPE REQUIREMENTS... 2 2.2 PAETEC S DYNAMIC

More information

RX3041. User's Manual

RX3041. User's Manual RX3041 User's Manual Table of Contents 1 Introduction... 2 1.1 Features and Benefits... 3 1.2 Package Contents... 3 1.3 Finding Your Way Around... 4 1.4 System Requirements... 6 1.5 Installation Instruction...

More information

Technical White Paper for NAT Traversal

Technical White Paper for NAT Traversal V300R002 Technical White Paper for NAT Traversal Issue 01 Date 2016-01-15 HUAWEI TECHNOLOGIES CO., LTD. 2016. All rights reserved. No part of this document may be reproduced or transmitted in any form

More information

CyberData SIP RGB Strobe Integration with 8x8

CyberData SIP RGB Strobe Integration with 8x8 CyberData SIP RGB Strobe Integration with 8x8 This document covers the integration of CyberData s SIP RGB Strobe with 8x8. This document was written for 8x8 and the following CyberData Products. 011376

More information

SIP System Features. SIP Timer Values. Rules for Configuring the SIP Timers CHAPTER

SIP System Features. SIP Timer Values. Rules for Configuring the SIP Timers CHAPTER CHAPTER 4 Revised: October 30, 2012, This chapter describes features that apply to all SIP system operations. It includes the following topics: SIP Timer Values, page 4-1 Limitations on Number of URLs,

More information

Polycom RealPresence Access Director System

Polycom RealPresence Access Director System Release Notes 3.1.1 April 2014 3725-78700-001C1 Polycom RealPresence Access Director System Polycom announces the release of the Polycom RealPresence Access Director system, version 3.1.1. This document

More information

SIP Proxy Deployment Guide. SIP Server 8.1.1

SIP Proxy Deployment Guide. SIP Server 8.1.1 SIP Proxy Deployment Guide SIP Server 8.1.1 5/4/2018 Table of Contents SIP Proxy 8.1 Deployment Guide 3 SIP Proxy Architecture and Deployment 4 Supported Features 7 Prerequisites 9 Deploying SIP Proxy

More information

Brekeke PBX Version 2 ARS Plug-in Developer s Guide Brekeke Software, Inc.

Brekeke PBX Version 2 ARS Plug-in Developer s Guide Brekeke Software, Inc. Brekeke PBX Version 2 ARS Plug-in Developer s Guide Brekeke Software, Inc. Version Brekeke PBX Version 2 ARS Plug-in Developer s Guide Revised February 2010 Copyright This document is copyrighted by Brekeke

More information

SIP Devices Configuration

SIP Devices Configuration Set Up Ingress Gateway to Use Redundant Proxy Servers, page 1 Set Up Call Server with Redundant Proxy Servers, page 1 Local SRV File Configuration Example for SIP Messaging Redundancy, page 2 Load-Balancing

More information

Troubleshoot. Locate chip.log File. Procedure

Troubleshoot. Locate chip.log File. Procedure Locate chip.log File, page 1 Locate chip.dmp File, page 2 Reset Admin Password for Administration, page 2 Reset Root Password for Server, page 2 Audio and Video Issues, page 4 Call Links Redirect to Cisco

More information

SIP security and the great fun with Firewall / NAT Bernie Höneisen SURA / ViDe, , Atlanta, GA (USA)

SIP security and the great fun with Firewall / NAT Bernie Höneisen SURA / ViDe, , Atlanta, GA (USA) security and the great fun with Firewall / NAT Bernie Höneisen SURA / ViDe, 29.03.2006, Atlanta, GA (USA) 2006 SWITCH Content and Firewall and NAT Privacy / Encryption SpIT / Authentication Identity General

More information

1 SIP Carriers 1.1 CBeyond 1.1.1 Warnings Check the SIP 3 rd Party SIP Carrier Matrix for certification status, and supported features. More info about the SIP 3 rd Party SIP Carrier Matrix can be found

More information

Acano solution. Third Party Call Control Guide. 07 June G

Acano solution. Third Party Call Control Guide. 07 June G Acano solution Third Party Call Control Guide 07 June 2016 76-1055-01-G Contents 1 Introduction 3 1.1 How to Use this Guide 3 1.1.1 Commands 5 2 Example of Configuring a SIP Trunk to CUCM 6 2.1 Prerequisites

More information

Sipura SPA 3000 How To. (c) Bicom Systems

Sipura SPA 3000 How To. (c) Bicom Systems Sipura SPA 3000 How To Sipura SPA 3000 How To All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying, recording,

More information

SIP Devices Configuration

SIP Devices Configuration Set Up Ingress Gateway to Use Redundant Proxy Servers, on page 1 Set Up Call Server with Redundant Proxy Servers, on page 1 Local SRV File Configuration Example for SIP Messaging Redundancy, on page 2

More information

User Identity Sources

User Identity Sources The following topics describe Firepower System user identity sources, which are sources for user awareness. These users can be controlled with identity and access control policies: About, on page 1 The

More information

SIP System Features. SIP Timer Values. Rules for Configuring the SIP Timers CHAPTER

SIP System Features. SIP Timer Values. Rules for Configuring the SIP Timers CHAPTER CHAPTER 4 Revised: March 24, 2011, This chapter describes features that apply to all SIP system operations. It includes the following topics: SIP Timer Values, page 4-1 SIP Session Timers, page 4-7 Limitations

More information

Call Control Discovery

Call Control Discovery CHAPTER 3 The call control discovery feature leverages the Service Advertisement Framework (SAF) network service, a proprietary Cisco service, to facilitate dynamic provisioning of inter-call agent information.

More information

Session Border Controller

Session Border Controller CHAPTER 14 This chapter describes the level of support that Cisco ANA provides for (SBC), as follows: Technology Description, page 14-1 Information Model Objects (IMOs), page 14-2 Vendor-Specific Inventory

More information