View previous topic :: View next topic |
Author |
Message |
lttong at socal.rr.com Guest
|
Posted: Wed Mar 19, 2008 6:34 am Post subject: [asterisk-users] Limit calls when using autodial |
|
|
Is there a way to limit outbound calls when feeding files to the outgoing directory in asterisk? I several thousand files i need to feed asterisk, hoping to copy it to the outgoing directory all at 1 time. |
|
Back to top |
|
|
lttong at socal.rr.com Guest
|
Posted: Wed Mar 19, 2008 6:35 am Post subject: [asterisk-users] Limit calls when using autodial |
|
|
Is there a way to limit outbound calls when feeding files to the outgoing directory in asterisk? I several thousand files i need to feed asterisk, hoping to copy it to the outgoing directory all at 1 time. |
|
Back to top |
|
|
fernando.berretta at g... Guest
|
|
Back to top |
|
|
support at drdos.info Guest
|
Posted: Wed Mar 19, 2008 7:15 am Post subject: [asterisk-users] Limit calls when using autodial |
|
|
Tong wrote:
Quote: | Is there a way to limit outbound calls when feeding files to the outgoing directory in asterisk? I several thousand files i need to feed asterisk, hoping to copy it to the outgoing directory all at 1 time.
|
Yes,
Create them with a future time and date and they will only be acted upon
when the proper time comes.
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." |
|
Back to top |
|
|
lttong at socal.rr.com Guest
|
Posted: Wed Mar 19, 2008 7:49 am Post subject: [asterisk-users] Limit calls when using autodial |
|
|
That might work.
I'll give that a shot.
---- Doug Lytle <support at drdos.info> wrote:
Quote: | Tong wrote:
Quote: | Is there a way to limit outbound calls when feeding files to the outgoing directory in asterisk? I several thousand files i need to feed asterisk, hoping to copy it to the outgoing directory all at 1 time.
|
Yes,
Create them with a future time and date and they will only be acted upon
when the proper time comes.
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
|
Back to top |
|
|
lttong at socal.rr.com Guest
|
Posted: Wed Mar 19, 2008 9:19 am Post subject: [asterisk-users] Limit calls when using autodial |
|
|
what's a good way to apply a future date to thousands of files?
---- Doug Lytle <support at drdos.info> wrote:
Quote: | Tong wrote:
Quote: | Is there a way to limit outbound calls when feeding files to the outgoing directory in asterisk? I several thousand files i need to feed asterisk, hoping to copy it to the outgoing directory all at 1 time.
|
Yes,
Create them with a future time and date and they will only be acted upon
when the proper time comes.
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
|
Back to top |
|
|
lttong at socal.rr.com Guest
|
Posted: Wed Mar 19, 2008 9:19 am Post subject: [asterisk-users] Limit calls when using autodial |
|
|
what's a good way to apply a future date to thousands of files?
---- Doug Lytle <support at drdos.info> wrote:
Quote: | Tong wrote:
Quote: | Is there a way to limit outbound calls when feeding files to the outgoing directory in asterisk? I several thousand files i need to feed asterisk, hoping to copy it to the outgoing directory all at 1 time.
|
Yes,
Create them with a future time and date and they will only be acted upon
when the proper time comes.
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
|
Back to top |
|
|
lttong at socal.rr.com Guest
|
Posted: Wed Mar 19, 2008 9:19 am Post subject: [asterisk-users] Limit calls when using autodial |
|
|
what's a good way to apply a future date to thousands of files?
---- Doug Lytle <support at drdos.info> wrote:
Quote: | Tong wrote:
Quote: | Is there a way to limit outbound calls when feeding files to the outgoing directory in asterisk? I several thousand files i need to feed asterisk, hoping to copy it to the outgoing directory all at 1 time.
|
Yes,
Create them with a future time and date and they will only be acted upon
when the proper time comes.
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
|
Back to top |
|
|
tilghman at mail.jeffa... Guest
|
Posted: Wed Mar 19, 2008 9:27 am Post subject: [asterisk-users] Limit calls when using autodial |
|
|
On Wednesday 19 March 2008 07:15:34 Doug Lytle wrote:
Quote: | Tong wrote:
Quote: | Is there a way to limit outbound calls when feeding files to the outgoing
directory in asterisk? I several thousand files i need to feed asterisk,
hoping to copy it to the outgoing directory all at 1 time.
|
Create them with a future time and date and they will only be acted upon
when the proper time comes.
|
And generally, you need to create them on the same filesystem, because
the method used for reading files out of that directory is especially
aggressive. If you copy cross-filesystems, the date/time is the last thing
copied, which could happen too late. Generally, it's a good idea to create
files in /var/tmp, then move them to the /var/spool/asterisk/outgoing
directory, since the move occurs in a single step.
--
Tilghman |
|
Back to top |
|
|
support at drdos.info Guest
|
Posted: Wed Mar 19, 2008 9:33 am Post subject: [asterisk-users] Limit calls when using autodial |
|
|
Tong wrote:
Quote: | what's a good way to apply a future date to thousands of files?
| I do it within the script that creates the file(s):
# Touch file once to set date/time stamp to now
/bin/touch /usr/local/bin/$1.out.call
# Touch file again with a 150 second future date
/bin/touch -r /usr/local/bin/$1.out.call -F 150 /usr/local/bin/$1.out.call
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." |
|
Back to top |
|
|
stotaro at totarotechn... Guest
|
Posted: Wed Mar 19, 2008 9:43 am Post subject: [asterisk-users] Limit calls when using autodial |
|
|
On Wed, Mar 19, 2008 at 10:33 AM, Doug Lytle <support at drdos.info> wrote:
Quote: | Tong wrote:
Quote: | what's a good way to apply a future date to thousands of files?
| I do it within the script that creates the file(s):
# Touch file once to set date/time stamp to now
/bin/touch /usr/local/bin/$1.out.call
# Touch file again with a 150 second future date
/bin/touch -r /usr/local/bin/$1.out.call -F 150 /usr/local/bin/$1.out.call
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
|
I do it via FTP from another box. I like my switch to be a switch
and not have to bother with all these extra functions/processes. The
proof is in the stability.
Thanks,
Steve Totaro |
|
Back to top |
|
|
lee at datatrakpos.com Guest
|
Posted: Wed Mar 19, 2008 10:42 am Post subject: [asterisk-users] Limit calls when using autodial |
|
|
Tong wrote:
Quote: | That might work.
I'll give that a shot.
---- Doug Lytle <support at drdos.info> wrote:
Quote: | Tong wrote:
Quote: | Is there a way to limit outbound calls when feeding files to the outgoing directory in asterisk? I several thousand files i need to feed asterisk, hoping to copy it to the outgoing directory all at 1 time.
| Yes,
Create them with a future time and date and they will only be acted upon
when the proper time comes.
Doug
--
|
|
There was a similar post recently and I wonder if using future time stamps would
work well although I guess it depends on what you're doing specifically.
In other words, if all you're doing is calling a number and playing a
pre-recorded message for instance, that may be doable as you could at least
estimate the average time it takes to dial and complete one of those calls and
create your originate files at x intervals in timestamps.
Otherwise for something more complex where the amount of time each call can take
varies much, I would see some kind of queuing system being useful where the
calls are tracked and originate files are produced as (specified) resources allow.
--
Warm Regards,
Lee
"Everything I needed to learn in life, I learned selling encyclopedias door to
door." |
|
Back to top |
|
|
lttong at socal.rr.com Guest
|
Posted: Wed Mar 19, 2008 1:29 pm Post subject: [asterisk-users] Limit calls when using autodial |
|
|
how many out going files were you working with?
---- Steve Totaro <stotaro at totarotechnologies.com> wrote:
Quote: | On Wed, Mar 19, 2008 at 10:33 AM, Doug Lytle <support at drdos.info> wrote:
Quote: | Tong wrote:
Quote: | what's a good way to apply a future date to thousands of files?
| I do it within the script that creates the file(s):
# Touch file once to set date/time stamp to now
/bin/touch /usr/local/bin/$1.out.call
# Touch file again with a 150 second future date
/bin/touch -r /usr/local/bin/$1.out.call -F 150 /usr/local/bin/$1.out.call
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
|
I do it via FTP from another box. I like my switch to be a switch
and not have to bother with all these extra functions/processes. The
proof is in the stability.
Thanks,
Steve Totaro
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
|
Back to top |
|
|
support at drdos.info Guest
|
Posted: Wed Mar 19, 2008 2:56 pm Post subject: [asterisk-users] Limit calls when using autodial |
|
|
Tong wrote:
Quote: | how many out going files were you working with?
|
Me or Steve? I've never done anything more then 5.
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." |
|
Back to top |
|
|
|