Tuesday, 18 February 2014

Blocking calls based on time and pattern

In CME we can provision it do the call routing based on time and the pattern.
These kind of scenario came when you want to block some special pattern on out of office hour or permanently.

First you need to define out of office hour schedule and then need to define the out of office hour pattern and apply those pattern to either ephone-dn,globally in telephony-service.

The limit is 100 block pattern .

The command to configure this is "after-hours block pattern pattern-tag pattern".
This command is used to configure the pattern 1800XXXX for after hour blocking "after-hours block pattern 3 1800.... "

You can define the after hour time under the telephony-service command using the command .

"after-hours day day start-time stop-time "

"after-hours date month date start-time stop-time "

You can also define few ephone or ephone-dn an override from the after hour period so that they can dial pattern during after hour

The config would look like this  :

telephony-service
 after-hours block pattern 1 91
 after-hours block pattern 2 9011

 after-hours block pattern 3 91900 7-24
 after-hours day mon 19:00 07:00
 after-hours day tue 19:00 07:00
 after-hours day wed 19:00 07:00
 after-hours day thu 19:00 07:00
 after-hours day fri 19:00 07:00
 after-hours day sat 13:00 12:00
 after-hours day sun 12:00 07:00
!
ephone 23
 mac 00e0.8646.9242
 button 1:33
 after-hour exempt  // This will exempt  the ephone from the after-hour  config so that they can  dial during the after hour 
!
ephone 24
 mac 2234.1543.6352
 button 1:34


No comments:

Post a Comment