Cxc550 Sip Pstn

Embed Size (px)

Citation preview

  • 7/30/2019 Cxc550 Sip Pstn

    1/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    1 of 51

    CXC550_SIP_PSTN

    Avaya Solution & Interoperability Test Lab

    Application Notes for Configuring Direct SIP Trunking

    from Avaya Communication Manager to a Covergence CXC

    Session Manager Issue 1.0

    Abstract

    These Application Notes describe the configuration of direct SIP trunking from AvayaCommunication Manager to a Covergence CXC Session Manager and a Cisco AS5400

    Universal Gateway. The gateway provided ISDN PRI trunks to a telecommunications service

    provider network for PSTN interoperability. In this configuration, an Avaya SIP EnablementServices (SES) server is not used as part of the SIP trunking solution.

  • 7/30/2019 Cxc550 Sip Pstn

    2/51

  • 7/30/2019 Cxc550 Sip Pstn

    3/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    3 of 51

    CXC550_SIP_PSTN

    Figure 1 Direct SIP Trunking Test Configuration

    2. Equipment and Software ValidatedThe following products and software were used for the configuration in Figure 1.

    Component Version

    Avaya S8500B Media Server Avaya Communication Manager

    4.0.1, Patch 14300

    Avaya G650 Media Gateway

    TN2312BP IP Server Interface (IPSI) HW12 FW036TN799DP Control-LAN (C-LAN) HW01 FW017TN2602AP IP Media Resource 320 (MEDPRO) HW02 FW025

    TN2224CP Digital Line HW08 FW015

    Avaya 4621SW IP (H.323) Telephones Release 2.8.3

    Avaya 6424D Digital Telephone -

    Covergence CXC-550 Session Manager 3.2.12, Patch 29598

    Cisco AS5400 Universal Gateway 12.4(17)

    Table 1 Equipment and Versions

    3. Configure Avaya Communication ManagerAvaya Communication Manager was installed and configured for basic station to station callingand call center operation prior to beginning the configuration shown in these Application Notes.

    These basic configuration details are outside the scope of the SIP trunking application and not

    included here.

  • 7/30/2019 Cxc550 Sip Pstn

    4/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    4 of 51

    CXC550_SIP_PSTN

    3.1. SIP Trunk Configuration

    3.1.1. Verify System Capacity and Required Features

    The Avaya Communication Manager license controls the customer options. Contact an

    authorized Avaya sales representative for assistance if insufficient capacity exists or a required

    feature is not enabled.

    Verify that there is sufficient remaining SIP trunk capacity available for the Cisco AS5400

    Universal Gateway as well as any other SIP trunking applications in use.

    This is done by displaying Page 2 of the System-Parameters Customer-Options form. The

    number of SIP trunks available to assign to new or existing trunk groups is the differencebetween the Maximum Administered SIP Trunks and the USED value.

    change syst em- paramet er s cust omer - opt i ons Page 2 of 10OPTI ONAL FEATURES

    I P PORT CAPACI TI ES USEDMaxi mumAdmi ni st ered H. 323 Trunks: 100 10Maxi mum Concur r ent l y Regi st ered I P St ati ons: 100 5

    Maxi mumAdmi ni st ered Remote Of f i ce Trunks: 0 0Maxi mum Concur r ent l y Regi st ered Remote Of f i ce St ati ons: 0 0

    Maxi mumConcurr ent l y Regi st ered I P eCons: 0 0Max Concur Regi st ered Unauthent i cat ed H. 323 Stat i ons: 0 0

    Maxi mumVi deo Capabl e H. 323 Stat i ons: 0 0Maxi mumVi deo Capabl e I P Sof t phones: 0 0

    Maximum Administered SIP Trunks: 100 50

    Maxi mumNumber of DS1 Boards wi t h Echo Cancel l at i on: 0 0Maxi mum TN2501 VAL Boards: 10 1

    Maxi mum Medi a Gat eway VAL Sour ces: 0 0Maxi mum TN2602 Boar ds wi t h 80 VoI P Channel s: 128 2

    Maxi mum TN2602 Boar ds wi t h 320 VoI P Channel s: 128 0Maxi mum Number of Expanded Meet - me Conf er ence Por t s: 0 0

    ( NOTE: You must l ogof f & l ogi n t o ef f ect t he permi ssi on changes. )

    Figure 2: System-Parameters Customer-Options Form Page 2

  • 7/30/2019 Cxc550 Sip Pstn

    5/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    5 of 51

    CXC550_SIP_PSTN

    Verify that the Automatic Route Selection (ARS) feature is enabled on Page 3 of the System-

    Parameters Customer-Options form.

    change syst em- paramet er s cust omer - opt i ons Page 3 of 10OPTI ONAL FEATURES

    Abbrevi ated Di al i ng Enhanced Li st ? n Audi bl e Message Wai t i ng? n

    Access Securi t y Gat eway ( ASG) ? n Author i zat i on Codes? nAnal og Trunk I ncomi ng Cal l I D? n CAS Br anch? n

    A/ D Gr p/ Sys Li st Di al i ng St art at 01? n CAS Mai n? nAnswer Super vi si on by Cal l Cl assi f i er ? n Change COR by FAC? n

    ARS? y Comput er Tel ephony Adj unct Li nks? nARS/ AAR Par t i t i oni ng? y Cvg Of Cal l s Redi r ect ed Of f - net? n

    ARS/ AAR Di al i ng wi t hout FAC? n DCS ( Basi c) ? nASAI Li nk Core Capabi l i t i es? n DCS Cal l Coverage? nASAI Li nk Pl us Capabi l i t i es? n DCS wi t h Rerout i ng? n

    Async. Tr ansf er Mode ( ATM) PNC? nAsync. Transf er Mode ( ATM) Tr unki ng? n Di gi t al Loss Pl an Modi f i cati on? n

    ATM WAN Spare Pr ocessor ? n DS1 MSP? nATMS? n DS1 Echo Cancel l at i on? n

    At t endant Vector i ng? n

    ( NOTE: You must l ogof f & l ogi n t o ef f ect t he permi ssi on changes. )

    Figure 3: System-Parameters Customer-Options Form Page 3

    3.1.2. Determine Node Names

    Use the change node-names ip command to view (or assign) the node names to be used in theSIP trunk configuration.

    Covergence and 10.1.1.100 are the Name andIP Address of the virtual private-side interface of the Covergence CXC Session Manager, where AvayaCommunication Manager SIP trunk messages are sent.

    clan_01a02 and 192.168.99.52 are the Name andIP Address of the TN799DPC-LAN interface used for the first SIP signaling group with the Covergence CXCSession Manager.

    clan_01a03 and 192.168.99.53 are the Name andIP Address of the TN799DPC-LAN interface used for the second SIP signaling group with the Covergence CXCSession Manager.

    change node- names i p Page 1 of 2I P NODE NAMES

    Name I P Addr essCovergence 10.1.1.100clan_01a02 192.168.99.52

    clan_01a03 192.168.99.53def aul t 0.0. 0. 0medpro_01a04 192. 168. 99. 54pr ocr 192. 168. 99. 50val _01a07 192. 168. 99. 57

    Figure 4: IP Node Names

  • 7/30/2019 Cxc550 Sip Pstn

    6/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    6 of 51

    CXC550_SIP_PSTN

    3.1.3. Define IP Codec Sets

    G.729A and G.711mu-law codecs (in that priority) are used for voice calls via the SIP trunks to

    the Cisco AS5400 Universal Gateway. This is IP codec set 1. Using the change ip-codec-set 1

    command, enter G.729A and G.711MU as the first and secondAudio Codec values on theform. Retain the defaults for the remaining fields.

    change i p- codec- set 1 Page 1 of 2

    I P Codec Set

    Codec Set : 1

    Audi o Si l ence Fr ames PacketCodec Suppr essi on Per Pkt Si ze( ms)

    1: G.729A n 2 202: G.711MU n 2 203:

    Figure 5: IP Codec Set 1

    3.1.4. Configure the C-LAN IP Network Region AssignmentIn these Application Notes, two C-LANs are assumed to been previously installed in board slots1a02 and 1a03 as part of the initial Avaya Communication Manager basic installation (using the

    procedures as described in [2]) and assigned the Node Names shown in Figure 4. Theconfiguration in this section will assign them to Network Region 1, used for the Direct SIP

    Trunking application.

    Use the change ip-interface ucss command (where u is the cabinet, c is carrier, and ss is the

    slot of the respective C-LAN), to assign each C-LAN to Network Region1. Note: In order to

    change an existing IP interface, disable the interface by setting the Enable Ethernet Port fieldn, submit the change, and then use the change ip-interface ucss command again. The

    Enable Ethernet Port must then be re-enabled with y when the Network Region value is set.

    change i p- i nt erf ace 1a02 Page 1 of 1I P I NTERFACES

    Type: C- LANSl ot : 01A02

    Code/ Suf f i x: TN799 DNode Name: clan_01a02

    I P Address: 192. 168. 99. 52Subnet Mask: 255. 255. 255. 0 Li nk: 12

    Gateway Address: . . .Enable Ethernet Port? y Al l ow H. 323 Endpoi nts? y

    Network Region: 1 Al l ow H. 248 Gat eways? yVLAN: n Gatekeeper Pri ori t y: 5

    Tar get socket l oad and War ni ng l evel : 400Recei ve Buf f er TCP Wi ndow Si ze: 8320

    ETHERNET OPTI ONSAuto? n

    Speed: 100MbpsDupl ex: Ful l

    Figure 6: IP Interface of C-LAN 1a02 used for SIP Signaling Group 11

  • 7/30/2019 Cxc550 Sip Pstn

    7/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    7 of 51

    CXC550_SIP_PSTN

    Use the command shown below for C-LAN 1a03, used for SIP trunk signaling group 12.

    change i p- i nter f ace 01a03 Page 1 of 1I P I NTERFACES

    Type: C- LANSl ot : 01A03

    Code/ Suf f i x: TN799 DNode Name: clan_01a03I P Address: 192. 168. 99. 53

    Subnet Mask: 255. 255. 255. 0 Li nk: 13Gateway Address: . . .

    Enable Ethernet Port? y Al l ow H. 323 Endpoi nts? yNetwork Region: 1 Al l ow H. 248 Gat eways? y

    VLAN: n Gatekeeper Pri ori t y: 5

    Tar get socket l oad and War ni ng l evel : 400Recei ve Buf f er TCP Wi ndow Si ze: 8320

    ETHERNET OPTI ONSAuto? n

    Speed: 100MbpsDupl ex: Ful l

    Figure 7: IP Interface of C-LAN 1a03 used for SIP Signaling Group 12

    3.1.5. Define IP Network Region

    IP network regions set IP network properties for SIP trunk groups and other IP elements (such as

    IP telephones, media processor cards, etc.) assigned to the region. IP Network Region 1 defines

    the properties for calls routed via SIP trunks to the Cisco AS5400 Universal Gateway via theCovergence CXC Session Manager. Using the change ip-network-region 1 command, enter:

    Name: a descriptive string such as Covergence SIP Trks Authoritative Domain: the SIP domain for this network region, e.g.,customer.com. Codec Set: the value 1 corresponding to the ip-codec-set defined in Section 3.1.3. Intra-region IP-IP Direct Audio: the value yes (the default).

    Inter-region IP-IP Direct Audio: the value yes (the default).

    change i p- net work- r egi on 1 Page 1 of 19I P NETWORK REGI ON

    Regi on: 1Locat i on: 1 Authoritative Domain: customer.com

    Name: Covergence SIP TrksMEDI A PARAMETERS Intra-region IP-IP Direct Audio: yes

    Codec Set: 1 Inter-region IP-IP Direct Audio: yesUDP Por t Mi n: 2048 I P Audi o Hai r pi nni ng? yUDP Por t Max: 3029

    DI FFSERV/ TOS PARAMETERS RTCP Report i ng Enabl ed? yCal l Cont r ol PHB Val ue: 46 RTCP MONI TOR SERVER PARAMETERS

    Audi o PHB Val ue: 46 Use Def aul t Ser ver Par amet ers? yVi deo PHB Val ue: 26

    802. 1P/ Q PARAMETERSCal l Cont rol 802. 1p Pr i or i t y: 6

    Audi o 802. 1p Pr i or i t y: 6Vi deo 802. 1p Pr i or i t y: 5 AUDI O RESOURCE RESERVATI ON PARAMETERS

    H. 323 I P ENDPOI NTS RSVP Enabl ed? nH. 323 Li nk Bounce Recovery? y

    I dl e Traf f i c I nterval (sec) : 20Keep- Al i ve I nt erval ( sec): 5

    Keep- Al i ve Count : 5

    Figure 8: IP Network Region 1 Page 1

  • 7/30/2019 Cxc550 Sip Pstn

    8/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    8 of 51

    CXC550_SIP_PSTN

    3.1.6. Define SIP Trunk Groups

    Two SIP trunk groups are defined for calls to the Cisco AS5400 Universal Gateway. Each SIP

    trunk group requires a corresponding SIP signaling group to define the characteristics of the

    signaling relationship with the Covergence CXC Session Manager. Each signaling group uses aseparate C-LAN card for redundancy and capacity purposes.

    All incoming calls use the round robin load balancing feature of the Covergence CXC SessionManager to uniformly distribute calls across both C-LANs (and thus both SIP trunk groups). If

    the Covergence CXC Session Manager detects a failure of SIP signaling to one C-LAN, it

    automatically routes all calls to the remaining C-LAN interface until the failure is corrected.

    All outbound calls are routed to the SIP trunk groups using Automatic Route Selection. The

    route patterns selected by ARS overflow from the first choice SIP trunk group to the second

    when a signaling failure or all-trunk-busy condition occurs.

    3.1.6.1 Establish the SIP Signaling Groups

    Using the add signaling-group n command (where n is the number of the signaling group),configure signaling groups 11 and 12 as follows:

    Group Type: set to sip. Transport Method: set to tcp1. Near-end Node Name: set to the C-LAN node name (defined in Section 3.1.2) used for

    the respective signaling group. In these Application Notes, clan_01a02 and

    clan_01a03 are used for signaling group 11 and 12, respectively.

    Far-end Node Name: set to the interface on the Covergence CXC Session Manager thatwill receive the SIP signaling messages. In these Application Notes, Covergence will

    be used for both signaling groups 11 and 12, and corresponds to the virtual IP address of

    the Covergence CXC Session Manager High Availability cluster. Thiswill be the

    destination IP address where SIP messages are sent. Near-end Listen Port: set to 5060, the default port of SIP signaling using tcp

    transport.

    Far-end Listen Port: set to 5060. Far-end Network Region: set to 1, the network region defined for calls using the

    Cisco AS5400 Universal Gateway.

    Far-end Domain: set to IP address or domain name of the Covergence CXC SessionManager interface used by Avaya Communication Manager. In these Application Notes,

    customer.com is used.

    Direct IP-IP Audio Connections: set to y, indicating the RTP paths should beoptimized to reduce the use of media processing resources when possible.

    1Note that init SAT login privileges are required to change this field. Although not tested in this configuration,

    the Covergence CXC Session Manager supports TLS (the default), so that this restriction may not apply if the proper

    certificates are installed.

  • 7/30/2019 Cxc550 Sip Pstn

    9/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    9 of 51

    CXC550_SIP_PSTN

    DTMF over IP: set to rtp-payload. This value enables Avaya CommunicationManager to send DTMF transmissions using RFC 2833 [9].

    The default values for the other fields may be used. The resulting form for signaling group 11 is

    shown below.

    add si gnal i ng- group 11 Page 1 of 1SI GNALI NG GROUP

    Gr oup Number : 11 Group Type: sipTransport Method: tcp

    Near-end Node Name: clan_01a02 Far-end Node Name: CovergenceNear-end Listen Port: 5060 Far-end Listen Port: 5060

    Far-end Network Region: 1Far-end Domain: customer.com

    Bypass I f I P Thr eshol d Exceeded? n

    DTMF over IP: rtp-payload Direct IP-IP Audio Connections? y

    I P Audi o Hai r pi nni ng? nEnabl e Layer 3 Test ? nSessi on Establ i shment Ti mer( mi n): 3

    Figure 9: Signaling Group 11

    The resulting form for signaling group 12 is shown below.

    add si gnal i ng- group 12 Page 1 of 1SI GNALI NG GROUP

    Gr oup Number : 12 Group Type: sipTransport Method: tcp

    Near-end Node Name: clan_01a03 Far-end Node Name: CovergenceNear-end Listen Port: 5060 Far-end Listen Port: 5060

    Far-end Network Region: 1Far-end Domain: customer.com

    Bypass I f I P Thr eshol d Exceeded? n

    DTMF over IP: rtp-payload Direct IP-IP Audio Connections? yI P Audi o Hai r pi nni ng? n

    Enabl e Layer 3 Test ? nSessi on Establ i shment Ti mer( mi n): 3

    Figure 10: Signaling Group 12

  • 7/30/2019 Cxc550 Sip Pstn

    10/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    10 of 51

    CXC550_SIP_PSTN

    3.1.6.2 Establish SIP Trunk Groups

    Using the add trunk-group n command (where n is the number of the trunk group), configure

    trunk groups 11 and 12.

    On Page 1 of the Trunk Group form:

    Group Type: set to sip. Group Name: enter a descriptive string such as SIP Trk1 to Covergence and SIP Trk2

    to Covergence for trunk groups 11 and 12, respectively.

    TAC: enter a trunk access code such as 111 and 112 for trunk groups 11 and 12,respectively.

    Service Type: set to tie. Signaling Group: set to 11 and 12 (for trunk groups 11 and 12, respectively) as

    defined within Section 3.1.6.1.

    Number of Members: set to the maximum number of simultaneous calls permitted foreach trunk group. Within these Application Notes, 25 was used for each trunk group.

    The default values may be used on the remaining pages of the trunk group form. The resultingform for trunk group11 is shown below.

    add t r unk- group 11 Page 1 of 21TRUNK GROUP

    Gr oup Number : 11 Group Type: sip CDR Repor t s: yGroup Name: SIP Trk1 to Covergence COR: 1 TN: 1 TAC: 111Di r ecti on: t wo- way Out goi ng Di spl ay? n

    Di al Access? n Ni ght Servi ce:Queue Length: 0Service Type: tie Aut h Code? n

    Signaling Group: 11Number of Members: 25

    Figure 11: Trunk Group 11 Page 1

    On Page 2 of the form, set Preferred Minimum Session Refresh Interval to its maximum

    value of 1800 seconds. Note: This is strongly recommended to optimize Avaya

    Communication Manager performance during Covergence server failover conditions.

    add t r unk- group 11 Page 2 of 21Gr oup Type: si p

    TRUNK PARAMETERS

    Uni code Name? y

    Redi r ect On OPTI M Fai l ur e: 5000

    SCCAN? n Di gi t al Loss Gr oup: 18Preferred Minimum Session Refresh Interval(sec): 1800

    Figure 12: Trunk Group 11 Page 2

  • 7/30/2019 Cxc550 Sip Pstn

    11/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    11 of 51

    CXC550_SIP_PSTN

    The resulting forms for trunk-group 12 are shown below.

    add t r unk- group 12 Page 1 of 21TRUNK GROUP

    Gr oup Number : 12 Group Type: sip CDR Repor t s: yGroup Name: SIP Trk2 to Covergence COR: 1 TN: 1 TAC: 112

    Di r ecti on: t wo- way Out goi ng Di spl ay? nDi al Access? n Ni ght Servi ce:Queue Length: 0Service Type: tie Aut h Code? n

    Signaling Group: 12Number of Members: 25

    Figure 13: Trunk Group 12 Page 1

    add t r unk- group 12 Page 2 of 21Gr oup Type: si p

    TRUNK PARAMETERS

    Uni code Name? y

    Redi r ect On OPTI M Fai l ur e: 5000

    SCCAN? n Di gi t al Loss Gr oup: 18Preferred Minimum Session Refresh Interval(sec): 1800

    Figure 14: Trunk Group 12 Page 2

    3.1.7. Configure Calling Party Number Information

    The calling party number (e.g., 18002226301) is sent in the userinfo portion of the SIP From

    header as shown below.

    Fr om: " J ane Smi t h" ; t ag=80f 839da25c3db

    The public-unknown-numbering command controls the calling party number sent in the SIPFrom field for calls originating from Avaya Communication Manager. The public-unknown-

    numbering feature is configured to send an 11 digit number consisting of 1800222 plus the 4

    digit extension number. In these Application Notes, extensions use numbers between 6000 and6999.

    Using the change public-unknown-numbering n command (where n is the leading digit ofthe extension range), specify the calling party number information as follows:

    Ext Len: set to 4, the length of the extensions used.

    Ext Code: set to the leading digit of the extension used. In the sample configuration, 6is entered to cover all possible extensions between 6000 and 6999.

    Trk Grp(s): by default, leave blank to perform the same conversion across all trunkgroups.

  • 7/30/2019 Cxc550 Sip Pstn

    12/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    12 of 51

    CXC550_SIP_PSTN

    CPN Prefix: set to the leading digits (e.g., 1800222) that are to be sent as the callingparty number.

    Total CPN Len: set to the total length (e.g., 11) of the calling party number to be sent.The extension number will be appended to the CPN Prefix to form the complete calling

    party number.

    The completed public-unknown-numbering form is shown below.

    change publ i c- unknown- numberi ng 4 Page 1 of 2NUMBERI NG - PUBLI C/ UNKNOWN FORMAT

    TotalExt Ext Trk CPN CPNLen Code Grp(s) Prefix Len

    Tot al Admi ni st er ed: 14 6 1800222 11 Maxi mumEnt r i es: 9999

    Figure 15: Public Unknown Numbering

    3.1.8. Configure Call Routing

    3.1.8.1 Outbound Calls

    ARS is used to route outbound calls via the SIP trunk groups to the Covergence CXC SessionManager (that in turn routes the calls to the Cisco AS5400 Universal Gateway). The ARS route

    patterns support alternate routing (via the second SIP trunk group) if the primary trunk group

    becomes unavailable. Configuration of one outbound calling pattern supporting calls to 1-733-

    xxx-xxx is shown in this section. Routing will select SIP trunk group 11 as the first choice, withoverflow to SIP trunk group 12 as required. Further information on ARS administration is

    discussed in References [1] and [3].

    After verifying the availability of ARS as shown in Section 3.1.1, use the change dialplan

    analysis command to create a feature access code (FAC) for ARS use.

    Dialed String: enter 9 that will become the user dialed prefix for outbound calls. Total Length: enter 1 as the length of the prefix. Call Type: enter fac as the type of prefix.

    change di al pl an anal ysi s Page 1 of 12DI AL PLAN ANALYSI S TABLE

    Percent Ful l : 1

    Dialed Total Call Di al ed Total Cal l Di al ed Total Cal lString Length Type Str i ng Lengt h Type Str i ng Lengt h Type0 1 att d4 4 ext5 4 ext

    6 4 ext9 1 fac

    * 3 dac# 4 dac

    Figure 16: Dial Plan Analysis

  • 7/30/2019 Cxc550 Sip Pstn

    13/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    13 of 51

    CXC550_SIP_PSTN

    Use the change feature-access-codes command to assign the feature access code 9 to Auto

    Route Selection (ARS) - Access Code 1 as shown below.

    change f eatur e- access- codes Page 1 of 7FEATURE ACCESS CODE ( FAC)

    Abbr evi ated Di al i ng Li st 1 Access Code:Abbr evi ated Di al i ng Li st 2 Access Code:

    Abbr evi ated Di al i ng Li st 3 Access Code:Abbr evi ated Di al - Prgm Gr oup Li st Access Code:

    Announcement Access Code: *71Answer Back Access Code:

    Auto Al t ernat e Rout i ng ( AAR) Access Code:Auto Route Selection (ARS) - Access Code 1: 9 Access Code 2:

    Aut omati c Cal l back Act i vat i on: Deact i vat i on:Cal l For wardi ng Act i vat i on Busy/ DA: *61 Al l : *62 Deact i vat i on: *60

    Cal l For wardi ng Enhanced St atus: Act : Deact i vat i on:Cal l Park Access Code:

    Cal l Pi ckup Access Code:CAS Remot e Hol d/ Answer Hol d- Unhol d Access Code:

    CDR Account Code Access Code:Change COR Access Code:

    Change Cover age Access Code:Contact Cl osure Open Code: Cl ose Code:

    Figure 17: ARS Feature Access Code

    Use the change ars analysis nn command to configure the ARS route pattern selection rules as

    follows. Here nn is 17, the first two digits of the dialed number after the ARS access code.

    Dialed String: enter the leading digits (e.g., 1733) necessary to uniquely select thedesired route pattern.

    Total Min: enter the minimum number of digits (e.g., 11) expected for this PSTNnumber.

    Total Max: enter the maximum number of digits (e.g., 11) expected for this PSTNnumber.

    Route Pattern: enter the route pattern number (e.g., 11) to be used. The route pattern(to be defined next) will specify the trunk group(s) to be used for calls matching thedialed number.

    Call Type: enter fnpa, the call type for North American 1+10 digit calls.change ars anal ysi s 17 Page 1 of 2

    ARS DI GI T ANALYSI S TABLELocat i on: al l Percent Ful l : 1

    Dialed Total Route Call Node ANIString Min Max Pattern Type Num Reqd

    1733 11 11 11 fnpa n

    Figure 18: ARS Digit Analysis Entries

  • 7/30/2019 Cxc550 Sip Pstn

    14/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    14 of 51

    CXC550_SIP_PSTN

    Use the change route-pattern n command (where n is the Route Pattern number used

    above) to specify the SIP trunk groups selected for the outbound call.

    In the form:

    Pattern Name: enter a descriptive string such as Covergence11/12 to describe therouting pattern.

    Secure SIP?: leave as n, the default. Grp No: enter the trunk groups to be used in priority order. In this configuration, trunk

    group 11 is the first choice route followed by trunk group 12.

    FRL: enter the minimum facility restriction level (e.g., 1) necessary to use this trunkgroup, with 0 being the least restrictive. The FRL within the Class of Restriction (COR)

    assigned to the station must be greater than or equal to 1 in this case to use these trunk

    groups.

    Pfx Mrk: enter 1, to always send the prefix 1 on 10 digit calls. LAR: enter the routing behavior to be followed if the call is not successfully completed

    using the trunk group. Next will cause the call to attempt to use the next choice in the

    routing pattern. None indicates that no further attempts will be made to complete thecall. In the example below, a call that fails when attempting to use trunk group 11, will

    automatically attempt to use trunk group 12 before being abandoned.

    The default values for the remaining fields may be used. The completed route pattern form is

    shown below.

    change r out e- pat t ern 11 Page 1 of 3Pattern Number: 11 Pattern Name: Covergence11/12

    Secure SIP? nGrp FRL NPA Pfx Hop Tol l No. I nser t ed DCS/ I XC

    No Mrk Lmt Li st Del Di gi t s QSI GDgt s I nt w

    1: 11 1 1 n user2: 12 1 1 n user3: n user4: n user5: n user6: n user

    BCC VALUE TSC CA- TSC I TC BCI E Servi ce/ Feat ure PARM No. Numberi ng LAR0 1 2 M 4 W Request Dgts For mat

    Subaddr ess1: y y y y y n n r est next2: y y y y y n n r est none3: y y y y y n n r est none4: y y y y y n n r est none5: y y y y y n n r est none6: y y y y y n n r est none

    Figure 19: Route Pattern 11

  • 7/30/2019 Cxc550 Sip Pstn

    15/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    15 of 51

    CXC550_SIP_PSTN

    3.1.8.2 Incoming Calls

    This step configures the routing of incoming DID numbers to the proper extensions. In these

    Application Notes, the following incoming toll-free 800 numbers are used.

    Digits Received

    (within SIP INVITE message)

    Extension (or Hunt Group) Answering

    800 222 7001 6301 (Avaya 4621SW IP Telephone)

    800 222 7002 6302 (Avaya 4621SW IP Telephone)

    800 222 7003 6303 (Avaya 6424D Telephone)

    800 222 7006 Forwarded to PSTN 1 733 333 2226 via SIP trunk

    Table 2 Incoming Call Routing

    Use the change inc-call-handling-trmt trunk-group n command (where n is the SIP trunk

    group number) to administer the incoming number routing. This administration must be done foreach incoming trunk group.

    Called Len: enter the total number of incoming digits received (e.g., 10). Called Number: enter the specific digit pattern to be matched. Del: enter the number of leading digits that should be deleted Insert: enter the specific digits to be inserted at the beginning of the adjusted incoming

    digit string, forming the complete number.

    The completed inc-call-handling-trmt form for trunk group 11 is shown below. The form fortrunk group 12 is identical.

    change i nc- cal l - handl i ng- t r mt t r unk- group 11 Page 1 of 30I NCOMI NG CALL HANDLI NG TREATMENT

    Servi ce/ Called Called Del Insert

    Feature Len Numbertie 10 8002227006 10 917333332226tie 10 80022270 8 63

    Figure 20: Incoming Call Treatment for Trunk 11

    3.1.9. Save Avaya Communication Manager Changes

    This completes the configuration of Avaya Communication Manager. Use the save translation

    command to make the changes permanent.

    4. Configure the Covergence CXC Session ManagerThis section describes the configuration of the Covergence CXC Session Manager, which acts as

    an intermediary between the Avaya Communication Manager C-LAN interfaces and the CiscoAS5400 Universal Gateway. The following subsections show the web interface screens that

    highlight the important aspects relative to the sample SIP trunking configuration. The relevant

    link on the left side is circled, corresponding to the configuration screen shown on the right. Theentire CLI-based configuration file is included in Appendix A for reference.

  • 7/30/2019 Cxc550 Sip Pstn

    16/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    16 of 51

    CXC550_SIP_PSTN

    These Application Notes assume the Covergence CXC Session Manager has been previously

    installed in an HA configuration according Covergence guidelines, and with the IP addressesindicated for it in Figure 1. Basic installation and HA configuration is standard and beyond the

    scope of this SIP trunking application.

    4.1. Physical and Network InterfacesIn the sample configuration, the 10.1.1.0/24 subnet was configured as the private side of the

    Covergence CXC Session Manager. This subnet had IP routing connectivity with the192.168.99.0/24 subnet used by Avaya Communication Manager IP interfaces, as shown in

    Figure 1. All SIP signaling and RTP media sent by Avaya Communication Manager were

    routed via the Covergence CXC Session Manager to the Cisco AS5400 Universal Gateway. TheCovergence CXC Session Manager was configured with a Virtual Router Redundancy Protocol

    (VRRP) virtual IP address 10.1.1.100, corresponding to the active server in the HA cluster. This

    IP address was used in all Avaya Communication Manager administration. The web browserscreen for this virtual interface is shown below. Note that the C-LAN IP addresses for the Avaya

    Communication Manager SIP trunks are specified in the ip section undertrusted-peer. This

    allows signaling from these interfaces without authentication challenges.

    Figure 21: Private Side Virtual IP Address

  • 7/30/2019 Cxc550 Sip Pstn

    17/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    17 of 51

    CXC550_SIP_PSTN

    Ethernet interface eth1, supported on each Covergence CXC Session Manager server in the

    redundant configuration, is dedicated for the 10.1.1.0/24 LAN subnet, and has its own physicalIP address. 10.1.1.101 is configured for box CXC1 and 10.1.1.102 for box CXC2. The

    configuration for box CXC1 is shown below. The configuration for box CXC2 is identical

    except for the IP address value.

    Figure 22: Private Side (eth1) Physical Interface Configuration

  • 7/30/2019 Cxc550 Sip Pstn

    18/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    18 of 51

    CXC550_SIP_PSTN

    4.2. Default Session Configuration

    The default session configuration defines the signaling characteristics of the SIP interfaces on the

    Covergence CXC Session Manager. In the sample configuration, the default settings were used,with the following exceptions:

    Undersip-directive, directive should be set to allow (Figure 23). Addition of the multicast address field (maddr) in the SIP Contact header must be

    disabled in order to guarantee successful SIP calls to/from Avaya Communication

    Manager (Figure 24). Undercontact-uri-settings-in-leg , add-maddr must be set todisabled.

    Accounting should be done locally. Underaccounting, target should be set to databasevsp/accounting/database/group local. (Figure 25).

    The capability to anchor the media should be enabled; i.e., RTP passes through theCovergence CXC Session Manager (Figure 26). Undermedia, anchor should be set to

    enabled.

    Figure 23: sip-directive Configuration

  • 7/30/2019 Cxc550 Sip Pstn

    19/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    19 of 51

    CXC550_SIP_PSTN

    Figure 24: Contact Header Configuration

  • 7/30/2019 Cxc550 Sip Pstn

    20/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    20 of 51

    CXC550_SIP_PSTN

    Figure 25: Call Accounting Configuration

  • 7/30/2019 Cxc550 Sip Pstn

    21/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    21 of 51

    CXC550_SIP_PSTN

    Figure 26: Media Anchoring Configuration

  • 7/30/2019 Cxc550 Sip Pstn

    22/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    22 of 51

    CXC550_SIP_PSTN

    4.3. SIP Trunks

    The SIP domain of the customer configuration is defined under the static-stack-settings section.

    Enter customer.com in the domain-name field.

    Figure 27: SIP Domain Name

  • 7/30/2019 Cxc550 Sip Pstn

    23/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    23 of 51

    CXC550_SIP_PSTN

    The Avaya Communication Manager SIP signaling groups and the Cisco AS5400 Universal

    Gateway will send SIP messages to the SIP server interfaces defined below under theenterprise/servers section of the administration GUI. Add a sip-gateway for each C-LAN

    interface and Cisco AS5400 Universal Gateway used for SIP trunks. In the sample

    configuration, two servers were added for C-LANs 1a02 and 1a03, and one server was added forthe Cisco AS5400 Universal Gateway. Figures 28-29 show the relevant parts of the

    configuration screen for adding the server for C-LAN 1a02. Fill in the name anddomain fields

    when adding the server. The GUI wizard will step through the sip-gateway screens. Fill in the

    name anddomain fields in the sip-gateway screen (Figure 28) and then click on Finish at thebottom of the screen (not shown).

    Figure 28: Adding a sip-gateway (Part 1)

  • 7/30/2019 Cxc550 Sip Pstn

    24/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    24 of 51

    CXC550_SIP_PSTN

    Underother properties on the new sip-gateway screen, click on the Configure link next toserver-pool (Figure 29).

    Figure 29: Adding a sip-gateway (Part 2)

  • 7/30/2019 Cxc550 Sip Pstn

    25/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    25 of 51

    CXC550_SIP_PSTN

    Click on Add server andAdd handle-response to define the trunk interface characteristics.

    The resulting configuration is shown in Figure 30. When adding the server, specify the servername (CLAN 02), the IP address of the C-LAN in host (192.168.99.52), and set transport to

    TCP. Use Add handle-response to define the appropriate SIP response codes which will

    cause the INVITE to be re-tried using the next server interface in the hunt group (defined in the

    next section). Default values can be used for the remaining fields.

    Figure 30: Adding the server-pool

  • 7/30/2019 Cxc550 Sip Pstn

    26/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    26 of 51

    CXC550_SIP_PSTN

    Repeat the above steps for C-LAN 1a03 and the Cisco AS5400 Universal Gateway. In the

    sample configuration, the transport parameter was set to UDP for the server corresponding tothe Cisco AS5400 Universal Gateway. The result of adding all servers is shown in Figure 31.

    Figure 31: Final Enterprise Servers (SIP Trunks) Screen

  • 7/30/2019 Cxc550 Sip Pstn

    27/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    27 of 51

    CXC550_SIP_PSTN

    4.4. Load Balancing

    Load balancing is accomplished by defining a hunt-group under the carriers section of the GUI.

    Click on carriers on the left side, and then Add hunt-group on the right side. Set the name

    (Hunt CLAN 02 and CLAN 03), the call-hunting-type to sequential, and click on Add

    option (not shown) to add each server defined in the previous section that is to be a member ofthis hunt group (CLAN 02 and CLAN 03 in the sample configuration). The result for the sample

    configuration is shown below.

    Figure 32: Hunt Group Definition

  • 7/30/2019 Cxc550 Sip Pstn

    28/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    28 of 51

    CXC550_SIP_PSTN

    4.5. SIP Routing

    Call routing configuration is accomplished in the dial-plan section of the GUI. In the sample

    configuration, source based routing was used to route all calls coming from AvayaCommunication Manager to the Cisco AS5400 Universal Gateway, and vice versa. Click on

    dial-plan on the left side and then scroll to the source-route section on the right side. Click on

    Add source route (not shown). Figures 33-34 show the configuration for the source route fromC-LAN 1a02 to the Cisco AS5400 Universal Gateway. Assign a name. In the source-match

    section, set the type field to server and select the sip-gateway corresponding to C-LAN 1a02 in

    the source-server field. Similarly in thepeersection, select the type andserver correspondingto the Cisco AS5400 Universal Gateway. In the alter-request-uri andalter-to-uri sections, set

    the type field to next-hop-ip, and in the alter-from-uri section, set type to local-ip.

    Figure 33: Source Route from C-LAN 1a02 to Cisco AS5400 Universal Gateway (Part 1)

  • 7/30/2019 Cxc550 Sip Pstn

    29/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    29 of 51

    CXC550_SIP_PSTN

    Figure 34: Source Route from C-LAN 1a02 to Cisco AS5400 Universal Gateway (Part 2)

  • 7/30/2019 Cxc550 Sip Pstn

    30/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    30 of 51

    CXC550_SIP_PSTN

    Repeat the above steps for the source route from C-LAN 1a03 to the Cisco AS5400 Universal

    Gateway. For the source route from the AS5400 Universal Gateway to Avaya CommunicationManager, calls should be routed to the hunt group containing both C-LANs. Set the type field in

    thepeersection to hunt-group and the hunt-group field to the hunt group defined in Section

    4.4, as shown in Figure 35.

    Figure 35: Source Route from Cisco AS5400 Universal Gateway to C-LAN Hunt Group

    (Part 1)

  • 7/30/2019 Cxc550 Sip Pstn

    31/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    31 of 51

    CXC550_SIP_PSTN

    In the alter-request-uri section, set type to host andhost-name to customer.com".

    Figure 36: Source Route from Cisco AS5400 Universal Gateway to C-LAN Hunt Group(Part 2)

  • 7/30/2019 Cxc550 Sip Pstn

    32/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    32 of 51

    CXC550_SIP_PSTN

    Figure 37 shows all of the routes for the sample configuration.

    Figure 37: All Source Routes

  • 7/30/2019 Cxc550 Sip Pstn

    33/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    33 of 51

    CXC550_SIP_PSTN

    4.6. Saving Configuration Changes

    Configuration changes can be saved by clicking on the Set button at the top of any of the

    configuration screens (see Figure 38). To activate these changes in the running system, click onConfiguration in the upper left corner and select Update and save configuration from the

    drop-down menu. Click on OK andYes in the following two dialog boxes, and the confirmation

    screen will be displayed (Figure 39).

    Figure 38: Saving Configuration Changes (Part 1)

  • 7/30/2019 Cxc550 Sip Pstn

    34/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    34 of 51

    CXC550_SIP_PSTN

    Figure 39: Saving Configuration Changes (Part 2)

    5. Verification StepsThis section provides steps that may be performed to verify the operation of the direct SIPtrunking configuration described in these Application Notes.

    Avaya Communication Manager list trace station, list trace tac, status station and/or

    status trunk-group commands are helpful diagnostic tools to verify correct operation and totroubleshoot problems. Also using a SIP protocol analyzer such as WireShark (a.k.a., Ethereal)

    to monitor the SIP messaging at the various interfaces (C-LAN, Covergence CXC Session

    Manager and/or Cisco AS5400 Universal Gateway) is often very helpful in troubleshootingissues.

  • 7/30/2019 Cxc550 Sip Pstn

    35/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    35 of 51

    CXC550_SIP_PSTN

    The Covergence CXC Session Manager also has call tracing and event logs that are useful in

    troubleshooting. Underdefault-session-config/log-alert, enable the alert, logging, message-logging, tracing, andmessage-auditingparameters as indicated in Figure 40. These

    parameters should be enabled for diagnostic purposes only, since system performance is affected.

    Figure 40: Logging/Tracing Configuration

  • 7/30/2019 Cxc550 Sip Pstn

    36/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    36 of 51

    CXC550_SIP_PSTN

    Call flows can be traced by clicking on the Call Logs tab in the web interface GUI (Figure 41).

    Click on Refresh to update the log after a call scenario has been attempted. Click on the CallDiagram link corresponding to the top call flow to see a graphical depiction of the signaling

    (shown in Figure 42).

    Figure 41: Call Tracing in Covergence CXC Session Manager Session Display

  • 7/30/2019 Cxc550 Sip Pstn

    37/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    37 of 51

    CXC550_SIP_PSTN

    Figure 42: Call Tracing in Covergence CXC Session Manager Call Sequence Diagram

    A more detailed message trace can also be viewed and/or saved by clicking on the Downloadmessages as text link. The resulting display window is shown in Figure 43.

  • 7/30/2019 Cxc550 Sip Pstn

    38/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    38 of 51

    CXC550_SIP_PSTN

    Figure 43: Call Tracing in Covergence CXC Session Manager Call Trace Text Display

    The above diagnostic tools can be used to troubleshoot issues encountered while executing the

    following functional scenarios:

    Incoming Calls Verify that calls placed from a PSTN telephone to the DID numberassigned are properly routed via the SIP trunk group(s) to the expected telephone, huntgroup, etc. Verify the talk-path exists in both directions, that calls remain stable for

    several minutes and disconnect properly.

  • 7/30/2019 Cxc550 Sip Pstn

    39/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    39 of 51

    CXC550_SIP_PSTN

    Outbound Calls Verify that calls placed to a PSTN telephone are properly routed viathe SIP trunk group(s) defined in the ARS route patterns. Verify that the talk-path exists

    in both directions and that calls remain stable and disconnect properly.

    Direct IP-IP Connections This applies if IP telephones and Direct IP-IP are used. Verifythat stable calls are using Direct IP-IP talk paths using the status station or statustrunk-group commands. When Direct IP-IP is used, the Audio Connection field will

    indicate ip-direct instead of ip-tdm.

    Load Balancing of Incoming Calls This applies if multiple SIP trunk groups (usingmultiple C-LANs and Covergence CXC-550 Session Manager Load Balancing) are used.

    Verify that incoming calls are distributed across the trunk groups defined.

    Alternate Routing of Inbound Calls on C-LAN failure This applies if multiple SIP trunkgroups (using multiple C-LANs) are used. Maintenance busy the C-LAN associated with

    an incoming SIP trunk group and verify using the list trace station or list trace trunk

    commands that inbound calls are routed to the active SIP trunk group (using a separateC-LAN). Verify that the original trunk group is used once the C-LAN is returned to

    service. Repeat for other incoming SIP trunk groups. Note: This may be service

    affecting!

    Alternate Routing of Outbound Calls on C-LAN failure This applies if multiple SIPtrunk groups (using multiple C-LANs) are used. Maintenance busy the C-LANassociated with the first-choice trunk group and verify using the list trace station or

    list trace trunk commands that outbound calls overflow to the next SIP trunk group

    (using a separate C-LAN). Verify that the original trunk group is used once the C-LAN

    is returned to service. Repeat for other route-patterns using these trunk groups. Note:

    This may be service affecting!

    6. SupportFor technical support on the Covergence CXC Session Manager, visit support.covergence.com.

    7. ConclusionThese Application Notes describe the configuration steps required to establish SIP trunkingdirectly with Avaya Communication Manager to Covergence CXC Session Manager and a Cisco

    AS5400 Universal Gateway for the purpose of PSTN interconnection. This configuration was

    successfully tested with the demonstration of calls in both directions with the PSTN. The ability

    to use incoming load balancing across multiple Avaya Communication Manager C-LANinterfaces and endure a C-LAN interface isolation or failure was shown.

  • 7/30/2019 Cxc550 Sip Pstn

    40/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    40 of 51

    CXC550_SIP_PSTN

    8. ReferencesThe Avaya product documentation is available at http://support.avaya.com.

    [1]Administrator Guide for Avaya Communication Manager, February 2007, Issue 3,Document Number 03-300509.

    [2]Adding New Hardware for Avaya Media Servers and Gateways, February 2007, Issue 2,Release 4.0, Document Number 03-300684.

    [3]Feature Description and Implementation for Avaya Communication Manager, Issue 5,Document Number 555-245-205.

    [4]SIP Support in Avaya Communication Manager Running on the Avaya S8300, S8400,S8500 series and S8700 series Media Server, March 2007, Issue 6.1, Document Number555-245-206.

    [5]4600 Series IP Telephone Release 2.6 LAN Administrator Guide, August 2006, Issue 4,Document Number 555-233-507.

    The following documentation is provided with the Covergence CXC Session Manager or is

    available from Covergence Technical Support. See support.covergence.com for furtherinformation.

    [6]Eclipse SIP Security and Management Solutions System Administration Guide, Release3.2, 780-0003-00, Revision 03.02.2007, June, 2007.

    [7]Eclipse SIP Security and Management Solutions Session Services Configuration Guide,Release 3.2, 780-0001-00, Revision 03.02.2007, June, 2007.

    Several Internet Engineering Task Force (IETF) standards track RFC documents were

    referenced within these Application Notes. The RFC documents may be obtained at:

    http://www.rfc-editor.org/rfcsearch.html.

    [8]RFC 3261 - SIP (Session Initiation Protocol), June 2002, Proposed Standard[9]RFC 2833 -RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals, May

    2000, Proposed Standard

  • 7/30/2019 Cxc550 Sip Pstn

    41/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    41 of 51

    CXC550_SIP_PSTN

    Appendix A

    Command Line Interface Configuration of Covergence CXC Session Manager## Copyr i ght ( c) 2004- 2007 Cover gence I nc.# Al l Ri ght s Reser ved.#

    # Fi l e: / cxc/ cxc. cfg# Dat e: 16: 14: 34 Thu 2007- 10- 11#conf i g cl ust erset name UHGconf i g box 1set host name CXC1set name CXC1set cont act ""set l ocat i on ""set i dent i f i er 00: 04: 23: b5: 3f : e2conf i g i nt er f ace et h0set speed 100Mbset aut oneg di sabl ed

    conf i g i p Hear t beat _cxc1set i p- addr ess st at i c 192. 168. 1. 1/ 24set cl assi f i cat i on- t ag ""conf i g sshreturnconf i g boot p- ser verreturnconf i g i cmpreturnconf i g vr r preturnconf i g messagi ngreturn

    returnreturnconf i g i nt er f ace et h1set speed 10Mbset aut oneg di sabl edconf i g i p stat i cset i p- addr ess st at i c 10. 1. 1. 101/ 24set cl assi f i cat i on- t ag ""conf i g sshreturnconf i g webset pr otocol ht t ps 443 0

    returnconf i g i cmpreturn

    returnreturnconf i g i nt er f ace et h2set speed 10Mbset aut oneg di sabl edconf i g i p stat i c

  • 7/30/2019 Cxc550 Sip Pstn

    42/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    42 of 51

    CXC550_SIP_PSTN

    set i p- addr ess st at i c 142. 16. 58. 101/ 24set cl assi f i cat i on- t ag ""conf i g sshreturnconf i g webset pr otocol ht t ps 443 0

    returnconf i g i cmpreturn

    returnreturnconf i g cl iset prompt CXC_Box- 1set banner ""

    returnconf i g consol ereturn

    returnconf i g box 2set host name CXC2

    set name CXC2set cont act ""set l ocat i on ""set i dent i f i er 00: 0e: 0c: e9: f 3: f 0conf i g i nt er f ace et h0set speed 100Mbset aut oneg di sabl edconf i g i p Hear t beat _cxc2set i p- addr ess st at i c 192. 168. 1. 2/ 24set cl assi f i cat i on- t ag ""conf i g sshreturnconf i g i cmpreturnconf i g vr r preturnconf i g messagi ngreturn

    returnreturnconf i g i nt er f ace et h1set speed 10Mbset aut oneg di sabl edconf i g i p stat i cset i p- addr ess st at i c 10. 1. 1. 102/ 24set cl assi f i cat i on- t ag ""conf i g ssh

    returnconf i g webset pr otocol ht t ps 443 0

    returnconf i g i cmpreturn

    returnreturn

  • 7/30/2019 Cxc550 Sip Pstn

    43/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    43 of 51

    CXC550_SIP_PSTN

    conf i g i nt er f ace et h2set speed 10Mbset aut oneg di sabl edconf i g i p stat i cset i p- addr ess st at i c 142. 16. 58. 102/ 24set cl assi f i cat i on- t ag ""conf i g sshreturnconf i g webset pr otocol ht t ps 443 0

    returnconf i g i cmpreturn

    returnreturnconf i g cl iset prompt CXC_Box- 2set banner ""

    returnconf i g consol e

    returnreturnset shar e- si gnal i ng- ent r i es tr ueset mi r r or- medi a- st r eams t r ueconf i g vr r pconf i g vi nt er f ace vx2set gr oup 1set host - i nt er f ace cl ust er \ box 1\ i nt er f ace et h2set host - i nt er f ace cl ust er \ box 2\ i nt er f ace et h2conf i g i p "Publ i c Si de"set i p- addr ess st at i c 142. 16. 58. 100/ 24set cl assi f i cat i on- t ag ""conf i g sshreturnconf i g webset pr otocol ht t ps 443 0

    returnconf i g s i pset udp- port 5060 "" " " any 0set t cp- por t 5060 "" " " any 0set t l s- por t 5061 "" "" any 0

    returnconf i g i cmpreturnconf i g medi a- port sreturnconf i g r out i ng

    conf i g rout e Net _142set dest i nat i on net work 142. 16. 58. 0/ 24set gateway 142. 16. 58. 1

    returnconf i g r out e Ci scoset dest i nat i on host 142. 16. 57. 2set gateway 142. 16. 58. 1

    return

  • 7/30/2019 Cxc550 Sip Pstn

    44/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    44 of 51

    CXC550_SIP_PSTN

    conf i g r out e bogusset dest i nat i on host 5. 5. 5. 5set gateway 142. 16. 58. 1

    returnreturn

    returnreturnconf i g vi nt er f ace vx111set gr oup 1set host - i nt er f ace cl ust er \ box 1\ i nt er f ace et h1set host - i nt er f ace cl ust er \ box 2\ i nt er f ace et h1conf i g i p Pr i vat eset i p- addr ess st at i c 10. 1. 1. 100/ 24set cl assi f i cat i on- t ag ""set t r ust ed- peer 192. 168. 99. 52set t r ust ed- peer 192. 168. 99. 53conf i g sshreturnconf i g webset pr otocol ht t ps 443 0

    returnconf i g s i pset nat - t r ansl at i on enabl edset udp- port 5060 "" " " any 0set t cp- por t 5060 "" " " any 0set t l s- por t 5061 "" "" any 0

    returnconf i g i cmpreturnconf i g medi a- port sreturnconf i g r out i ngconf i g r out e "CLAN 02"set dest i nat i on host 192. 168. 99. 52set gateway 10. 1. 1. 1

    returnconf i g r out e "CLAN 03"set dest i nat i on host 192. 168. 99. 53set gateway 10. 1. 1. 1

    returnconf i g rout e 10_netset dest i nat i on net work 10. 1. 1. 0/ 24set gateway 10. 1. 1. 1set met r i c 2

    returnreturn

    return

    returnreturn

    return

    conf i g ser vi cesconf i g event - l ogconf i g f i l e ker nelset f i l t er kr nl sys debug

  • 7/30/2019 Cxc550 Sip Pstn

    45/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    45 of 51

    CXC550_SIP_PSTN

    returnconf i g f i l e access- l ogset f i l t er access debug

    returnconf i g f i l e event l ogset f i l t er al l er r or

    returnconf i g f i l e tes t i ngset f i l t er s i p i nf oset si ze 3

    returnconf i g f i l e "System I nf o"set f i l t er sys temi nf o

    returnconf i g l ocal - dat abaseset f i l t er dosDat abase i nf o

    returnconf i g smt p mai l . uhgset admi n di sabl edset dest i nat i on- mai l box bi l l . uhg. net

    set r epl y- mai l box covergence@uhg. netset f i l t er access i nf oset f i l t er al l er r or

    returnreturn

    return

    conf i g mast er - ser vi cesconf i g cl ust er - mast erset host - box cl ust er \ box 1set host - box cl ust er \ box 2set group 1

    returnconf i g account i ngset host - box cl ust er \ box 1set host - box cl ust er \ box 2set group 1conf i g set t i ngsreturn

    returnconf i g dat abaseset host - box cl ust er \ box 1set host - box cl ust er \ box 2set group 1set preempt t r ueset medi a enabl ed

    return

    conf i g cal l - f ai l overset host - box cl ust er \ box 1set host - box cl ust er \ box 2set group 1set t akeover - t i mer - val ue 1000

    returnreturn

  • 7/30/2019 Cxc550 Sip Pstn

    46/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    46 of 51

    CXC550_SIP_PSTN

    conf i g vspset admi n enabl edset l ocal - i dent i t y ""set l ocal - nor mal i zat i on di sabl edset r egi st r at i on- pr oxy enabl edconf i g r egi str at i on- ser vi cereturnconf i g def aul t - sessi on- conf i gconf i g s i p- set t i ngsset r out e- hdr r equestset handl e- 3xx- l ocal l y enabl edset pr eserve- 3xx- cont act enabl edset set - 3xx- cont act - host ""set t o- header - f ol l ows- cont act - header enabl ed

    returnconf i g si p- di rect i veset di r ecti ve al l ow

    returnconf i g cont act- ur i - set t i ngs- i n- l egset add- maddr di sabl ed

    returnconf i g account i ngset t ar get dat abase "vsp\ account i ng\ database\ gr oup l ocal "set header Cal l - I Dset r epor t - f ai l ed- cal l s enabl ed

    returnconf i g medi aset anchor enabl edconf i g nat - t r aver salset symmet r i cRTP t r ue

    returnconf i g r ecor di ng- pol i cyset r ecord enabl ed

    returnset aut o- conf erence di sabl ed "" outset i nt r oducti on ""set musi c- on- hol d ""set i nact i vi t y- t i meout enabl ed "0 days 01: 00: 00"set r t p- st at s enabl ed

    returnconf i g l og- al er tset al er t enabl ed "servi ces\ event - l og\ l ocal - dat abase" i nf oset l oggi ng enabl edset t r aci ng enabl edset message- audi t i ng enabl ed err or

    returnconf i g f or ki ng- set t i ngs

    set f or ki ng- t ype sequent i alreturn

    returnconf i g stat i c-st ack- set t i ngsset domai n- name cust omer . comset domai n- al i as test . uhg. comset domai n- al i as 142. 16. 58. 100set l ocat i on- l ookup- pat t er n user - onl y

  • 7/30/2019 Cxc550 Sip Pstn

    47/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    47 of 51

    CXC550_SIP_PSTN

    set t 1 200set t 2 1100

    returnset cal l - admi ssi on- cont r ol di sabl edset r egi st r at i on- admi ssi on- cont r ol di sabl edset cal l - r esponse- st r i ng- at - t hr eshol d ""conf i g sessi on- conf i g- poolconf i g ent r y "codec t est "conf i g s i p- di r ect i veset di rect i ve al l ow

    returnconf i g i n- codec- pr ef er encesreturnconf i g out - codec- pr ef er encesset pref erence audi o pcma 0set pr ef er ence audi o i LBC 1set pref erence audi o pcmu 2set pr ef erence audi o speex 3

    returnreturn

    returnconf i g di al - pl anconf i g ar bi t er Wei ght edset cal l - hunt i ng- t ype sequent i alset cal l - r out i ng- on r equest - ur iset r ul e wei ght ed- cal l - aver ageset subscr i ber - mat ch phone- pr ef i x 800 1set pr i or i t y 50

    returnconf i g r out e t estset admi n di sabl edset r equest - ur i - mat ch phone- pr ef i x 800 1set l ocat i on- mat ch- pr ef er r ed noset peer hunt - gr oup "vsp\ car r i ers\ hunt - gr oup "" Hunt CLAN 02 and CLAN 03"""set al t er - r equest - ur i host cust omer . comset al t er - t o- ur i next - hop- i pset al t er - f rom- ur i l ocal - i p

    returnconf i g sour ce- r out e "Fr om CLAN 02 t o Ci sco PSTN"set sour ce- mat ch server "vsp\ ent erpr i se\ server s\ si p- gat eway ""CLAN 02"""set l ocat i on- mat ch- pr ef er r ed noset peer ser ver "vsp\ ent er pr i se\ ser ver s\ si p- gat eway ""Ci sco PSTN"" "set al t er - r equest - ur i next - hop- i pset al t er - t o- ur i next - hop- i pset al t er - f rom- ur i l ocal - i p

    returnconf i g sour ce- r out e "Fr om CLAN 03 t o Ci sco PSTN"

    set sour ce- mat ch server "vsp\ ent erpr i se\ server s\ si p- gat eway ""CLAN 03"""set l ocat i on- mat ch- pr ef er r ed noset peer ser ver "vsp\ ent er pr i se\ ser ver s\ si p- gat eway ""Ci sco PSTN"" "set al t er - r equest - ur i next - hop- i pset al t er - t o- ur i next - hop- i pset al t er - f rom- ur i l ocal - i p

    returnconf i g source- r out e "Fr om Ci sco t o Hunt CLAN 02 and CLAN 03"

  • 7/30/2019 Cxc550 Sip Pstn

    48/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    48 of 51

    CXC550_SIP_PSTN

    set sour ce- mat ch ser ver "vsp\ ent er pr i se\ ser ver s\ si p- gat eway "" Ci scoPSTN"""

    set l ocat i on- mat ch- pr ef er r ed noset peer hunt - gr oup "vsp\ car r i ers\ hunt - gr oup "" Hunt CLAN 02 and CLAN 03"""set al t er - r equest - ur i host cust omer . comset al t er - t o- ur i next - hop- i pset al t er - f rom- ur i l ocal - i p

    returnreturnconf i g r egi str at i on- pl anconf i g set t i ngsset al pha- numer i c- phone- expr essi on AAset al pha- numer i c- phone- expr essi on ABset al pha- numer i c- phone- expr essi on BBset al pha- numer i c- phone- expr essi on $

    returnconf i g r out e r egi st er - 732set t o- ur i - mat ch phone- pr ef i x 732 4set act i on acceptset r esponse- st r i ng ""

    returnreturnconf i g ent er pr i seconf i g ser ver sconf i g si p- gat eway "CLAN 02"set peer - i dent i t y ""set domai n cust omer . comset r out i ng- t ag ""set user ""set password- t ag ""conf i g ser ver - poolconf i g ser ver "CLAN 02"set host 192. 168. 99. 52set t r ansport TCPset max- number - of - concur r ent - cal l s 5

    returnset handl e- r esponse 403 t r y- next - peerset handl e- r esponse 404 t r y- next - peerset handl e- r esponse 503 t r y- next - peerset handl e- r esponse 504 t r y- next - peer

    returnreturnconf i g si p- gat eway "CLAN 03"set peer - i dent i t y ""set domai n cust omer . comset r out i ng- t ag ""set user ""

    set password- t ag ""conf i g ser ver - poolconf i g ser ver "CLAN 03"set host 192. 168. 99. 53set t r ansport TCPset max- number - of - concur r ent - cal l s 5

    returnset handl e- r esponse 403 t r y- next - peer

  • 7/30/2019 Cxc550 Sip Pstn

    49/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    49 of 51

    CXC550_SIP_PSTN

    set handl e- r esponse 404 t r y- next - peerset handl e- r esponse 503 t r y- next - peerset handl e- r esponse 504 t r y- next - peer

    returnreturnconf i g si p- gateway "Ci sco PSTN"set peer - i dent i t y ""set domai n ""set r out i ng- t ag ""set user ""set password- t ag ""conf i g ser ver - poolconf i g ser ver "Ci sco PSTN Gwy"set host 142. 16. 57. 2

    returnset handl e- r esponse 404 t r y- next - peer

    returnreturn

    returnreturn

    conf i g car r i er sconf i g hunt - group "Hunt CLAN 02 and CLAN 03"set opt i on ser ver "vsp\ ent er pr i se\ ser ver s\ si p- gat eway ""CLAN 02"" " 1set opt i on ser ver "vsp\ ent er pr i se\ ser ver s\ si p- gat eway ""CLAN 03"" " 1

    returnreturnconf i g account i ngconf i g dat abaseconf i g gr oup l ocalconf i g ser ver l ocal dbset t ype l ocalset user name post gresset password- t ag post gres

    returnconf i g cal l - f i el d- f i l t erset f i l t er sessi on- i d+r ecor ded+cal l - i d+t o+f r om+method+i ncomi ng- r equest -

    ur i +out goi ng- r equest - ur i +pr evi ous- hop- i p+pr evi ous- hop- vi a+next - hop- i p+next -hop- dn+header+or i gi n+set up- t i me+connect - t i me+di sconnect - t i me+di sconnect -cause+scp- name+cal l - i d- 2+cal l - t ype+di sconnect - err or - t ype+ani +new- ani +cal l -dest - cr - name+cdr - t ype+hunt i ng- at t empt s+cal l - pdd+cal l ed- par t y- af t er - sr c- di al -pl an+l ast - st at us- message

    set sour ce- medi a- f i l t er packet s- r ecei ved+packet s- l ost +packet s-di scarded+pdv+codec+l at ency+r f act or +mi me- t ype+mos+i p- i n+i p- out+anchor - i p-i n+anchor- i p- out

    set dest i nat i on- medi a- f i l t er packet s- r ecei ved+packet s- l ost +packet s-di scarded+pdv+codec+l at ency+r f act or +mi me- t ype+mos+i p- i n+i p- out+anchor - i p-i n+anchor- i p- out

    set sour ce- cal l er - f i l t er r egi d+r eal m- nameset dest i nat i on- cal l er - f i l t er r egi d+r eal m- name

    returnreturn

    returnreturnconf i g dnsconf i g r esol ver

  • 7/30/2019 Cxc550 Sip Pstn

    50/51

    FS; Reviewed:

    SPOC 12/6/2007

    Solution & Interoperability Test Lab Application Notes

    2007 Avaya Inc. All Rights Reserved.

    50 of 51

    CXC550_SIP_PSTN

    set admi n di sabl edset ser ver 2. 2. 2. 2 UDP 53 100 ALL

    returnreturnconf i g l ocat i on- ser vi ceconf i g set t i ngsset cache- pol l - i nt er val 3600

    returnreturnconf i g dat abaseset account i ng- hi st ory 12set cal l - det ai l s -hi story 12set medi a- hi st ory 12set f i l e- t rans fer - hi s tory 3set i m- hi st or y 3

    returnconf i g set t i ngsset si p- st ack- pr e- aut h- t i meout 60set si p- st ack- pr e- aut h- max- pendi ng 131072set max- number - of - r egi st r at i ons 100000

    set pendi ng- r egi st r at i ons- hi gh- wat er mar k 500000set pendi ng- r egi st r at i ons- l ow- wat ermar k 100000set r egi st r at i ons- hi gh- cpu- t hr eshol d 90set max- r et r ansmi ssi ons 2set out - of - cont ext- message- act i on r ef use 400set out - of - cont ext - message- medi a- cl eanup di sabl edset pr eserve- 3xx- cont act enabl edset r egi st er - r et r ansmi t - det ecti on di sabl ed

    returnreturn

    conf i g ext er nal - ser vi cesreturn

    conf i g pr ef er encesconf i g cms- pr ef erencesreturn

    return

    conf i g accessreturn

    conf i g f eat ur esset medi a- sessi ons 1000set medi a- encr ypt i on- sessi ons 625set l cs- samet i me- gat eway- sessi ons 0

    return

  • 7/30/2019 Cxc550 Sip Pstn

    51/51

    2007 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 issubject to change without notice. The configurations, technical data, and recommendationsprovided 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 anyproducts specified in these Application Notes.

    Please e-mail any questions or comments pertaining to these Application Notes along with thefull title name and filename, located in the lower right corner, directly to the Avaya Solution &

    Interoperability Test Lab at [email protected]