Author |
Message |
sympology Brekeke Addict
Joined: 18 Feb 2010 Posts: 30
Location: UK
|
Posted: Thu Jan 24, 2013 4:01 am Post subject: Time & date queury |
|
|
1. Brekeke Product Name and Version:
SIP Server Advanced edition 3.x
2. Java version:
TBA
3. OS type and the version:
Win2008 R2
4. UA (phone), gateway or other hardware/software involved:
N/A
5. Your problem:
How do I do "uneven" times. The dial plan give a simple 8am - 6pm sort of scenario, but how do I do
Something like 8:30 to 6pm and 9am to 5:30 pm?
Also if the server is set to UK format, DD/MM/YYYY does the date still have to be in US format i.e. MM/DD/YYYY ?
Thanks. |
|
Back to top |
|
sympology Brekeke Addict
Joined: 18 Feb 2010 Posts: 30
Location: UK
|
Posted: Thu Jan 24, 2013 4:07 am Post subject: Re: Time & date queury |
|
|
Ok found this in the Wiki
"Example - 1:
Matching Patterns | $request = ^INVITE $timerange("9:00", "17:00") = true
|
When the incoming call is between 9:00am and 5:00pm, the call will apply this rule."
So ignore this post.
Teach me to read the manual for V2, which we are currently on (but moving to V3 in the next month). |
|
Back to top |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Thu Jan 24, 2013 10:38 am Post subject: |
|
|
> Also if the server is set to UK format, DD/MM/YYYY does the date still have to be in US format i.e. MM/DD/YYYY ?
FYI:
$date( "dd/MM/yyyy" )
It will return a date with UK format. |
|
Back to top |
|
|