[Asterisk-bsd] Need Advice/Suggestion

Tim St. Pierre tim at communicatefreely.net
Tue Jul 3 08:35:13 CDT 2007


You could use a database variable.

Make an extension that sets your variable to DAY or NIGHT
DBput is the application that does that

In your dialplan, use DBget to retrieve the variable from the database, and 
use that to make a decision on how to route the call.

There are a few options you could use:

The variable could be the time of day that night begins (lets him set it to 
activate later)

The variable could be the extension in a custom context to go to (build a 
mini-ivr that sets the variable to a number of choices, ie. IVR, cell, 
voicemail, IVR then cell, etc.)

Good Luck.

-Tim

On Tuesday 03 July 2007 03:00, Farooq Ahmed wrote:
> Hi all,
> As we know we can configure in astersik like before 5:00pm calls go to
> reception and after 5:00 pm calls go to some mobile no. One of my client
> requested that he wants to manually shift the dial plan  like above as he
> has flexiable timing sometime he finishes at 3:00pm some time 8pm. I can
> not give him freepbx  access.
> Any idea or solution.
> Regards
> Farooq

-- 
Tim St. Pierre

IP telephony specialist
sip://5101@communicatefreely.net
Toronto: 647 722 6930
Toll-Free 1 888 488 6940
tim at communicatefreely.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-bsd/attachments/20070703/ccdf7273/attachment-0001.pgp 


More information about the Asterisk-BSD mailing list