User Tools

Site Tools


eduardo:cisco:ccme:ccme-e164

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

<note warning>This command can be problematic and can cause problems when integrating with CUE as described below</note>

  • 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

<note>The last problem is actually a known bug with Cisco bug ID CSCee57422 </note>

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 20955591234
  • Inbound call into CCME
    • Called number trimmed down to 4 digits extension before matching the internal extension.
    • E.g. incoming called number 20955595554 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 209555944
    • E.g. extension 5012 will be expanded to 20955594412
  • 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 20955594429 will be trimmed down to extension 5029
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
eduardo/cisco/ccme/ccme-e164.txt · Last modified: 2024/02/23 08:20 by 127.0.0.1