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/33e72515/attachment.htm
Dan, Try a cron job to place a call file into /var/spool/asterisk/outgoing (I think, sorry, don't have access to that machine right now). I do a similar thing with wakeup calls - a cron job puts a call file into the above dir that rings my phone each weekday morning. There's no reason you couldn't have a cron job put unique call files based on what week it is to call a specific number. ---SNIP--->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---SNIP--- Sincerely, Brent A. Torrenga Torrenga Engineering, Inc. 907 Ridge Road Munster, Indiana 46321-1771 tel:+1 219 836 8918 x325 fax:+1 219 836 1138 email:brent.torrenga@torrenga.com web:www.torrenga.com
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@lists.digium.com [mailto:asterisk-users-bounces@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/e0f471e1/attachment.htm
Brent, thank you for the reply. I think I asked my question incorrectly. I'm looking to setup a single extension that changes the number it goes to each week. If this extension was called on week 1, it would go to number 1, if called on week 2 then dial number 2, week 3 dial number 1 and so forth. So for any miscommunications. Thank you, Dan -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Brent Torrenga Sent: Monday, August 07, 2006 10:07 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] RE: By week extension dialing Dan, Try a cron job to place a call file into /var/spool/asterisk/outgoing (I think, sorry, don't have access to that machine right now). I do a similar thing with wakeup calls - a cron job puts a call file into the above dir that rings my phone each weekday morning. There's no reason you couldn't have a cron job put unique call files based on what week it is to call a specific number. ---SNIP--->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---SNIP--- Sincerely, Brent A. Torrenga Torrenga Engineering, Inc. 907 Ridge Road Munster, Indiana 46321-1771 tel:+1 219 836 8918 x325 fax:+1 219 836 1138 email:brent.torrenga@torrenga.com web:www.torrenga.com _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
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@lists.digium.com [mailto:asterisk-users-bounces@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@lists.digium.com [mailto:asterisk-users-bounces@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/2a9ec349/attachment.htm
Manrique Feoli
2006-Aug-07 11:25 UTC
[asterisk-users] Meetme chat room with many users, and only 4 can talk, is there a max amount of users?
Hi I need to setup a meetme room where you could accept say 120 incoming calls to listen to the chat, BUT, only the first 4 can talk, so when one of the first 4 leaves the room, number 5 becomes 4 and is able to talk on the room. Is this doable with meetme?? (am I making any sense?) Is this a reasonable amount of calls to handle with meetme???
Using the asterisk database and a crontab will get what I want done. Thank you all for your replies. -Dan -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Steven Sent: Monday, August 07, 2006 11:21 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Re: By week extension dialing My take was that this is not for automated calls, but that extension "y" should forward to a deferent number each week. I assume an on call scenario. Our workaround for this was to keep our old apha-pager and manually hand this from tech to tech. This makes exceptions due to time off, etc. easier to manage as well. -- -- Steven http://www.glimasoutheast.org "Brent Torrenga" <lists@torrenga.com> wrote in message news:006401c6ba43$df81aab0$7200a8c0@oscar...> Dan, > > Try a cron job to place a call file into /var/spool/asterisk/outgoing > (I think, sorry, don't have access to that machine right now). > > I do a similar thing with wakeup calls - a cron job puts a call file > into the above dir that rings my phone each weekday morning. There's > no reason you couldn't have a cron job put unique call files based on > what week it is to call a specific number. > > > ---SNIP--- >>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 > ---SNIP--- > > Sincerely, > > Brent A. Torrenga > > Torrenga Engineering, Inc. > 907 Ridge Road > Munster, Indiana 46321-1771 > > tel:+1 219 836 8918 x325 > fax:+1 219 836 1138 > email:brent.torrenga@torrenga.com > web:www.torrenga.com > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Thanks Alexander, I got it working. -Dan _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@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@lists.digium.com [mailto:asterisk-users-bounces@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@lists.digium.com [mailto:asterisk-users-bounces@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@lists.digium.com [mailto:asterisk-users-bounces@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