Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Please Help for a Dialplan
Author Message
looping92
Brekeke Newbie


Joined: 18 May 2008
Posts: 2

PostPosted: Sun May 18, 2008 11:02 am    Post subject: Please Help for a Dialplan Reply with quote

Hi,

1. Brekeke Product Name and version:

Brekeke v.2.1

3. OS type and the version:

Windows XP

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

Sjphone

6. Your problem:

I want to make a Dialplan with this specifications :

1) Any call to the director (ext : 111) must be redirected to 222.
2) But every friday afternoon 222 is away.
3) Then this call must be redirected to 333.

I make the first one :

$request = ^INVITE ____________To = sip:222@192.168.192.1
To = sip:111@

But I don't know how to make number 2, 3.

Thanks
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon May 19, 2008 9:46 am    Post subject: Reply with quote

maybe you want to try Brekeke PBX to get the result in an easier way by schedule forwarding destination.

Or try the following Dialplan

Matching Patterns
$request = ^INVITE
$date("EEE aaa") = Fri PM
Deploy Patterns
To = sip:333@


Last edited by hope on Mon May 19, 2008 11:16 am; edited 1 time in total
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 494

PostPosted: Mon May 19, 2008 10:36 am    Post subject: Reply with quote

Also, SIP Server's DialPlan can do it.

Check "$date" variable in the reference.
Back to top
View user's profile
looping92
Brekeke Newbie


Joined: 18 May 2008
Posts: 2

PostPosted: Wed May 21, 2008 7:52 am    Post subject: Reply with quote

Thank you for your reply.

Bye
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Wed May 21, 2008 10:35 am    Post subject: Reply with quote

Add the following in your matching Pattern.

$date( "EEE aa" ) = "Fri PM"

It means " friday afternoon".
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