[asterisk-users] Call files without permission for asterisk to read

Rizwan Hisham rizwanhasham at gmail.com
Fri Nov 22 01:49:42 CST 2013


Thanks for the responses.

Touching a file after setting permissions does not work. Asterisk only
looks at the new file only, not all the files in the directory.
Restarting asterisk does work, but dont want to do this.
Best way i think would be, as suggested by JG, to sync in a tmp directory
and at the time of switch-over mv to outgoing directory.

Cheers


On Fri, Nov 22, 2013 at 12:36 AM, Steve Edwards
<asterisk.org at sedwards.com>wrote:

> On Thu, 21 Nov 2013, Rizwan Hisham wrote:
>
>  Hi all,I am syncing call files on my secondary asterisk server but
>> without permission to read for asterisk. So they should be executed when I
>> grant the right permissions (thats when my primary asterisk server crashes
>> or shutsdown somehow). But asterisk only tries to read the file at the time
>> of placing the file. So when i grant right permissions nothing happens. Is
>> there any workaround to this problem?
>>
>
> When you activate the secondary, 'touch' the files in the 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
>



-- 
Best Ragards
Rizwan H Qureshi

V: +971 (0) 528272154
linkedin.com/in/rhqureshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131122/a700cd35/attachment-0001.html>


More information about the asterisk-users mailing list