Please Help for a Dialplan

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
looping92
Posts: 2
Joined: Sun May 18, 2008 10:44 am

Please Help for a Dialplan

Post by looping92 »

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
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

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.
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

Also, SIP Server's DialPlan can do it.

Check "$date" variable in the reference.
looping92
Posts: 2
Joined: Sun May 18, 2008 10:44 am

Post by looping92 »

Thank you for your reply.

Bye
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

Add the following in your matching Pattern.

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

It means " friday afternoon".
Post Reply