[asterisk-users] Limit calls when using autodial

2008-03-19 Thread Tong
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.

___
-- 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


[asterisk-users] Limit calls when using autodial

2008-03-19 Thread Tong
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.

___
-- 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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Fernando Berretta

I think the only way is managing the number of files in the outbound 
directory

http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out

Tong wrote:
 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.

 ___
 -- 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

   


___
-- 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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Doug Lytle
Tong wrote:
 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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Tong
That might work. 

I'll give that a shot.

 Doug Lytle [EMAIL PROTECTED] wrote: 
 Tong wrote:
  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


___
-- 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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Tong
what's a good way to apply a future date to thousands of files?

 Doug Lytle [EMAIL PROTECTED] wrote: 
 Tong wrote:
  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


___
-- 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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Tong
what's a good way to apply a future date to thousands of files?

 Doug Lytle [EMAIL PROTECTED] wrote: 
 Tong wrote:
  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


___
-- 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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Tong
what's a good way to apply a future date to thousands of files?

 Doug Lytle [EMAIL PROTECTED] wrote: 
 Tong wrote:
  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


___
-- 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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Tilghman Lesher
On Wednesday 19 March 2008 07:15:34 Doug Lytle wrote:
 Tong wrote:
  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

___
-- 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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Doug Lytle
Tong wrote:
 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.


___
-- 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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Steve Totaro
On Wed, Mar 19, 2008 at 10:33 AM, Doug Lytle [EMAIL PROTECTED] wrote:
 Tong wrote:
   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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Lee Jenkins
Tong wrote:
 That might work. 
 
 I'll give that a shot.
 
  Doug Lytle [EMAIL PROTECTED] wrote: 
 Tong wrote:
 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.

___
-- 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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Tong
how many out going files were you working with?

 Steve Totaro [EMAIL PROTECTED] wrote: 
 On Wed, Mar 19, 2008 at 10:33 AM, Doug Lytle [EMAIL PROTECTED] wrote:
  Tong wrote:
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


___
-- 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


Re: [asterisk-users] Limit calls when using autodial

2008-03-19 Thread Doug Lytle
Tong wrote:
 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.


___
-- 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