Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Configuring SIP IP Telephony Using Avaya AuraTM Session Manager, Avaya AuraTM Communication Manager, and the Cisco AS5400 Universal Gateway Issue 1.0
Abstract
These Application Notes describe the configuration steps required to connect the Cisco AS5400 Universal Gateway to a SIP infrastructure consisting of an Avaya AuraTM Session Manager and an Avaya S8500 Server with G6500 Media Gateway running Avaya AuraTM Communication Manager. SIP trunking with Communication Manager and AS5400 are connected via Session Manager. The configuration steps described are also applicable to other Linux-based Avaya Servers and Media Gateways running Avaya AuraTM Communication Manager.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
1 of 28 ASM-ACM-AS5400
1. Introduction
With the introduction of the SIP standard that supports telephony as well as other communication modes, there is a much broader range of SIP telephones and gateways available to customers. There will be sales opportunities involving customers who wish to purchase the Avaya SIP offer, but have a significant investment in SIP/PSTN gateways other than those offered by Avaya. Customers may be interested in replacing their existing telephony infrastructure with Avaya servers, but wish to re-use the existing nonAvaya gateways. These Application Notes describe the configuration steps for using the Cisco AS5400 Universal Gateway with Avaya Aura Session Manager, and Avaya Aura Communication Manager. Only the configuration steps pertinent to interoperability of Cisco and Avaya equipment are covered. General administration information can be found in the product documentation as well as the specific references listed in Section 9. The configuration described should be applicable to other Linux-based Avaya Servers and Media Gateways running Avaya Aura Communication Manager.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
2 of 28 ASM-ACM-AS5400
2. Configuration
The configuration used as an example in these Application Notes is shown in Figure 1. The diagram indicates logical signaling connections. With the exception of the Avaya 6408D Digital Telephone and the fax machines, all components are physically connected to an Ethernet Switch and are administered on a single subnet. The Cisco AS5400 Universal Gateway is connected to the PSTN network using a T1 PRI. Note: There is a DEFINITY PBX connected between the PSTN and the Cisco AS5400 that removes the first 5 digit from an incoming PSTN call before presenting a 5-digit extension to the Cisco AS500. This DEFINITY PBX is not shown to in the figure, and does not affect the interoperability of the overall solution. The configuration steps described in the following sections cover the routing of calls by Session Manager, Communication Manager, and the AS5400. The AS5400 is configured as a peer gateway that routes calls between its T1/PRI and SIP interfaces. The SIP trunk to the Cisco AS5400 is shown between the Cisco AS5400 and Avaya Session Manager.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
3 of 28 ASM-ACM-AS5400
4. Supported Features
Table 1 gives a summary of the features supported by the configuration steps described in these Application Notes. . Feature Extension-to-extension calls Basic calls to legacy phones Caller ID DTMF Fax (G.711 voice mode) Fax (T.38) Call Hold, Resume Attended Transfer Unattended Transfer Conference Compressed codecs Comments Digital, H.323, Analog RFC 2833
G.729
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
4 of 28 ASM-ACM-AS5400
USED 6 1 0 0 0 0 0 0 20
2. Use the change system-parameters features command to allow for trunk-to-trunk transfers. This feature is needed to allow for transferring an incoming/outgoing call from/to a remote switch back out to the same or different switch. For simplicity, the Trunk-toTrunk Transfer field was set to all to enable all trunk-to-trunk transfers on a system wide basis. Note: This feature poses significant security risk, and must be used with caution. As an alternative, the trunk-to-trunk feature can be implemented using Class Of Restriction or Class Of Service levels.
change system-parameters features Page 1 of FEATURE-RELATED SYSTEM PARAMETERS Self Station Display Enabled? n Trunk-to-Trunk Transfer: all Automatic Callback with Called Party Queuing? n Automatic Callback - No Answer Timeout Interval (rings): 3 Call Park Timeout Interval (minutes): 10 Off-Premises Tone Detect Timeout Interval (seconds): 20 AAR/ARS Dial Tone Required? y Music/Tone on Hold: music Type: ext 14383 Music (or Silence) on Transferred Trunk Calls? no DID/Tie/ISDN/SIP Intercept Treatment: attd 18
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
5 of 28 ASM-ACM-AS5400
3. Use the change node-names ip command to add entries for the CLAN and Avaya Aura Session Manager that will be used for connectivity. In the sample network, CLAN and 172.28.10.7 are entered as Name and IP Address for the Avaya Aura Communication Manager system. In addition, ASM-SM1 and 10.1.2.170 are entered for Avaya Aura Session Manager.
change node-names ip IP NODE NAMES Name ASM-SM1 ASM-SM2 CLAN IP Address 10.1.2.170 10.1.2.180 172.28.10.7 Page 1 of 2
4. Use the change ip-network-region n command, where n is the network region number to configure the network region being used. In the sample network ipnetwork-region 1 is used. For the Authoritative Domain field, enter the SIP domain name configured for this enterprise and a descriptive Name for this ip-networkregion. Set Intra-region IP-IP Direct Audio and Inter-region IP-IP Direct Audio to yes to allow for direct media between endpoints. Set the Codec-Set to 1 to use ipcodec-set 1.
change ip-network-region 1 IP NETWORK REGION Region: 1 Location: Authoritative Domain: avaya.com Name: ASM-to-Cisco MEDIA PARAMETERS Intra-region IP-IP Direct Audio: yes Codec Set: 1 Inter-region IP-IP Direct Audio: yes UDP Port Min: 2048 IP Audio Hairpinning? n UDP Port Max: 3329 DIFFSERV/TOS PARAMETERS RTCP Reporting Enabled? y Call Control PHB Value: 46 RTCP MONITOR SERVER PARAMETERS Audio PHB Value: 46 Use Default Server Parameters? y Video PHB Value: 26 802.1P/Q PARAMETERS Call Control 802.1p Priority: 6 Audio 802.1p Priority: 6 Video 802.1p Priority: 5 AUDIO RESOURCE RESERVATION PARAMETERS H.323 IP ENDPOINTS RSVP Enabled? n H.323 Link Bounce Recovery? y Idle Traffic Interval (sec): 20 Keep-Alive Interval (sec): 5 Keep-Alive Count: 5 Page 1 of 19
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
6 of 28 ASM-ACM-AS5400
5. Use the change ip-codec-set n command, where n is the existing codec set number to configure the desired audio codec. One page 2 of this form, set Fax Mode to t.38-standard.
change ip-codec-set 1 IP Codec Set Codec Set: 1 Audio Codec 1: G.711MU 2: G.729 Silence Suppression n n Frames Per Pkt 2 2 Packet Size(ms) 20 20 Page 1 of 2
Page
2 of
Redundancy 0 0 3 0
6. In the test configuration, signal group 25 along with trunk group 25 were used to reach Session Manager. Use the add signaling-group n command, where n is the signaling-group number being added to the system. The Far-end Domain is left blank so that the signaling group accepts any authoritative domain.
display signaling-group 25 SIGNALING GROUP Group Number: 25 IMS Enabled? n Group Type: sip Transport Method: tls
Near-end Node Name: CLAN Near-end Listen Port: 5061 Far-end Domain: DTMF over IP: rtp-payload Session Establishment Timer(min): 3 Enable Layer 3 Test? n H.323 Station Outgoing Direct Media? n
Far-end Node Name: ASM-SM1 Far-end Listen Port: 5061 Far-end Network Region: 1 Direct IP-IP Audio Connections? IP Audio Hairpinning? Direct IP-IP Early Media? Alternate Route Timer(sec): y n n 6
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
7 of 28 ASM-ACM-AS5400
7. Use the add trunk-group n command, where n is the new trunk group number being added to the system. The following screens show the settings used for trunk group 25.
Add trunk-group 25 TRUNK GROUP Group Number: Group Name: Direction: Dial Access? Queue Length: Service Type: 25 To-ASM two-way n 0 tie Group Type: sip CDR Reports: y COR: 1 TN: 1 TAC: 125 Outgoing Display? n Night Service: Auth Code? n Signaling Group: 25 Number of Members: 10 add trunk-group 25 ACA Assignment? n TRUNK FEATURES Measured: none Maintenance Tests? y Numbering Format: public UUI Treatment: service-provider Replace Restricted Numbers? y Replace Unavailable Numbers? y Show ANSWERED BY on Display? Y Page 3 of 21 Page 1 of 21
8. Use the change public-unknown-numbering command to define the calling party number to be sent out to through the SIP trunk. Add an entry for the trunk group defined in Step 7. In the sample network configuration below, all calls originating from a 5-digit extension beginning with 11 and routed to trunk group 25 will result in a 5-digit calling number. The calling party number will be in the SIP From header.
change public-unknown-numbering 0 Page 1 of NUMBERING - PUBLIC/UNKNOWN FORMAT Total Ext Ext Trk CPN CPN Len Code Grp(s) Prefix Len Total Administered: 3 5 11 25 5 Maximum Entries: 240 2
9. Use the change inc-call-handling-trmt trunk-group n where n is the incoming trunk group number to map the incoming digit to an internal extension.
change inc-call-handling-trmt trunk-group 25 INCOMING CALL HANDLING TREATMENT Service/ Number Number Del Insert Feature Len Digits tie 5 21816 5 11010 Page 1 of 30
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
8 of 28 ASM-ACM-AS5400
11. Use the change ars analysis n command where n is the dial string pattern to configure an ars entry for Dialed String 1732 to use Route Pattern 25.
change ars analysis 1732 ARS DIGIT ANALYSIS TABLE Location: all Dialed String 1732 174 175 Total Min Max 11 11 11 11 11 11 Route Pattern 25 deny deny Call Type fnpa fnpa fnpa Node Num Page 1 of 2 1
12. Configure a route pattern to correspond to the newly added SIP trunk group. Use the change route-pattern n command, where n is the route pattern number specified in Step 11. Configure this route pattern to route calls to trunk group number 25 configured in Step 7.
change route-pattern 25 Pattern Number: 25 Pattern Name: To-ASM SCCAN? n Secure SIP? n Grp FRL NPA Pfx Hop Toll No. Inserted No Mrk Lmt List Del Digits Dgts 1: 25 0 2: 3: BCC VALUE TSC CA-TSC 0 1 2 M 4 W Request 1: y y y y y n 2: y y y y y n n n ITC BCIE Service/Feature PARM rest rest Page 1 of 3
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
9 of 28 ASM-ACM-AS5400
1. Access the Avaya Aura System Manager using a Web Browser and entering http://<ip-address>/IMSM, where <ip-address> is the IP address of Avaya Aura System Manager. Log in using appropriate credentials and accept the subsequence Copyright Legal Notice.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
10 of 28 ASM-ACM-AS5400
2. Begin configuration by selecting Network Routing Policy from the left panel menu. A short procedure for configuring Network Routing Policy is shown on the right panel.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
11 of 28 ASM-ACM-AS5400
3. Add the SIP domain, for which the communications infrastructure will be authoritative, by selecting SIP Domains on the left panel menu and clicking the New button (not shown) to create a new SIP domain entry. The following screen will be shown after clicking New. Click Commit to save changes. Name Notes The authoritative domain name (e.g., avaya.com) Description for the domain (optional)
Note: Since the sample network does not deal with any foreign domains, no additional SIP Domains entry is needed.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
12 of 28 ASM-ACM-AS5400
4. A SIP Entity must be added to Avaya Aura Session Manager for each SIP-based telephony system supported by a SIP Trunk. To add a SIP Entity, select SIP Entities on the left panel menu and then click on the New button (not shown) on the right. Enter the following for each SIP Entity. Under General: Name FQDN or IP Address Type
An informative name (e.g., Avaya-S8500) IP address of the ASM or the signaling interface on the telephony system Session Manager for Avaya Aura Session Manager, CM for Avaya Aura Communication Manager, or Other for Cisco AS5400 The location that this SIP Entity belongs in Time zone for this location
The following screen shows the SIP Entity for Avaya AuraTM Communication Manager.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
13 of 28 ASM-ACM-AS5400
The following screen shows the SIP Entity for Cisco AS5400.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
14 of 28 ASM-ACM-AS5400
5. A SIP trunk between Avaya Aura Session Manager and a telephony system is described by an Entity link. To add an Entity Link, select Entity Links on the left panel menu and click on the New button on the right. Fill in the following fields in the new row that is displayed. Name SIP Entity 1 Port SIP Entity 2 Port Trusted Protocol An informative name Select SM1 Port number to which the other system sends its SIP requests The other SIP Entity for this link, created in Step 4 Port number to which the other system expects to receive SIP requests Whether to trust the other system Transport protocol to be used to send SIP requests
Click Commit to save changes. The following screen shows the Entity Links used in the sample network.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
15 of 28 ASM-ACM-AS5400
6. Before adding routing policies (see next step), time ranges must be defined during which the policies will be active. In the sample network, one policy was defined that would allow routing to occur at anytime. To add this time range, select Time Ranges from the left panel menu and then click New on the right. Fill in the following fields. Name Mo through Su Start Time End Time An informative name (e.g. Anytime) Check the box under each day of the week for inclusion Enter start time (e.g. 00:00 for start of day) Enter end time (e.g. 23:59 for end of day)
7. Create routing policies to direct how a call should be handled by the system. Two routing policies must be added; one for Communication Manager and one for AS5400. To add a routing policy, select Routing Policies on the left panel menu and then click on the New button (not shown) on the right. Under General Enter an informative name Under SIP Entity as Destination Click Select, and then select the appropriate SIP entity to which this routing policy applies Under Time of Day Click Add, and then select the time range configured in the previous step.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
16 of 28 ASM-ACM-AS5400
The following is screen shows the Routing Policy for Communication Manager.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
17 of 28 ASM-ACM-AS5400
The following is screen shows the Routing Policy for Cisco AS5400.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
18 of 28 ASM-ACM-AS5400
8. A dial pattern must be defined that will direct calls to the appropriate telephony system. In the sample network the 5-digit extension 21816 needs to be routed to Communication Manager and the 10-digit extension beginning with 732 needs to be routed to the Cisco AS5400. To add a dial pattern, select Dial Patterns on the left panel menu, and then click on the New button on the right (not shown). Under General Pattern Min Max Notes
Dialed number or prefix Minimum length of dialed number Maximum length of dialed number Comment on purpose of dial pattern
The following screen shows the dial pattern to Avaya Aura Communication Manager.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
19 of 28 ASM-ACM-AS5400
T.38 Fax (replace with fax protocol pass-through g711ulaw for voice mode Same as above for VoIP Restricted call support Bind signaling & meida to specific Ethernet port SIP signaling via TCP Allow different rcv/xmt DTMF payload
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
20 of 28 ASM-ACM-AS5400
! voice class codec 1 codec preference 1 g711ulaw codec preference 2 g729r8 ! interface FastEthernet0/1 ip address 10.1.2.40 255.255.255.0 no ip route-cache cef no ip route-cache duplex auto speed auto !
Set ISDN PRI switch protocol Send ALERT message (rather than PROGRESS) back on receipt of SETUP message. Configure T1 controller 2/0 Use all 23 bearer channels Configure PRI signaling channel (last channel) DISCONNECT timer CALL PROCEEDING timer Enable call clearing timer No Cisco Discovery Protocol Switch to voice-port config mode using PRI D
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
21 of 28 ASM-ACM-AS5400
SIP signaling Route to Avaya SM Use RFC 2833 for signaling DTMF Codec preferences (see Section 5, Sep 5 T1/PRI dial peer Outbound calls for area code 732 T1 signaling interface Forward AAA-NNN-XXXX Prefix *9 for outside calls
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
22 of 28 ASM-ACM-AS5400
8. Verification
All features shown in Table 1 were tested using SIP trunks between Session Manager and AS5400 and Communication Manager shown in the sample configuration. The following steps can be used to verify/troubleshoot installations in the field. 1. Place a call from a PSTN phone to the DID that is mapped to an extension on Communication Manager. Use the list trace tac command to confirm that the call arrives on the configured SIP trunk in Communication Manager. Use a call that permits verification of DTMF support (e.g., let the call to go to voice mail). 2. Place a call from a Communication Manager extension to a PSTN phone. Use the list trace tac command to confirm that the call is routed outbound on the configured SIP trunk in Communication Manager. Use a call that permits verification of DTMF support (e.g., let the call to go to voice mail). 3. Use a network sniffer to verify that INVITE messages are properly routed between the Session Manager and Cisco AS5400. If DTMF is not successfully transmitted, check proper configuration of the Cisco AS5400 (see Section 7). Connect fax machines to a PSTN analog port and to an analog port on Avaya Media Gateways, as applicable. Confirm successful calls and accurate fax transmissions. If they fail, use the previous verification steps to verify that the calls are properly routed, and that T.38 fax mode is achieved, if applicable. Note that G.711 voice mode fax may not work in networks experiencing excessive packet loss and jitter.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
23 of 28 ASM-ACM-AS5400
2. Verify the status of the SIP signaling-group by using the status signaling-group n command, where n is the signaling group number being investigated. Verify that the signaling group is in the in-service state as shown below.
status signaling-group 25 STATUS SIGNALING GROUP Group ID: Group Type: Signaling Type: Group State: 25 sip facility associated signaling in-service Active NCA-TSC Count: 0 Active CA-TSC Count: 0
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
24 of 28 ASM-ACM-AS5400
2. Select the SIP Entity Name entities, shown in the previous screen, and verify that the connection status is Up, as shown below for AS5400.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
25 of 28 ASM-ACM-AS5400
9. Conclusion
As illustrated in these Application Notes, Avaya AuraTM Session Manager can support SIP trunking to Cisco AS 5400 Universal Gateway for PRI connection to the PSTN. Basic calling, Hold, Conference, Transfer (Attended and Blind), Fax (T.38 and passthrough) as well as other supplementary feature such as Call Pickup, Call Park, are supported in this configuration. The following is a list of interoperability items to note: Call Forwarding from an Avaya telephone to another Avaya telephone is not support for incoming PSTN call. Cisco AS 5400 does not support call being forward from one Avaya telephone to another Avaya telephone. The Cisco AS5400 fail to respond to SIP signaling from Session Manager thus preventing the call from being established between the PSTN and Forward-to telephone.
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
26 of 28 ASM-ACM-AS5400
Solution & Interoperability Test Lab Application Notes 2009 Avaya Inc. All Rights Reserved.
27 of 28 ASM-ACM-AS5400
2009 Avaya Inc. All Rights Reserved. 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.
28 of 28 ASM-ACM-AS5400