Rizwan Hisham
2013-Nov-21 16:04 UTC
[asterisk-users] Call files without permission for asterisk to read
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? I need to continue the execution of call files on secondary server if primary server fails. The call files are suppose to retry for 45 mins if the call does not get connected. Thanks in advance. -- 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/20131121/ad5df417/attachment.html>
Eric Wieling
2013-Nov-21 16:08 UTC
[asterisk-users] Call files without permission for asterisk to read
See https://wiki.asterisk.org/wiki/display/AST/Asterisk+Call+Files Especially the parts about creating the files in a different directory and the parts about the scheduling call files. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Rizwan Hisham Sent: Thursday, November 21, 2013 11:05 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Call files without permission for asterisk to read 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? I need to continue the execution of call files on secondary server if primary server fails. The call files are suppose to retry for 45 mins if the call does not get connected. Thanks in advance. -- Best Ragards Rizwan H Qureshi V: +971 (0) 528272154 linkedin.com/in/rhqureshi
Ioan Indreias
2013-Nov-21 18:55 UTC
[asterisk-users] Call files without permission for asterisk to read
Have you tried to restart asterisk after setting the correct permissions? HTH, Ioan On Thu, Nov 21, 2013 at 6:04 PM, Rizwan Hisham <rizwanhasham at gmail.com>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? > > I need to continue the execution of call files on secondary server if > primary server fails. The call files are suppose to retry for 45 mins if > the call does not get connected. > > Thanks in advance. > > -- > 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131121/3ca59d3f/attachment.html>
Steve Edwards
2013-Nov-21 20:36 UTC
[asterisk-users] Call files without permission for asterisk to read
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