Document ID: 82056
Updated: Apr 16, 2007
Introduction
This series of interactive documents uses a typical head office and branch
office in order to demonstrate some common voice network configurations. This
interactive diagram allows you to view network configurations:
|
|||||||||||||||||||||||||||||||||||||
Click a component to view configuration and troubleshooting information. |
|||||||||||||||||||||||||||||||||||||
Refer to Unified CallManager Interactive Voice Network Configuration and Troubleshooting Case Study for requirements assumed by this series of interactive documents.
Configure
In order for SRST to function correctly, you must complete these eight configurations:
- Create an SRST Reference in CallManager
- Configure the Remote RTP Router
- Select the SRST Reference in the Remote Device Pool
- Configure Dial Peers for Dialing in SRST Mode to the PSTN
- Configure Class of Restriction (COR) on the SRST Router
- Configure Multicast MOH from Flash (Optional)
- Ensure 4-Digit Dialing to the Head Office is Maintained
- Configure Voice Mail
Create an SRST Reference in Unified CallManager
In order to create an SRST reference in Unified CallManager, complete these steps:
- Click System > SRST > Add a New SRST Reference.
- Configure the SRST reference as shown in this image:

Note: The IP address must match the IP source address specified in the SRST router, which is the RTP router in this example. This address is configured under call-manager-fallback. See Configure the Remote RTP Router.
Configure the Remote RTP Router
In order configure the remote RTP router, use the configuration listed in this step.
Note: The relevant SRST configurations are shown in bold text.
hostname RTP ! ! application global service alternate default ! controller T1 0/1 framing esf linecode b8zs cablelength short 133 channel-group 0 timeslots 1-24 speed 64 ! controller T1 1/0 framing esf linecode b8zs pri-group timeslots 1-2,24 service mgcp
interface Serial0/1:0 no ip address encapsulation frame-relay ! interface Serial0/1:0.100 point-to-point bandwidth 128000 ip address 192.168.10.2 255.255.255.0 frame-relay interface-dlci 100 ! interface Serial1/0:23 no ip address isdn switch-type primary-ni isdn incoming-voice voice isdn bind-l3 ccm-manager no cdp enable interface Vlan10 ip address 172.69.103.225 255.255.255.0 ip helper-address 171.69.103.225 ! interface Vlan110 ip address 10.10.10.1 255.255.255.0 ip helper-address 171.69.103.225 ! router eigrp 1 network 10.0.0.0 network 171.69.0.0 network 172.69.0.0 network 192.168.10.0 no auto-summary ! interface FastEthernet2/0 switchport trunk native vlan 10 switchport mode trunk switchport voice vlan 110 switchport priority extend cos 0 ! interface FastEthernet2/1 switchport trunk native vlan 10 switchport mode trunk switchport voice vlan 110 switchport priority extend cos 0 ! interface FastEthernet2/2 switchport trunk native vlan 10 switchport mode trunk switchport voice vlan 110 switchport priority extend cos 0
! interface Vlan10 ip address 172.69.103.225 255.255.255.0 ip helper-address 171.69.103.225 ! interface Vlan110 ip address 10.10.10.1 255.255.255.0 ip helper-address 171.69.103.225 ! router eigrp 1 network 10.0.0.0 network 171.69.0.0 network 172.69.0.0 network 192.168.10.0 no auto-summary
voice-port 1/0:23
ccm-manager fallback-mgcp ccm-manager mgcp ccm-manager music-on-hold ccm-manager config server 171.69.103.225 mgcp mgcp call-agent 171.69.103.225 2427 service-type mgcp version 0.1 mgcp dtmf-relay voip codec all mode out-of-band mgcp rtp unreachable timeout 1000 action notify mgcp modem passthrough voip mode nse mgcp package-capability rtp-package mgcp package-capability sst-package no mgcp package-capability fxr-package mgcp package-capability pre-package no mgcp timer receive-rtcp mgcp sdp simple mgcp fax t38 inhibit mgcp rtp payload-type g726r16 static ! mgcp profile default
call-manager-fallback max-conferences 8 gain -6 ip source-address 10.10.10.1 port 2000 max-ephones 3 max-dn 3 dialplan-pattern 1 9195014... extension-length 4
Select the SRST Reference in the Remote Device Pool
In order to ensure that the device pool where SRST is used has been assigned the appropriate SRST resource, complete these steps:
- Click System > Device Pool > RTP.
- Select the SRST reference from the SRST Reference drop-down list. In this
example, Cisco3725.

