====== Expansion to E.164 ====== The dialplan-pattern command have two functions * For inbound call, creates a second dial peer with the full E.164 number to match the same ephone * For outbound call, convert the calling ephone extension into full E.164 numbers This command can be problematic and can cause problems when integrating with CUE as described below * When pressing the message button, CUE is presented with the Full E.164 number instead of the phone extension causing CUE not to recognize the calling party and prompt for the ID. * When call forwarding to voicemail extension and the voicemail extension is in the same range as the dialplan-pattern, the forwarded voicemail pilot number will be expanded to the full E.164 number and result in a reorder tone. Even though calling the voicemail pilot extension directly or through the message button works. * The original dial peer with the pilot extension to not match * The CUE does not know about the expanded number The last problem is actually a known bug with Cisco bug ID CSCee57422 ===== DialPlan Pattern ===== * Outbound call from CCME * Calling number expanded from any 4 digits extension will be prepended with 2095559 * E.g. extension **1234** will be expanded to 2095559**1234** * Inbound call into CCME * Called number trimmed down to 4 digits extension before matching the internal extension. * E.g. incoming called number 2095559**5554** will be trimmed down to extension **5554** telephony-service dialplan-pattern 1 2095559.... extension-length 4 voice register global dialplan-pattern 1 2095559.... extension-length 4 * The extension-pattern allow us to modify certain digits in the extension. * Outbound call from CCME * The leading digits in the extension-pattern **50** will be stripped and * Calling number prepended with 2095559**44** * E.g. extension **50**12 will be expanded to 2095559**44**12 * Inbound call into CCME * Called number trimmed down to 4 digits extension with the leading digits replaced by the extension-pattern leading digits * E.g. incoming called number 2095559**44**29 will be trimmed down to extension **50**29 telephony-service dialplan-pattern 1 209555944.. extension-length 4 extension-pattern 50.. voice register global dialplan-pattern 1 209555944.. extension-length 4 extension-pattern 50.. ===== Secondary Number ===== * Apply the E.164 expansion as a secondary number to the DN * Only works for SCCP not SIP * Outbound call * Has no effect * Inbound call * Called number will match either the extension or the secondary E.164 number ephone-dn 1 number 1234 secondary 83351234