[asterisk-users] call file and NFS server

Chandrakant Solanki solanki.chandrakant at gmail.com
Sat Jul 7 00:27:40 CDT 2012


Hi,

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.

Once all call completed, I found following error for all files...

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


On Fri, Jul 6, 2012 at 8:47 PM, Steve Edwards <asterisk.org at sedwards.com>wrote:

> On Friday 06 July 2012, Chandrakant Solanki wrote:
>>
>
>  I have set the folder (callfile/Server{A/B})  permission to 777 as well
>>> as call file permission to 777.
>>>
>>
> On Fri, 6 Jul 2012, A J Stiles wrote:
>
>  (By the way, you should have permissions 666 for a callfile, not 777.
>> Callfiles should not be executable.)
>>
>
> 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.'
>
> 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.)
>
> 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
> to only users and groups that need writing.
>
> 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.
>
> --
> Thanks in advance,
> -------------------------------------------------------------------------
> Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
> Newline                                              Fax: +1-760-731-3000
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Regards,

Chandrakant Solanki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120707/a0183d5c/attachment.htm>


More information about the asterisk-users mailing list