Manipulating Caller ID On CUCME

Published by Keyboard Banger on

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:clid-network-number-2016-03-29 04_02_43

Then, in the outbound matched dial peer, we add clid network-number instruction:

clid-network-number-2016-03-29 04_04_03

We verify with “show dialplan number 4002”

clid-network-number-2016-03-29 04_05_35

or with “show run | s dial-peer voice 4000”

clid-network-number-2016-06-07 16_30_20

or with “show dial-peer voice 4000”

clid-network-number-2016-06-07 16_30_28

And we dial once again:

clid-network-number-2016-03-29 04_06_13

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:

clid-restrict-2016-03-29 04_08_46

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:

clid-restrict-2016-03-29 04_10_08

To verify that “clid restrict” has been applied, do “show dialplan number”:

clid-restrict--2016-03-29 04_19_28

Clid strip command

We remove the previous “Clid restrict” and set “clid strip”.

clid-strip--2016-03-29 04_16_14

We verify it with “show dialplan number”:

clid-strip--2016-03-29 04_16_54

We dial. Only the caller name is displayed on the PSTN phone

clid-strip--2016-03-29 04_17_24

[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)

clid-network-number-2016-06-07 16_31_34

The normal appearance is as follows:

clid-network-number-2016-06-07 16_35_44

Under the same outbound dial peer, we configure clid strip name

clid-network-number-2016-06-07 16_34_57

And we dial again. The caller ID name is stripped:

clid-network-number-2016-06-07 16_36_26

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-network-number-2016-06-07 16_41_01

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.

Categories: CCNP Collaboration

Keyboard Banger

Keyboard Banger is a network engineer from Africa. He has been working in network support and administration since 2008. He started writing study notes about certification exams and technology topics a couple of years ago. When he's not writing articles, he can be found wandering on technical forums.

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *