<div>actually it sounds like a permission issue. You said you are doing it as root, but what is asterisk running as. I've found it is very sensitive, even to ownership. Make sure the owner:group is set to what Asterisk is running as before copying. Then, I've never had problems copying vs. moving - although I could imagine it might create problems in a race condition case.</div> <div> </div> <div>p<BR></div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">From: Tzafrir Cohen <tzafrir@cohens.org.il><BR>To: asterisk-users@lists.digium.com<BR>Date: Wed, 24 May 2006 09:26:51 -0400<BR>Subject: Re: [Asterisk-Users] Placing call files in<BR>/var/spool/asterisk/outgoing/ does not work<BR><BR>On Wed, May 24, 2006 at 03:06:54PM +0200, Maxim Vexler wrote:<BR>> Hello everyone<BR>> <BR>> I'm trying to make asterisk get a call out using the .call system.<BR>> The setup is A@H 2.6<BR>> <BR>> This is the
content of the file is :<BR>> <<<<BR>> Channel: Zap/g0/052MYPHONE<BR>> MaxRetries: 2<BR>> RetryTime: 60<BR>> WaitTime: 30<BR>> #<BR>> # Assuming that your local extensions are kept in the<BR>> # context called [extensions]<BR>> #<BR>> Context: ext-local<BR>> Extension: 210<BR>> Priority: 1<BR>> >>><BR>> <BR>> I'm coping (as root) from /root/call to <BR>> /var/spool/asterisk/outgoing/max.call<BR><BR>you should mv the file (and in the same filesystem, so 'rename' is used)<BR><BR>> <BR>> This is what tunes up in the console :<BR>> <<<<BR>> May 24 08:57:27 WARNING[10618]: pbx_spool.c:347 scan_service: Unable<BR>> to open /var/spool/asterisk/outgoing/max.call: Permission denied,<BR>> deleting<BR>> May 24 08:57:27 WARNING[10618]: pbx_spool.c:389 scan_thread: Failed to<BR>> scan service '/var/spool/asterisk/outgoing/max.call'<BR>> >>><BR>> <BR>> What am I doing
wrong ?<BR><BR>Letting asterisk read it before it is complete.<BR><BR>-- Tzafrir<BR></BLOCKQUOTE><p>
                <hr size=1>Blab-away for as little as 1¢/min. Make <a href="http://us.rd.yahoo.com/mail_us/taglines/postman2/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com"> PC-to-Phone Calls</a> using Yahoo! Messenger with Voice.