2014年2月27日星期四

B-ACD with Non CME 2900 series H232 Gateway

I got a request to block non-notice (calls with blank calling numbers) calls with voice prompt. The calls are comming Cisco 2921 price   from BRI configured in a 2921 H323 gateway.

For this I am thinking of putting BACD application with a welcome prompt for the caller and drop through after that to a random number to end the call. This is only the requirtement and not planing to use the ACD feature of the script.

Can I do this with a h232 gateway 2921 that is not CME (only CME-SRST)? is there any other better way to do this. In normal mode calls are going to CUCM 6.1 using voip dialpeers. Callmanager related configurations are not shown here.

Configuration:

------------------------------------------------------------------------------------------------------------ Identifying blank calls

voice translation-rule 1
rule 1  / /  /100/

voice translation-profile PSTN_Calls
translate calling 1

dial-peer voice 1 pots
translation-profile incoming PSTN_Calls
incoming called-number .
direct-inward-dial
port 0/1/1

-------------------------------------------------------------------------------------------------------------------- Call application Configuration

dial-peer voice 2 voip
service aa
session target ipv4: <srst-cme ip>
incoming called-number 100$
dtmf-relay h245-alphanumeric
codec g711ulaw

application
service queue flash:app-b-acd-2.1.0.0.tcl
param aa-hunt 200

service aa flash:app-b-acd-a-2.1.0.0.tcl
  paramspace english index 1
  paramspace english language en
  paramspace english location flash:
  param service-name queue
  param handoff-string aa
  param aa-pilot 100
  param welcome-prompt custome_welcome.au
  param drop-through-prompt custome_welcome.au

--------------------------------------------------------------------------------------------------- To block call to 200 afer the prompt

voice translation-rule 2
rule 1  reject /200/

voice translation- profile UNKNOWN_BLOCK
translate called 2

dial-peer voice 2 voip
translation- profile outgoing BLOCK
session target ipv4: <srst-cme ip>
incoming called-number 200$
-------------------------------------------------------------------------------------------------- Telephony service for SRST and Transcoding in CME mode

telephoney service
srst mode auto-provision all
ip source address <loopback>
max-dn 2
max-ephone 2

Though you could do it with BACD & a drop through, I wouldn't do it like that.  A cleaner solution is to throw the call to your AA (Unity, CUE, IPCC).

voice translation-rule 1
rule 1 /.*/ /8675309/

voice translation-profile block
translate called 1

dial-peer voice 1 pots
answer-address ^$
translation-profile incoming block
direct-inward-dial
port 0/0/0:23

dial-peer voice 2 voip
destination-pattern 8675309
Add other h323 peer stuff here....

What this does is match peer 1 inbound for any inbound POTS call that doesn't contain an ANI.  It then takes that call and translates the DNIS to a special pattern, and sends it to CUCM.  Then configure CUCM/Unity/whatever to router 8675309 to an AA that say 'Hey your call is being blocked because you aren't presenting CLID  Cisco 2951 price   ' and hang up.

没有评论:

发表评论