Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
User calls at certain hours.
Author Message
ergocho
Brekeke Newbie


Joined: 20 May 2009
Posts: 1

PostPosted: Wed May 20, 2009 4:46 pm    Post subject: User calls at certain hours. Reply with quote

1. Brekeke Product Name and version: 2.3.6.0 Academic

2. Java version: 1.6

3. OS type and the version: Windows XP Pro. SP3

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

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

6. Your problem:

Hi. im trying to use SIP for an comunitary radio in my university, i configure it with some users and with x-lite can make calls. The idea its to give to that users restrains to only can call to X at "x to x hour"

Example:
555 only can call 566 monday and friday from 07:00am to 9:00am

Thats to take control of the "live programs" in the radio. I have been reading the docs of dial plans but i dont see anything like that.
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Thu May 21, 2009 5:39 pm    Post subject: Reply with quote

dialplan 1

Matching Patterns
$request = ^INVITE
$time = ^1[0-9]:
$date("EEE") = Mon|Fri

Deploy Patterns
To = sip:566@


dialplan2 return busy to the call at other time

Matching Patterns
$request = ^INVITE

Deploy Patterns
$action = 486
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