Monday, May 27, 2013

Blocking one calling to one called

!
voice translation-rule 1001
 rule 1 reject /17771238001/
!
voice translation-profile 1001
 translate calling 1001
!
!incoming dial-peer 4 all
dial-peer voice 1 pots
 incoming called-number .
 direct-inward-dial
!
!incoming dial-peer special
dial-peer voice 1001 pots
 call-block translation-profile incoming 1001
 incoming called-number 0012021111001
 direct-inward-dial
!
!outgoing dialpeer to CUCM
dial-peer voice 9000 voip
 destination-pattern 0012021111...
 session target ipv4:192.168.210.11
 no vad

No comments:

Post a Comment