On 7/8/06, Doug Lytle <[EMAIL PROTECTED]> wrote:
Robert Michel wrote:
> Salve Tzafrir, *!
>
> On Sat, 08 Jul 2006, Tzafrir Cohen wrote:
>
>>>         Sytem($( sleep 4 && cp 1.call /var/spool/asterisk/outgoing) &)
>>>
>> However you should not copy to the outgoing queue. You should mv a file
>> there.
>>
>
> Right, I remember that a good friend of mine talked about the
> disadvantages of the unrreleiable beheavier of cp for long time
>
I do use cp, but I create the file with a future time/date.  Asterisk
will not touch it until that time/date has occured.  I do the following
for my call files:

#!/bin/sh

cd /usr/local/bin
/bin/touch /usr/local/bin/$1.call
/bin/touch -r /usr/local/bin/$1.call -m -F 150 /usr/local/bin/$1.call
cp --preserve=timestamps /usr/local/bin/$1.call
/var/spool/asterisk/outgoing/

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 Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Is the above claim tested ?

If so then this is a great tip!
thank you!

Also, http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out
could use this tip in a form of a comment / page edit.

--
Cheers,
Maxim Vexler

"Free as in Freedom" - Do u GNU ?
_______________________________________________
--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

Reply via email to