Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
$time format
Author Message
noiptel
Brekeke Talented


Joined: 22 Feb 2010
Posts: 68
Location: USA

PostPosted: Sun Jan 16, 2011 4:03 pm    Post subject: $time format Reply with quote

1. Brekeke Product Name and version:

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/networkpatterns.html :

6. Your problem:
We want to allow calls from 7PM to 1AM(next day). Please provide changes to below $time condition?

$time = ^0[0-7]:

Thanks
Back to top
View user's profile
Haddas
Brekeke Guru


Joined: 17 Jan 2008
Posts: 170

PostPosted: Tue Jan 18, 2011 1:13 pm    Post subject: Reply with quote

$time = ^19|^2.|^01
Back to top
View user's profile
noiptel
Brekeke Talented


Joined: 22 Feb 2010
Posts: 68
Location: USA

PostPosted: Wed Jan 19, 2011 9:10 am    Post subject: Reply with quote

Thank you for your response, I see the idea now, but does that rule covers the time range from Midnight to 1:00 (00:00 to 00:59) ?
Back to top
View user's profile
Haddas
Brekeke Guru


Joined: 17 Jan 2008
Posts: 170

PostPosted: Wed Jan 19, 2011 12:14 pm    Post subject: Reply with quote

Wow.. you are right.

Try this.
$time = ^19|^2.|^00


It covers 19:00-00:59
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1