Specifications
5-48
Cisco IOS Telephony Service, Version 2.02
Chapter 5 Command Reference
dialplan-pattern (telephony-service)
dialplan-pattern is also required to register the Cisco IP phone lines with a gatekeeper. The
dialplan-pattern command can resolve an incoming call with a full E.164 number to a Cisco IP phone
extension number.
The extension-length keyword enables the system to convert a full E.164 telephone number back to an
extension number for the purposes of caller-ID display, received, and missed call lists. For example, a
company uses the extension number range 5000-5099 across several sites, with only the extensions
5000-5009 present on the local router. An incoming call from 5044 arrives from the company's internal
VoIP H.323 network and this call includes the calling number as 4083335044 in its full E.164 format.
The no-reg keyword provides dialing flexibility. You have the option not to register some specific
numbers to the gatekeeper so that those numbers can be used for other telephony services.
When the called number matches the dial-plan pattern, the call is considered a local call and has a
distinctive ringing identifying the call as internal. Any call that does not match the dial-plan pattern, is
considered an external call and has a distinctive ringing different from the internal ringing. The valid
dial-plan pattern with the lowest tag is used as a prefix to all local Cisco IP phones.
Examples The following example shows how to create dialplan-pattern 1 for extension numbers 5001 to 5099 with
the telephone prefix starting with 408555. If the following example is set, the routers sees that the
4085555044 matches dialplan-pattern 1, and uses the extension-length keyword to extract the last four
digits of the number 5044 and present this as the caller ID for the incoming call.
Router(config)# telephony-service
Router(config-telephony-service)# dialplan-pattern 1 40833350.. extension-length 4 no-reg
Related Commands Command Description
ephone Enters ephone configuration mode to register Cisco IP phones.
ephone-dn Enters ephone-dn configuration mode and configures the directory numbers
for the Cisco IP phone lines.
telephony-service Enables Cisco IOS Telephony Service and enters telephony-service
configuration mode.