I have gathered in this article configuration examples of how to modify call properties on the Cisco Callmanager Express.
Clid Network-number Command
The clid network-number modifies the Caller ID number that is sent on the network. To try it, we first make a call from x5002 to x4002:
Then, in the outbound matched dial peer, we add clid network-number instruction:
We verify with “show dialplan number 4002”
or with “show run | s dial-peer voice 4000”
or with “show dial-peer voice 4000”
And we dial once again:
Notice that the calling party number is presented to the called party as 3025555002 instead of 5002.
Clid restrict command
“Clid restrict” command on the Callmanager Express restricts the appearance of the calling number in the outbound dial peer:
I applied “clid restrict” to the outbound dial peer. To test it, I made a call from x5002 to x4002. Notice that the caller ID is “private” on the called party phone:
To verify that “clid restrict” has been applied, do “show dialplan number”:
Clid strip command
We remove the previous “Clid restrict” and set “clid strip”.
We verify it with “show dialplan number”:
We dial. Only the caller name is displayed on the PSTN phone
By the way: in general, to verify which Caller ID restriction will be applied when dialing a given number, we use the following command:
show dialplan number
Clid strip name command
This command strips only the line name.
Let us see the line name on Mongi phone, with “show ephone-dn 1” (because it is a softphone registered to the CUCME)
The normal appearance is as follows:
Under the same outbound dial peer, we configure clid strip name
And we dial again. The caller ID name is stripped:
Clid strip and clid strip name, together
The impact of clid strip and clid strip name under the same outbound dial peer gives the following output:
Clid commands: personal thoughts
In their CVOICE Quick Reference Sheets, Sauer and Wallace mention that Clid command are used to present -or to hide- Caller ID information in Q.931 messages, in ISDN networks. As you can see in my experiments, the effect of Clid commands works well on an Ethernet network.
The dialplan-pattern command works for both inbound call legs and outbound call legs on the Cisco Callmanager Express.
This command is useful when:
- we have a direct mapping between DID numbers and internal phone DNs
- the last digits of each DID number equals to the phone DN. For example: DID 5126935002 -> internal phone x5002.
The dialplan-pattern command is available only for SCCP IP phones registered to a CUCME router. For inbound call legs, the command allows to translate a called DID number into a shorter number that matches the ephone-dn.
For outbound call legs, the same command translates the short calling number -which is the internal company number- to a full DID number.
Here is the lab setting in which we are going to test it:
First, we remove all the voice translation rules and voice translation patterns.
Then the configuration of the dialplan-pattern command is done at the Telephony-service level
The dialplan-pattern command generates a POTS dial peer for each internal 4-digit extension.
You can’t see the configuration of these auto-generated dial peers.
Effect on inbound call legs
A call from PSTN to 5126935002 is matched at Mongi router to an inbound dial peer, then the auto-generated dial peer is selected as the outbound matched dial peer.
Effect on outbound call legs
Let’s call from an internal extension x5001 to the local PSTN number 512477551. The calling number got translated from x5001 to 5126935001: