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....@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 sedwa...@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
-- _____________________________________________________________________ -- 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