Rejecting session based on "day of week"

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
noiptel
Posts: 68
Joined: Mon Feb 22, 2010 9:24 pm
Location: USA

Rejecting session based on "day of week"

Post by noiptel »

1. Brekeke Product Name and version:Advance

2. Java version:

3. OS type and the version:

4. UA (phone), gateway or other hardware/software involved:

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :

6. Your problem: How can I reject session based on the "day of the week"? For instance, I want to reject sessions on Monday's, Wednesday's and Saturday's for some of our Customers from 6PM to 11PM. Please propose dial plan.

Thanking you in advance.
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

maybe
$date( "EEE" ) =^Mon|^Wed|^Sat
$time = ^1[8-9]:|^2[0-3]:
Post Reply