Configure Dial Peers for Dialing in SRST Mode to the PSTN
In order to allow users make PSTN calls in SRST mode, configure voice dial
peers identical to the CallManager dial plan:
dial-peer voice 123 pots !--- For incoming DID calls incoming called-number . direct-inward-dial port 1/0:23 ! dial-peer voice 911 pots destination-pattern 911 port 1/0:23 forward-digits 3 ! dial-peer voice 9911 pots destination-pattern 9911 port 1/0:23 forward-digits 3 ! dial-peer voice 7 pots destination-pattern 9[2-9]...... port 1/0:23 forward-digits 7 ! dial-peer voice 11 pots destination-pattern 91[2-9]..[2-9]...... port 1/0:23 forward-digits 11 ! dial-peer voice 9011 pots destination-pattern 9011T port 1/0:23 prefix 011 !
Configure Class of Restriction (COR) on the SRST Router
In order to maintain class of service (CoS) for users in SRST mode, you must configure COR. For detailed information about COR operation, refer to the Dial Plan section of the Cisco Unified Communications SRND Based on Cisco Unified CallManager 4.x.
The COR configurations that are relevant to this document are shown in this output:
dial-peer cor custom
name int
name local
name ld
name intl
!
!
dial-peer cor list int
member int
!
dial-peer cor list local
member local
!
dial-peer cor list ld
member ld
! dial-peer cor list intl member intl ! dial-peer cor list Restricted member int ! dial-peer cor list LocalCalls member int member local ! dial-peer cor list LongDistance member int member local member ld ! dial-peer cor list International member int member local member ld member intl
dial-peer voice 911 pots corlist outgoing int destination-pattern 911 port 1/0:23 forward-digits 3 ! dial-peer voice 9911 pots corlist outgoing int destination-pattern 9911 port 1/0:23 forward-digits 3 ! dial-peer voice 7 pots corlist outgoing local destination-pattern 9[2-9]...... port 1/0:23 forward-digits 7 ! dial-peer voice 11 pots corlist outgoing ld destination-pattern 91[2-9]..[2-9]...... port 1/0:23 forward-digits 11
dial-peer voice 9011 pots corlist outgoing intl destination-pattern 9011T port 1/0:23 prefix 011
call-manager-fallback max-conferences 8 gain -6 ip source-address 10.10.10.1 port 2000 max-ephones 3 max-dn 3 dialplan-pattern 1 9195014... extension-length 4 cor incoming International 1 4001 cor incoming LocalCalls 2 4002 cor incoming LongDistance 3 4003
Configure Multicast MOH from Flash (Optional)
In order to provide MOH in SRST mode, you can configure multicast MOH from flash as shown in the output in this section. Note that IP phones hear only tone on hold in SRST mode. However, PSTN callers hear music-on-hold.
call-manager-fallback max-conferences 8 gain -6 ip source-address 10.10.10.1 port 2000 max-ephones 3 max-dn 3 dialplan-pattern 1 9195014... extension-length 4 moh music-on-hold multicast moh 239.1.1.1 port 16384 route 10.10.10.1 172.69.103.225
For more information on MOH best practices, refer to the Music on Hold section of Cisco Unified Communications SRND Based on Cisco Unified CallManager 4.x.
Ensure 4-Digit Dialing to Head Office is Maintained
In order to maintain 4-digit dialing for your users to reach the head office during SRST failover, you must configure additional dial peers as shown in this output:
! voice translation-rule 1 !--- Appends 14085015 to any called number starting with 5 rule 1 /^5/ /14085015/ ! ! voice translation-profile toHQ translate called 1 dial-peer voice 5000 pots !--- Maintains 4-digit dialing to head office translation-profile outgoing toHQ destination-pattern 5... port 1/0:23 !
Configure Voice Mail
For information on how to configure voice mail, refer to these documents:
- Unity Voice Mail Interactive Voice Network Configuration Example
- SRST Voice Mail Interactive Voice Network Configuration Example
Verify
This section provides information to verify your configuration. Cisco recommends that you perform this verification outside of business hours as it will cause an outage for your remote branch if SRST is not triggered.
- Test the SRST configuration:
You can either take down the WAN interface or add a static route to null 0 for any ip packets coming from Unified CallManager:
ip route 171.69.103.225 255.255.255.255 null 0
Caution: Use extreme caution when using the above static route. The impact of this can affect other sites depending on your IP routing environment.
You should see the following messages appear on your remote branch router (in this configuration example, RTP router):*Nov 1 06:16:34.707: %IPPHONE-6-REGISTER_NEW: ephone-2:SEP000BBEF9E85E IP:10.10.10.14 Socket:2 DeviceType:Phone has registered. *Nov 1 06:16:54.375: %IPPHONE-6-REG_ALARM: 15: Name=SEP00115C0E5EDA Load=7.2(4.0) Last=CM-ICMP-Unreach *Nov 1 06:16:54.375: %IPPHONE-6-REGISTER_NEW: ephone-1:SEP00115C0E5EDA IP:10.10.10.12 Socket:1 DeviceType:Phone has registered. - In order to test PSTN dial, call various numbers and ensure that users CoS
are maintained.
- Test calls to the head office.
This debug output was taken by dialing 5005 to head office. Notice how this number is translated to 14085015005.
RTP#debug voice translation
RTP# *Nov 1 06:27:46.363: //-1/xxxxxxxxxxxx/RXRULE/ regxrule_get_profile_from_trunkgroup_internal: Voice port 0x66A943AC does not belong to any trunk group *Nov 1 06:27:46.363: //-1/EC2B8D52804D/RXRULE/ regxrule_stack_pop_RegXruleNumInfo: stack=0x66A93B98; count=1 *Nov 1 06:27:46.367: //-1/EC2B8D52804D/RXRULE/ regxrule_stack_push_RegXruleNumInfo: stack=0x66A93B98; count=0 *Nov 1 06:27:47.627: //-1/EC2B8D52804D/RXRULE/ regxrule_stack_push_RegXruleNumInfo: stack=0x66A93B98; count=1 *Nov 1 06:27:47.627: //-1/EC2B8D52804D/RXRULE/ regxrule_profile_translate_internal: number=19195014003 type=unknown plan=unknown numbertype=calling *Nov 1 06:27:47.627: //-1/EC2B8D52804D/RXRULE/ regxrule_get_RegXrule: Invalid translation ruleset tag=0 *Nov 1 06:27:47.627: //-1/EC2B8D52804D/RXRULE/ regxrule_profile_match_internal: Error: ruleset for calling number not found *Nov 1 06:27:47.627: //-1/EC2B8D52804D/RXRULE/ regxrule_profile_translate_internal: No match: number=19195014003 type=unknown plan=unknown *Nov 1 06:27:47.627: //-1/EC2B8D52804D/RXRULE/ regxrule_profile_translate_internal: number=5005 type=unknown plan=unknown numbertype=called *Nov 1 06:27:47.627: //-1/EC2B8D52804D/RXRULE/ regxrule_profile_match_internal: Matched with rule 1 in ruleset 1 *Nov 1 06:27:47.627: //-1/EC2B8D52804D/RXRULE/ regxrule_profile_match_internal: Matched with rule 1 in ruleset 1 *Nov 1 06:27:47.627: //-1/EC2B8D52804D/RXRULE/ sed_subst: Successful substitution; pattern=5005 matchPattern=^5 replacePattern=14085015 replaced pattern=14085015005 *Nov 1 06:27:47.627: //-1/EC2B8D52804D/RXRULE/ regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = unknown *Nov 1 06:27:47.631: //-1/EC2B8D52804D/RXRULE/ regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = unknown *Nov 1 06:27:47.631: //-1/EC2B8D52804D/RXRULE/ regxrule_profile_translate_internal: xlt_number=14085015005 xlt_type=unknown xlt_plan=unknown *Nov 1 06:27:47.631: //-1/EC2B8D52804D/RXRULE/ regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirect-called *Nov 1 06:27:47.631: //-1/EC2B8D52804D/RXRULE/ regxrule_get_RegXrule: Invalid translation ruleset tag=0 *Nov 1 06:27:47.631: //-1/EC2B8D52804D/RXRULE/ regxrule_profile_match_internal: Error: ruleset for redirect-called number not found *Nov 1 06:27:47.631: //-1/EC2B8D52804D/RXRULE/ regxrule_profile_translate_internal: No match: number= type=unknown lan=unknown *Nov 1 06:27:47.631: //-1/EC2B8D52804D/RXRULE/ regxrule_dp_translate: calling_number=19195014003 calling_octet=0x0 called_number=14085015005 called_octet=0x80 redirect_number= redirect_type=0
redirect_plan=0 redirect_PI=0 redirect_SI=0 *Nov 1 06:27:47.631: //-1/EC2B8D52804D/RXRULE/ regxrule_vp_translate: No profile found in voice port or trunk group for outgoing direction *Nov 1 06:27:47.631: //-1/EC2B8D52804D/RXRULE/ regxrule_vp_translate: calling_number=19195014003 calling_octet=0x0 called_number=14085015005 called_octet=0x80 redirect_number= redirect_type=0
redirect_plan=0
Open a Support Case
(Requires a Cisco Service Contract.)
Related Cisco Support Community Discussions
The Cisco Support Community is a forum for you to ask and answer questions, share suggestions, and collaborate with your peers.
Refer to Cisco Technical Tips Conventions for information on conventions used in this document.

















