cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
968
Views
0
Helpful
0
Replies

call-block translation-profile incoming character a-z

daneth.mean
Level 1
Level 1

 

 

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

 

 

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: