<span style="font-family:verdana,sans-serif">Hi,</span><br style="font-family:verdana,sans-serif"><br style="font-family:verdana,sans-serif"><span style="font-family:verdana,sans-serif">I have 100+ call file generated in other directory, and by using program, I have moved 10-10 files in /var/spool/asterisk/outgoing, and call made successfully.</span><br style="font-family:verdana,sans-serif">
<br style="font-family:verdana,sans-serif"><span style="font-family:verdana,sans-serif">Once all call completed, I found following error for all files...</span><br style="font-family:verdana,sans-serif"><br style="font-family:verdana,sans-serif">
<span style="font-family:verdana,sans-serif">[Jul 7 10:54:03] WARNING[7884]: pbx_spool.c:407 scan_service: Unable to open /var/spool/asterisk/outgoing/1000000097_172.18.100.72.call: No such file or directory, deleting</span><br style="font-family:verdana,sans-serif">
<span style="font-family:verdana,sans-serif">[Jul 7 10:54:03] WARNING[7884]: pbx_spool.c:407 scan_service: Unable to open /var/spool/asterisk/outgoing/1000000098_172.18.100.72.call: No such file or directory, deleting</span><br style="font-family:verdana,sans-serif">
<span style="font-family:verdana,sans-serif">[Jul 7 10:54:03] WARNING[7884]: pbx_spool.c:407 scan_service: Unable to open /var/spool/asterisk/outgoing/1000000099_172.18.100.72.call: No such file or directory, deleting</span><br style="font-family:verdana,sans-serif">
<br style="font-family:verdana,sans-serif"><br style="font-family:verdana,sans-serif"><div style="font-family:verdana,sans-serif" class="gmail_quote">On Fri, Jul 6, 2012 at 8:47 PM, Steve Edwards <span dir="ltr"><<a href="mailto:asterisk.org@sedwards.com" target="_blank">asterisk.org@sedwards.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Friday 06 July 2012, Chandrakant Solanki wrote:<br>
</blockquote>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have set the folder (callfile/Server{A/B}) permission to 777 as well as call file permission to 777.<br>
</blockquote></blockquote>
<br></div><div class="im">
On Fri, 6 Jul 2012, A J Stiles wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
(By the way, you should have permissions 666 for a callfile, not 777. Callfiles should not be executable.)<br>
</blockquote>
<br></div>
Whenever I see 777 (or it's Satanic cousin, 666) I see 'I don't really understand ownership and permissions so let's just allow everything and hope for the best.'<br>
<br>
Do you really intend to allow every user and exploited program to be able to create call files? (And if you've done this, you've probably created other holes in your system's security.)<br>
<br>
While 'opening the flood gates' is (IMO) a valid temporary debugging technique to identify the source of the problem, the directories and files should be owned by the user executing Asterisk and permissions should limit reading to only users and groups that need reading and limit writing<br>
to only users and groups that need writing.<br>
<br>
I don't have any need or experience with call files on my production boxes, but I suspect a successful implementation would include NTP and creating the call file in another directory on the shared device and then moving the call file to the outgoing spool directory.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com" target="_blank">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>
Newline Fax: +1-760-731-3000</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br style="font-family:verdana,sans-serif"><br style="font-family:verdana,sans-serif" clear="all"><br style="font-family:verdana,sans-serif"><span style="font-family:verdana,sans-serif">-- </span><br style="font-family:verdana,sans-serif">
<span style="font-family:verdana,sans-serif">Regards,</span><br style="font-family:verdana,sans-serif"><br style="font-family:verdana,sans-serif"><span style="font-family:verdana,sans-serif">Chandrakant Solanki</span><br style="font-family:verdana,sans-serif">