CCME Trunking Support
CCME Trunking Support
Trunking support features provide or enhance different types of trunk services. This chapter describes
the following topics:
• Direct FXO Trunk Lines, page 264
• QSIG Supplementary Services, page 272
• SIP Trunk Features, page 277
Note For more information about Cisco IOS voice features, see the entire Cisco IOS Voice Configuration
Library—including library preface and glossary, feature documents, and troubleshooting
information—at
http://www.cisco.com/en/US/products/ps6441/prod_configuration_guide09186a0080565f8a.html.
For publications related to Cisco Unified CallManager Express (Cisco Unified CME), see the
Cisco Unified CME documentation at
http://www.cisco.com/en/US/products/sw/voicesw/ps4625/products_documentation_roadmap09186a0
080189132.html.
Note For a summary of the functionality introduced in different versions, see the “Feature History for Direct
FXO Trunk Lines” section on page 271.
For Cisco CME 3.2 and later versions, IP phones can be configured to have buttons for dedicated FXO
trunk lines, herein after referred to as FXO lines. Direct FXO trunk lines may used by companies whose
employees require private PSTN numbers. For example, a salesperson may need a special number that
customers can call without having to go through a main number. When a call comes in to the direct
number, the salesperson knows that the caller is a customer. In the salesperson’s absence the customer
can leave voice mail. Dedicated lines can use PSTN service provider voice mail: when the line button is
pressed, the PSTN-FXO line is seized, allowing the user to hear the stutter dial tone provided by the
PSTN to indicate that voice messages are available.
Because dedicated FXO lines behave as private lines, users do not have to dial a prefix, such as 9 or 8,
to reach an outside line. To reach phone users within the company, FXO-line users must dial numbers
that use the company's PSTN number. For calls to nonPSTN destinations, such as local IP phones, a
second ephone-dn must be provisioned.
Calls placed to or received on an FXO line have restricted Cisco Unified CME services (see the
“Restrictions” section on page 266) and cannot be transferred by Cisco Unified CME. However, phone
users are able to access hookflash-controlled PSTN services using the Flash soft key. See the fxo
hook-flash command in the Cisco Unified CallManager Express Command Reference.
From a high level, configuration of a direct FXO trunk line consists of the following:
1. Configuring the FXO port for a private line automatic ringdown (PLAR) off-premises extension
(OPX) connection and declaring a private line’s number; for example:
voice-port 1/1/0
connection plar-opx 1020
2. Configuring dial peers for FXO port and declaring a trunk tag to bind the FXO port and its dial peer
to an ephone-dn; for example:
dial-peer voice 111 pots
destination-pattern 82
port 1/1/0
ephone-dn 1
mac-address 1111.1111.1111
button 1:12
4. Binding the ephone-dn to the FXO port with the trunk command; for example:
ephone-dn 12
number 1020
trunk 82 timeout 30
Restrictions
• An ephone-dn with a trunk line cannot be configured for call forward, busy, or no answer.
• Numbers entered after a trunk line is seized will not be displayed. Only the trunk tag is displayed
on IP phones.
• Numbers entered after trunk line is seized will not appear in call history or call detail records
(CDRs) of a Cisco Unified CME router. Only the trunk tag is logged for calls made from trunk lines.
• FXO trunk lines do not support the CFwdALL, Transfer, Pickup, GPickUp, Park, CallBack, and
NewCall soft keys.
• FXO trunk lines do not support conference initiator dropoff.
• FXO trunk lines do not support on-hook redial. The phone user must explicitly select the FXO trunk
line before pressing the Redial button.
• FXO trunk lines do not support call transfer to IP phones. However, the call initiator can conference
an FXO line with an IP phone by pressing the Hold button, which leaves the FXO trunk line and IP
phone connected. The conference initiator is unable to participate in the conference, but can place
calls on other lines.
• FXO port monitoring has the following restrictions:
– Requires Cisco Unified CME 4.0 or later.
– Supported only for analog FXO loop-start and ground-start ports and T1/E1 FXO CAS ports.
FXS loop-start and ground-start ports and PRI/BRI PSTN trunks are not supported.
– Not supported for analog ports on the Cisco VG 224 or Cisco ATA 180 Series.
– T1 CAS DS0 group must be configured per time slot (cannot bundle more than one time slot
into a ds0-group).
• Transfer recall and transfer-to button optimization are supported on dual-line ephone-dns only in
Cisco Unified CME 4.0 and later.
• Transfer-to button optimization is not supported for call forwarding, call-park recall, call pickup on
hold, or call pickup at alert.
• Transfer recall is not supported for analog ports on the Cisco VG 224 or Cisco ATA 180 Series.
SUMMARY STEPS
1. enable
2. configure terminal
3. voice-port port
4. connection plar opx digits
5. exit
6. dial-peer voice tag pots
7. destination-pattern string[T]
8. port port
9. exit
10. ephone-dn dn-tag [dual-line]
11. number number
12. trunk digit-string [timeout seconds] [transfer-timeout seconds] [monitor-port port]
13. huntstop channel
14. exit
15. ephone phone-tag
16. mac-address tag
17. button button-number{separator}dn-tag [[button-number{separator}dn-tag] ...]
18. end
DETAILED STEPS
Example:
Router# configure terminal
Step 3 voice-port port Enters voice-port configuration mode.
• Port argument is platform-dependent; type ? to display
Example: syntax. For more information, see the Cisco IOS Voice
Router(config)# voice-port 0/0/0 Command Reference.
Step 4 connection plar opx digits Specifies a PLAR OPX connection.
• Using this option, the local voice port provides a local
Example: response before the remote voice port receives an
Router(config-voice-port)# connection plar opx answer. On FXO interfaces, the voice port does not
5550111 answer until the remote side has answered.
• digits—Specifies the destination telephone number.
Valid entries are any series of digits that specify the
E.164 telephone number.
Step 5 exit Exits voice-port configuration mode.
Example:
Router(config-voice-port)# exit
Step 6 dial-peer voice tag pots Enters dial-peer configuration mode for POTS.
• tag—Digits that define a particular dial peer. Range is
Example: 1 to 2147483647.
Router(config)# dial-peer voice 53 pots
Example:
Router(config-ephone-template)# exit
Step 10 ephone-dn dn-tag [dual-line] Enters ephone-dn configuration mode to create an extension
(ephone-dn) for a Cisco Unified IP phone line, an intercom
line, a paging line, a voice-mail port, or an MWI.
Example:
Router(config)# ephone-dn 1 dual-line • dn-tag—Unique sequence number that identifies an
ephone-dn during configuration tasks. Range is 1 to the
maximum number of ephone-dns allowed on the router
platform. Type ? to display range.
• dual-line—Enables dual-line mode for the ephone-dn.
Step 11 number number Associates a telephone or extension number with an
extension (ephone-dn).
Example: • number—String of up to 16 characters that represents an
Router(config-ephone-dn)# number 5550111 E.164 telephone number. Enter the PLAR number
configured by the connection command.
Example:
Router(config-ephone-dn)# end
Step 15 ephone phone-tag Enters ephone configuration mode for an IP phone.
Example:
Router(config)# ephone 1
Step 16 mac-address mac-address Associates the MAC address of a Cisco Unified IP phone
with an ephone configuration in a Cisco Unified CME
system.
Example:
Router(config-ephone)# mac-address • mac-address—The MAC address of an IP phone, which
CFBA.321B.96FA is found on a label located on the bottom of the phone.
Example:
Router(config-ephone)# end
Examples
The following example shows a configuration for the trunk monitoring feature.
!
controller T1 0/0/0
ds0-group 1 timeslots 1 type fxo-ground-start
ds0-group 2 timeslots 2 type fxo-ground-start
!
voice-port 0/0/0:1
connection plar opx 1001
!
voice-port 0/0/0:2
connection plar opx 1002
!
dial-peer voice 801 pots
destination-pattern 801
port 0/0/0:1
!
dial-peer voice 802 pots
destination-pattern 802
port 0/0/0:2
!
ephone-dn 1 dual-line
number 1001
huntstop channel
trunk 801 transfer-timeout 10 monitor-port 0/0/0:1
!
ephone-dn 2 dual-line
number 1002
huntstop channel
trunk 802 transfer-timeout 10 monitor-port 0/0/0:2
!
ephone 1
mac-address 0001.0002.0003
type 7960
button 1:10 2:1 3:2
!
ephone 2
mac-address 0001.0002.0004
type 7960 addon 1 7914
button 1:11 7:1 8:2
The following example shows the configuration for one phone that has 2 buttons: the first button is for
making calls to local extensions and for receiving calls, and the second button is for a private line that
goes out an FXO port as a direct trunk.
voice-port 1/0/0
connection plar opx 1001
ephone-dn 1
name MainExtension
number 1001
ephone-dn 2
name PrivateTrunkLine
trunk 81 timeout 5
ephone 1
mac-address 1111.1111.1110
button 1:1 2:2
Note For a summary of the functionality introduced in different versions, see the “QSIG Supplementary
Services Overview” section on page 272.
QSIG is an intelligent inter-PBX signaling system widely adopted by PBX vendors. It supports a range
of basic services, generic functional procedures, and supplementary services. Cisco Unified CME 4.0
introduces supplementary services features that allow Cisco Unified CME phones to seamlessly
interwork using QSIG with phones connected to a PBX. One benefit is that IP phones can use a PBX
message center with proper MWI notifications. Figure 29 illustrates a topology for a Cisco Unified CME
system with some phones under the control of a PBX.
IP 1001 IP 2001
IP 1002 IP 2002
IP 1003 IP 2003
QSIG 3001
3002
PBX
3003
Message
135562
center
The following QSIG supplementary service features are supported in Cisco Unified CME systems. They
follow the standards from the European Computer Manufacturers Association (ECMA) and the
International Organization for Standardization (ISO) on PRI and BRI interfaces.
• Basic calls between IP phones and PBX phones.
SUMMARY STEPS
1. enable
2. configure terminal
3. telephony-service
4. voicemail phone-number
5. transfer-system {blind | full-blind | full-consult | local-consult}
6. exit
7. ephone-dn dn-tag
8. mwi qsig
9. Configure call forwarding to the voice-mail number for this ephone-dn.
10. exit
11. voice service voip
or
dial-peer voice tag voip
12. supplementary-service h450.7
13. qsig decode
14. exit
15. voice service pots
or
dial-peer voice tag pots
16. supplementary-service qsig call-forward
17. end
DETAILED STEPS
Example:
Router# configure terminal
Step 3 telephony-service Enters telephony-service configuration mode.
Example:
Router(config)# telephony-service
Step 4 voicemail phone-number Specifies a directory number for voice mail. The PBX
message center number can be entered here.
Example: Note Ensure to configure a POTS dial peer and an ISDN
Router(config-telephony)# voicemail 74398 interface for the message center line.
Step 5 transfer-system {blind | full-blind | Defines the call transfer method to allow call transfer with
full-consult | local-consult} consultation for all lines served by the router.
Note For SIP networks, use only the full-blind keyword
Example: or the full-consult keyword.
Router(config-telephony)# transfer-system
full-consult • blind—Calls are transferred without consultation with
a single phone line using the Cisco-proprietary method.
• full-blind—Calls are transferred without consultation
using H.450.2 standard methods.
• full-consult—Calls are transferred with consultation
using H.450.2 standard methods and a second phone
line if available. The calls fall back to full-blind if the
second line is unavailable.
• local-consult—Calls are transferred with local
consultation using a second phone line if available. The
calls fall back to blind for nonlocal consultation or
nonlocal transfer target.
Example:
Router(config-telephony)# exit
Step 7 ephone-dn dn-tag Enters ephone-dn configuration mode.
• dn-tag—Unique sequence number that identifies this
Example: ephone-dn during configuration tasks.
Router(config)# ephone-dn 25
Step 8 mwi qsig Specifies that the QSIG (PBX) message center should be
interrogated for MWI status for this ephone-dn.
Example:
Router(config-ephone-dn)# mwi qsig
Step 9 Configure call forwarding to the voice-mail number Configure one or more of the following commands with the
for this ephone-dn. the QSIG (PBX) message center as the call-forwarding
target number. If more than one type of call forwarding is
enabled, the preference order for evaluating the different
types is as follows:
1. call-forward night-service target-number
2. call-forward all target-number
3. call-forward busy target-number [primary |
secondary] [dialplan-pattern]
and
call-forward noan target-number timeout seconds
[primary | secondary] [dialplan-pattern]
Step 10 exit Exits ephone-dn configuration mode.
Example:
Router(config-ephone-dn)# exit
Step 11 voice service voip Enters VoIP voice-service configuration mode to define
or global call transfer and forwarding parameters.
dial-peer voice tag voip Enters dial-peer configuration mode to define parameters
for an individual dial peer.
Example:
Router(config)# voice service voip
Example:
Router(config)# dial-peer voice 1 voip
Example:
Router(config-voi-serv)# qsig decode
Step 14 exit Exits VoIP voice-service configuration mode.
Example:
Router(config-voi-serv)# exit
Step 15 voice service pots Enters POTS voice-service configuration mode to define
or global call transfer and forwarding parameters.
dial-peer voice tag pots Enters dial-peer configuration mode to define parameters
for an individual dial peer.
Example:
Router(config)# voice service pots
Example:
Router(config)# dial-peer voice 2 pots
Step 16 supplementary-service qsig call-forward Enables QSIG call-forwarding supplementary services
(ISO 13873) to forward calls to another number. This
command is disabled by default.
Example:
Router(config-voi-serv)# supplementary-service Note Use this command in voice-service configuration
qsig call-forward mode to enable QSIG call-forwarding services
globally, or use it in dial-peer configuration mode to
Example: enable the services on a single dial peer.
Router(config-dial-peer)# supplementary-service
qsig call-forward
Step 17 end Returns to privileged EXEC mode.
Example:
Router(config-voi-serv)# end
Examples
The following example implements QSIG supplementary services on extension 74367 and globally
enables H.450.7 supplementary services and QSIG call-forwarding supplementary services.
telephony-service
voicemail 74398
transfer-system full-consult
ephone-dn 25
number 74367
mwi qsig
call-forward all 74000
Note For a summary of the functionality introduced in different versions, see the “SIP Trunk Features
Overview” section on page 278.
When Cisco Unified CME and SCCP phones are used with SIP networks, the following features may
need special settings:
• Call Forwarding over SIP Networks, page 278
• Call Transfer over SIP Networks, page 278
• DTMF Relay, page 278
• SIP Register Support, page 279
DTMF Relay
SCCP phones used with Cisco Unified CME systems relay dual tone multifrequency (DTMF) digits out
of band. To interwork with SIP applications that expect in-band DTMF digits, you must enable a
conversion. Two types of conversions are possible:
• RFC 2833 (Standard) DTMF Relay—For remote SIP-based IVR or voice-mail application
• SIP Notify (Nonstandard) DTMF Relay—For Cisco Unity Express on a SIP network
• When SIP is used to connect a Cisco Unified CME system to a remote SIP-PSTN voice gateway that
goes through the PSTN to a voice-mail or IVR application.
Note that the need to use out-of-band DTMF relay conversion is limited to SCCP phones. SIP phones
natively support in-band DTMF relay as specified in RFC 2833.
To enable SIP DTMF relay using RFC 2833, the commands in this section must be used on both
originating and terminating gateways.
Note No commands allow registration between the H.323 and SIP protocols.
By default, SIP gateways do not generate SIP Register messages, so the following procedure is needed
to set up the gateway to register the gateway’s E.164 telephone numbers with an external SIP registrar.
SUMMARY STEPS
1. enable
2. configure terminal
3. telephony-service
4. call-forward pattern pattern
5. calling-number local
6. transfer-system {full-blind | full-consult}
7. transfer-pattern transfer-pattern
8. exit
9. dial-peer voice tag voip
10. dtmf-relay rtp-nte
11. dtmf-relay sip-notify
12. exit
13. sip-ua
14. notify telephone-event max-duration time
15. registrar {dns:host-name | ipv4:ip-address} expires seconds [tcp] [secondary]
16. retry register number
17. timers register time
18. end
DETAILED STEPS
Example:
Router# configure terminal
Example:
Router(config)# telephony-service
Step 4 call-forward pattern pattern Specifies the H.450.3 standard or SIP 302 redirection
method for call forwarding. Calling-party numbers that do
not match the patterns defined with this command are
Example:
Router(config-telephony)# call-forward pattern
forwarded using Cisco-proprietary call forwarding for
4... backward compatibility.
• pattern—Digits to match for call forwarding using the
H.450.3 standard or SIP 302 redirection method. A
pattern of .T matches all calling-party numbers.
Note When defining forwards to nonlocal numbers, it is
important to note that pattern-digit matching is
performed before translation-rule operations.
Therefore, you should specify in this command the
digits actually entered by phone users before they
are translated. For more information, see the
“Voice Translation Rules and Profiles” section on
page 120.
Step 5 calling-number local (Optional) Replaces a calling-party number and name with
the forwarding-party (local) number and name.
Example:
Router(config-telephony)# calling-number local
Step 6 transfer-system {full-blind | full-consult} Defines the call transfer method for all lines served by the
router.
Example: Note For SIP networks, use only the full-blind keyword
Router(config-telephony)# transfer-system or the full-consult keyword. For more information,
full-consult see the Cisco IOS SIP Configuration Guide.
Example:
Router(config-telephony)# exit
Step 9 dial-peer voice tag voip Enters dial-peer configuration mode.
Example:
Router(config)# dial-peer voice 2 voip
Step 10 dtmf-relay rtp-nte Forwards DTMF tones by using Real-Time Transport
Protocol (RTP) with the Named Telephone Event (NTE)
payload type. This enables DTMF relay using the
Example:
Router(config-dial-peer)# dtmf-relay rtp-nte
RFC 2833 standard method.
Step 11 dtmf-relay sip-notify Forwards DTMF tones using SIP NOTIFY messages.
Example:
Router(config-dial-peer)# dtmf-relay sip-notify
Step 12 exit Exits dial-peer configuration mode.
Example:
Router(config-dial-peer)# exit
Step 13 sip-ua Enters SIP user-agent configuration mode.
Example:
Router(config)# sip-ua
Step 14 notify telephone-event max-duration time Configures the maximum time interval allowed between
two consecutive NOTIFY messages for a single DTMF
event.
Example:
Router(config-sip-ua)# notify telephone-event • max-duration time—Time interval between
max-duration 2000 consecutive NOTIFY messages for a single DTMF
event, in milliseconds. Range is 500 to 3000. Default
is 2000.
Example:
Router(config-sip-ua)# end
Examples
This section contains the following examples:
• Call Forwarding over SIP Networks: Example, page 283
• Call Transfer over SIP Networks: Example, page 284
• DTMF Relay using RFC 2833: Example, page 284
• DTMF Relay using SIP Notify: Example, page 284
• SIP Register Support: Example, page 284
sip-ua
notify telephone-event max-duration 2000
sip-ua
notify telephone-event max-duration 2000
Step 1 The show sip-ua status command output displays the time interval between consecutive NOTIFY
messages for a telephone event. In the following example, the time interval is 2000 ms.
Router# show sip-ua status
Step 2 Use the show sip-ua timers command to show the waiting time before Register requests are sent; that
is, the value that has been set with the timers register command.
Step 3 Use the show sip-ua register status command to show the status of local E.164 registrations.
Step 4 Use the show sip-ua statistics command to show the Register messages that have been sent.
Related Features
Call Forwarding and Call Transfer on a SIP Network
After using call forwarding commands for Cisco Unified CME, you need to configure SIP call
forwarding and transfer, which are described in the “Configuring SIP Call Transfer” chapter of the
Cisco IOS SIP Configuration Guide.