cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2206
Views
15
Helpful
4
Replies

Block specific incoming calls on H.323 gateway

master001
Level 2
Level 2

Hi all,

I tried to block some specific incoming calls (based on calling party number) on H.323 gateway.

Currently 2 dial peers on the H.323 gateway:   dial-peer voice 10 pots & dial-peer voice 80 voip,

dial-peer 10 is translating incoming calls to 5 digit extension number,

dial-peer 80 is forwarding the calls to CUCM. 

 

What is the best practice configuration to block some specific incoming calls (based on calling party number)  on the gateway?

Blocking on dial-peer 10? or 80? Thank you.

 

dial-peer voice 10 pots
 description DIDs 1234
 translation-profile incoming DID_incoming_1234
 incoming called-number [245689]....
 direct-inward-dial
!
dial-peer voice 80 voip   
 destination-pattern 4....$
 modem passthrough nse codec g711ulaw
 session target ipv4:X.X.X.X  ! CUCM ip address
 incoming called-number .
 voice-class codec 1
 dtmf-relay h245-alphanumeric
 ip qos dscp cs3 signaling
 no vad
!

 

Master001

 

4 Replies 4

Chris Deren
Hall of Fame
Hall of Fame

You can use reject translation rules on the GW:

http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/64020-number-voice-translation-profiles.html

 

Hi,

 

Create a translation rule to match the calling number and to reject the call. Assign the translation profile to the incoming dialpeer (dialpeer 10)

voice translation-rule 200
 rule 1 reject /123456/
 !
voice translation-profile REJECT-CALLS
 translate calling 200

Thank you all.   I applied the new translation rule to dial peer 10, and it works as expected. 

 

If I want to block a specific incoming fax on this same H323 gateway,  any configuration to be added?

Thanks again.

 

Master001
 

Nadeem Ahmed
Cisco Employee
Cisco Employee

it always recommended to apply rule at the beginning, you can apply the same calls hitting on first dial-peer its hitting .

 

Reject Calls

Use the reject keyword to reject calls that match. This example rejects all calls that start with "234".

rule 1 reject /^234/
You can test the same and verify it.

router#test voice translation-rule 10 1234
1234 Didn't match with any of rules

router#test voice translation-rule 10 2345
 blocked on rule 1
Br, Nadeem Please rate all useful post.