Manipulating Caller ID On CUCME
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 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
[box type=”note” align=”aligncenter” ]By the way: in general, to verify which Caller ID restriction will be applied when dialing a given number, we use “show dialplan number” command. [/box]
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.