[asterisk-users] By week extension dialing
Dan Brummer
dan.brummer at vegas.com
Mon Aug 7 13:00:59 MST 2006
Thanks Alexander, I got it working.
-Dan
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alexander
Lopez
Sent: Monday, August 07, 2006 11:56 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] By week extension dialing
NO AstDB is already there and it does not require Realtime.
You would use the DB functions in the DIalplan to manage the entries.
ONE NOTE in my previous email I used the wrong syntax, its 'database
put' NOT database add'
You can do a database <TAB> ftom the CLI for exact syntax.
As for the Dialplan functions you can look these up via
"Show function DB" also from the CLI.
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Dan
Brummer
Sent: Monday, August 07, 2006 2:22 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] By week extension dialing
Alexander, thank you for the reply. Do you have more information on
AstDB? Would this require me to switch to something like RealTime in my
extensions.conf or would I be able to use this in my current dial-plan?
-Dan
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alexander
Lopez
Sent: Monday, August 07, 2006 11:15 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] By week extension dialing
I would use a cron job to set the number in the AstDB such as
Asterisk -rx "database add weeklynumber 3055551212" every Sunday PM,
Monday AM or whatever works for you
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Dan
Brummer
Sent: Monday, August 07, 2006 12:15 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] By week extension dialing
Hello,
I have been given the task of setting up an extension in asterisk that
would dial an outside number based on the week. For example:
Week 1 - Dial extension #1
Week 2 - Dial extension #2
Week 3 - Dial extension #1
Week 4 - Dial extension #2
etc...
I found the function GotoIfTime but I'm not sure how to apply it to
weekly (instead of mapping out the actual days, 1-7, 8-15, etc).
Any ideas?
Thank you,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060807/ed17ab42/attachment.htm
More information about the asterisk-users
mailing list