Documente Academic
Documente Profesional
Documente Cultură
Application Notes for Configuring Alternate Methods of Domain Based Routing for Outbound SIP Calls with the Avaya SIP Trunk Architecture Issue 1.0 Abstract
These Application Notes describe alternate methods to configure Domain Based Routing for outbound SIP calls in Avaya SIP trunk architecture. The Avaya SIP trunk architecture consists of Avaya Communication Manager as well as Avaya SIP Enablement Services. Comparisons with Avaya SIP Enablement Services Host Map provisioning are discussed. Information in these Application Notes has been obtained through testing conducted by the Avaya Solution and Interoperability Test Lab.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
1 of 27 Alternate_DBR
Table of Contents
1. 1.1. 1.2. 1.3. 1.4. 2. 3. 3.1. 3.2. 3.2.1 3.2.2 3.3. 3.3.1 4. 4.1. 4.2. 4.2.1 4.2.2 4.3. 4.3.1 5. 5.1. 5.2. 5.2.1 5.2.2 5.2.3 5.3. 6. 7. 8. 8.1. 8.1.1 8.1.2 Introduction.................................................................................................................3 Host Map Routing.......................................................................................................4 Domain Based Routing ...............................................................................................4 Domain Based Routing Using Host Maps ..................................................................6 Equipment and Software Validated ............................................................................7 Avaya Communication Manager SIP Trunks .............................................................7 Host Map Routing Method (No DNS Query).............................................................8 Host Map Provisioning Example ................................................................................8 Avaya SES Provisioning.............................................................................................9 Verify the Avaya SES SIP Domain - System Properties............................................9 Configure a Host Map.................................................................................................9 Avaya Communication Manager Provisioning.........................................................12 Configure Signaling Group Far-End Domain Field..................................................12 Domain Based Routing Method (No Avaya SES Host Maps) ..............................13 Domain Based Routing Provisioning Example ........................................................13 Avaya SES Provisioning...........................................................................................14 Verify DNS Provisioning on the Avaya SES ...........................................................14 Add/Change DNS Provisioning on the Avaya SES..................................................14 Avaya Communication Manager Provisioning.........................................................18 Configure Signaling Group Far-End Domain Field..................................................18 Domain Based Routing with Host Maps ..................................................................19 Domain Based Routing with Host Map Provisioning Example ...............................19 Avaya SES Provisioning...........................................................................................20 Verify the Avaya SES SIP Domain - System Properties..........................................20 Configure a Host Map for Domain Based Routing ..................................................20 Verify/Add the Avaya SES DNS Provisioning ........................................................23 Avaya Communication Manager Provisioning.........................................................23 Summary of Avaya SES Outbound Call Routing Methods......................................23 References.................................................................................................................24 APPENDIX A: Specifying Pattern Strings in Host Maps ........................................25 Address Map Caveats ...............................................................................................25 Over-lapping Address Map Strings ..........................................................................25 Using a Plus Sign (+) in a Host Map ........................................................................26
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
2 of 27 Alternate_DBR
1. Introduction
These Application Notes describe alternate methods for provisioning Domain Based Routing for outbound SIP calls from the Avaya SIP trunk architecture to a service provider. The Avaya SIP trunk architecture consists of an Avaya Communication Manager platform (providing PBX functionality) and an Avaya SIP Enablement Services (SES) platform (providing SIP proxy functionality). Figure 1 shows the typical Avaya SIP trunk architecture for outbound SIP calls. From a service provider perspective the Avaya components are considered Customer Premises Equipment (CPE). Outbound calls are those originating from the CPE.
Figure 1: Avaya SIP Trunk Architecture for Outbound SIP calls When Avaya Communication Manager sends an outbound SIP call to the Avaya SES, the Avaya SES has two primary methods to determine where to send the call for completion. One of these methods is Host Maps and the other is Domain Based Routing. Each of these methods has advantages and each requires different provisioning on Avaya Communication Manager and the Avaya SES.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
3 of 27 Alternate_DBR
These Application notes also describe a third method that combines Host Maps with Domain Based Routing. Note - The initial installation, configuration, and provisioning of the Avaya servers for Avaya Communication Manager and Avaya SIP Enablement Services, Avaya Media Gateways and their associated boards, as well as Avaya telephones, are presumed to have been previously completed and are not discussed in these Application Notes.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
4 of 27 Alternate_DBR
Table 1 shows a summary of the methods described in Sections 1.1 and 1.2. Avaya SES Outbound Call Routing Method Host Maps Avaya Communication Manager Outbound SIP Trunk Far End Domain Avaya SES SIP Domain Considerations
Foreign Domain
Host Maps offer flexibility as to the transport protocol and port specified. Host Maps may specify any destination. Host Map matching criteria maybe as wide or narrow as required. Each Host Map can only specify one destination. If a service provider supports multiple service access nodes, a Host Map may be defined to each, although the matching pattern must be unique for each Host Map. Possibility for over-lapping/ contradictory Host Maps to be provisioned resulting in indeterminist Avaya SES call processing. Host Maps are static in that network changes must be compensated for manually by editing the Host Map list. Domain Based Routing requires that a service provider network aware DNS server(s) is provisioned in the Avaya SES. No Host Maps are required. Requires a dedicated outbound trunk provisioned on Avaya Communication Manager that specifies a foreign domain. Domain Based Routing is dynamic in that no Avaya SES provisioning is required to reflect service provider network changes. Alternate transport protocols and ports cannot be specified via the
5 of 27 Alternate_DBR
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
Avaya SES although DNS exchanges can specify which transport protocols and ports to use (as provisioned by the service provider). Domain Based Routing offers maximum flexibility for the service provider since they can manipulate the DNS records to reflect load balancing, network changes, network outages, etc. Table 1: Host Map versus Domain Based Routing for outbound calls Note - The Avaya SES has an option to specify an Outbound Proxy. The Outbound Proxy is an external device (e.g. a SIP Gateway) that the Avaya SES will route outbound calls to if the request URI specifies a foreign domain. Since specifying an Outbound Proxy precludes the use of Domain Based Routing, Outbound Proxy functionality is not discussed in these Application Notes.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
6 of 27 Alternate_DBR
a10d01b2-8-3.bin (H.323) a10d01b2-2-2.bin (SIP) Avaya 9620 and 9630 IP 1.5 (H323) Telephones 2.0.5.0 (SIP) Avaya 6408D+ Digital Phones Table 2 Hardware, firmware, and software configuration list
As described in Section 1, if the SIP trunk Signaling Group Far-End Domain field specifies the Avaya SES SIP Domain, the Avaya SES is authoritative for the call and will query Host Maps to determine where to send the call. If the SIP trunk Signaling Group Far-End Domain field specifies a foreign domain, the Avaya SES is not authoritative for the call and will attempt a DNS SRV query (Domain Based Routing). See the references in Section 7 for more information on provisioning for Avaya SIP Trunking.
b. The Avaya SES will send the call to the destination specified in the associated Contact (see Section 3.2.2). Note If no port or protocol value is specified in a Host Map contact, the SES will use port 5060 and UDP protocol for outbound calls. However there may be cases where the user may need to over-ride these values. If the user needs to specify a different destination port and/or protocol, then Avaya SES Host Maps must be used to specify these new values.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
9 of 27 Alternate_DBR
Figure 3: Avaya SES List Hosts 3. The List Host Address Map page will open (Figure 4). 4. Select Add Map In New Group
Figure 4: Avaya SES List Host Address Map 5. The Add Host Address Map window will open (Figure 5). 6. In the Name field enter a name for the Map (e.g. Outbound). 7. In the Pattern field enter a called number string to match on. In this example a pattern to match on all 1800 numbers is entered ^sip:1800[0-9]{7} Note See Appendix A for details on specifying Host Map patterns. 8. Verify that the Replace URI option is checked.
JF; Reviewed: SPOC 3/23/2009 Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved. 10 of 27 Alternate_DBR
Figure 5: Avaya SES Add Host Address Map 10. Click on the Continue button when prompted. The updated List Host Address Map window will open (Figure 6). 11. Select Add Another Contact and the Add Host Contact window will open (Figure 7).
Figure 6: Avaya SES Updated List Host Address Map 12. In the Contact field enter the destination IP address for this outbound call (e.g. 10.10.10.10) using the following format: sip:$(user)@10.10.10.10:5060;transport=udp
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
11 of 27 Alternate_DBR
Note For clarity the default port 5060 was specified as was default transport protocol UDP. A different port and/or transport protocol may be specified if required.
Figure 7: Avaya SES Add Host Contact 13. Click on Add and then Continue when prompted.
(e.g. ses.domain.com).
add signaling-group 10 SIGNALING GROUP Group Type: sip Transport Method: tls Near-end Node Name: clan Far-end Node Name: SES Near-end Listen Port: 5061 Far-end Listen Port: 5061 Group Number: 10 JF; Reviewed: SPOC 3/23/2009 Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved. 12 of 27 Alternate_DBR
Far-end Network Region: 1 Far-end Domain: ses.domain.com DTMF over IP: rtp-payload Enable Layer 3 Test? n Session Establishment Timer(min): 3 Bypass If IP Threshold Exceeded? Direct IP-IP Audio Connections? IP Audio Hairpinning? Alternate Route Timer(sec): n y n 6
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
13 of 27 Alternate_DBR
b. The Avaya SES will send a DNS SRV request to the DNS server(s) that has(have) been provisioned in the Avaya SES (see Sections 4.2.1 and 4.2.2). c. The Avaya SES will send the call to the destination specified in the DNS response. Note By default the Avaya SES will use port 5060 and UDP protocol for outbound calls. The DNS SRV responses may also specify which port and/or protocol the Avaya SES is to use. However there may be cases where the user may need to over-ride these values. If a different destination port and/or protocol are required, then Domain Based Routing should not be used and Avaya SES Host Maps must be used to specify these new values. See Section 3 for Host Map provisioning.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
14 of 27 Alternate_DBR
Warning The initial_setup procedure described in this section for modifying/adding DNS information could result in the re-initialization of the Avaya SES data base and all existing provisioning would be lost. It is strongly recommended that the Avaya SES be backed up prior to this procedure. Using the Tab key, move the cursor to the Primary DNS IP Address line and enter the new DNS address. If there is a secondary DNS address, enter it in the next line. Press the Tab key until the OK button is highlighted. Then press the Enter key. You can press the Exit button at any time to abort the process. Note The Avaya SES DNS Domain Name shown in Figure 10 below does not have the same meaning as the Avaya SES SIP Domain described in Section 3.2.1. The DNS Domain is the domain name that network DNS servers use to resolve the Avaya SES IP address. The SIP Domain is the domain the Avaya SES uses for SIP messaging and to determine its authoritative state for SIP calls. These two domain name fields are typically provisioned with the same value, although this is not required.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
15 of 27 Alternate_DBR
After the OK button is pressed, the screen shown in Figure 11 will be displayed. Leaving the default value selected (e.g. Simplex), press the Tab key until the OK button is highlighted. Press the Enter key.
Figure 11: Avaya SES - Default Redundancy Configuration After the OK button is pressed, the screen shown in Figure 12 will open. Verify the Finish button is highlighted (use the Tab key to change the selection) and press the Enter key.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
16 of 27 Alternate_DBR
Next, the screen shown in Figure 13 will open asking to stop the Avaya SES processes. Verify that the option [y] is offered. If not, enter y. Press the Enter key to accept the default value [y].
Figure 13: Changing the DNS IP Address Stopping the Avaya SES Processes The screen shown in Figure 14 will open regarding the Avaya SES database. Verify that the option [n] is offered. If not, enter n. Press the Enter key to accept the default value [n]. Note This step must be performed with caution. If y is entered and confirmed, the database will be initialized and all existing Avaya SES provisioning will be lost!
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
17 of 27 Alternate_DBR
Next, the screen shown in Figure 15 will open asking to restart the Avaya SES processes. Verify that the option [y] is offered. If not, enter y. Press the Enter key to accept the default value [y].
Figure 15: Changing the DNS IP Address Restarting Avaya SES The Avaya SES will then restart with the new DNS parameters.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
18 of 27 Alternate_DBR
add signaling-group 10 SIGNALING GROUP Group Type: sip Transport Method: tls Near-end Node Name: clan Far-end Node Name: SES Near-end Listen Port: 5061 Far-end Listen Port: 5061 Far-end Network Region: 1 Far-end Domain: sp.foreign.com Bypass If IP Threshold Exceeded? DTMF over IP: rtp-payload Direct IP-IP Audio Connections? Enable Layer 3 Test? n IP Audio Hairpinning? Session Establishment Timer(min): 3 Alternate Route Timer(sec): Group Number: 10
n y n 6
Figure 16: Domain Based Routing - Signaling Group Far-End Domain Field 2. Add a corresponding Trunk Group per Avaya Communication Manager SIP trunk provisioning. 3. Provision Avaya Communication Manager outbound call routing to use this new SIP trunk.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
19 of 27 Alternate_DBR
Communication Manager will use the FQDN of the Avaya SES SIP Domain in the Request URI of the INVITE. c. Avaya Communication Manager sends the INVITE to the Avaya SES. 2. Avaya SES a. The Avaya SES compares the Request URI (ses.domain.com) of the INVITE received from Avaya Communication Manager to its SIP Domain (ses.domain.com) and sees that it is authorative for the FQDN. Therefore, the Avaya SES will look at any provisioned Host Maps. b. The Avaya SES has a Host Map defined with a Contact (Figure 21 below) that specifies the foreign domain supplied by the service provider (e.g. sp.foreign.com) as the destination. c. The Avaya SES will issue a DNS SRV query for the foreign domain to the provisioned DNS server (see Section 4.2.1 and 4.2.2). d. The Avaya SES sends the call to the destination specified in the DNS response.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
20 of 27 Alternate_DBR
Figure 17: Avaya SES List Hosts 3. The List Host Address Map page will open (Figure 18). 4. Select Add Map In New Group
Figure 18: Avaya SES List Host Address Map 5. The Add Host Address Map window will open (Figure 19). 6. In the Name field enter a name for the Map (e.g. Outbound_DBR). 7. In the Pattern field enter a called number string to match on. In this example a pattern to match on all 1555 numbers is entered ^sip:1555[0-9]{7} Note See Appendix A for details on specifying Host Map patterns. 8. Verify that the Replace URI option is checked. 9. Click on the Add button.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
21 of 27 Alternate_DBR
Figure 19: Avaya SES Add Host Address Map 10. Click on the Continue button when prompted. The updated List Host Address Map window will open (Figure 20).
Figure 20: Avaya SES Updated List Host Address Map 11. Select Add Another Contact and the Add Host Contact window will open (Figure 21). 12. In the Contact field (Figure 21) enter the foreign domain provided by the service provider (e.g. sp.foreign.com) for this outbound call using the following format: sip:$(user)@sp.foreign.com
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
22 of 27 Alternate_DBR
Figure 21: Avaya SES Add Host Contact 13. Click on Add and then Continue when prompted.
Avaya SES Host Map Contact Specific destination IP address (e.g. sip:$(user)@10.10.10.10 ) N/A Service provider supplied foreign domain (e.g. sip:$(user)@sp.foreign.com )
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
23 of 27 Alternate_DBR
7. References
The following Avaya product documentation is available at http://support.avaya.com. [1] Administrator Guide for Avaya Communication Manager, January 2008, Issue 4.0, Document Number 03-300509. [2] Administering SIP Enablement Services on the Avaya S8300 Server, Document number 03602508, Issue 1.0, January 2008 [3] Installing and Administering SIP Enablement Services, January 2008, Issue 5.0, Document Number 03-600768 [4] SIP Support in Avaya Communication Manager Running on Avaya S8xxx Servers, Document Number 555-245-206, Issue 8, January 2008. [5] Application Notes for Configuring the Avaya SIP Trunk Architecture with the Verizon Business IP Trunking Service in a 2-CPE Environment, January 2009, Issue 1.0 [6] Application Notes for Configuring SIP Trunks between the Verizon Business IP Contact Center (IPCC) Services and Avaya SIP Telephony Using Domain Based Routing, January 2009, Issue 1.0
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
24 of 27 Alternate_DBR
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
25 of 27 Alternate_DBR
If the following address map strings are listed in this order: ^sip:555[0-9]{4} with a contact of 10.10.10.10 ^sip:555[0-9]{4}[0-2]{5} with a contact of 20.20.20.20 And the following dialed string is received: 555121211111 The Avaya SES may send the call to 10.10.10.10 instead of the intended destination of 20.20.20.20 (the match will be on 5551212). A way to alleviate this situation is to indicate the end of the intended pattern by specifying an @ character. Using the example above: If the following address map strings are listed in this order: ^sip:555[0-9]{4}@ with a contact of 10.10.10.10 ^sip:555[0-9]{4}[0-2]{5} with a contact of 20.20.20.20 And the following dialed string is received: 555121211111 The Avaya SES will send the call to the intended destination of 20.20.20.20.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
26 of 27 Alternate_DBR
Avaya and the Avaya Logo are trademarks of Avaya Inc. All trademarks identified by and are registered trademarks or trademarks, respectively, of Avaya Inc. All other trademarks are the property of their respective owners. The information provided in these Application Notes is subject to change without notice. The configurations, technical data, and recommendations provided in these Application Notes are believed to be accurate and dependable, but are presented without express or implied warranty. Users are responsible for their application of any products specified in these Application Notes. Please e-mail any questions or comments pertaining to these Application Notes along with the full title name and filename, located in the lower right corner, directly to the Avaya Solution & Interoperability Test Lab at interoplabnotes@list.avaya.com
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
27 of 27 Alternate_DBR