Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

call-block translation-profile incoming character a-z

 

 

Dear All,

I tried to block call from Calling number with any character but it seem not work. Below is my rule:

Please advice how can i block incoming call with a-z character.

 

dial-peer voice 1221 voip
 description Inbound Sip
 translation-profile incoming 122
 call-block translation-profile incoming blkcharacter
 call-block disconnect-cause incoming user-busy
 voice-class codec 711
 session protocol sipv2
 incoming called-number 122

 

call-block translation-profile incoming blkcharacter

 translate calling 1221

 

voice translation-rule 1221
 rule 1 reject /#/

 

Test result:

#test voice translation-rule 1221 125

125 blocked on rule 1

#test voice translation-rule 1221 abc

abc blocked on rule 1

 

 

 

 

 

Regards,

Daneth

 

 

554
Views
0
Helpful
0
Replies
CreatePlease to create content