In article <[EMAIL PROTECTED]>, Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > On Wed, May 24, 2006 at 03:06:54PM +0200, Maxim Vexler wrote: > > Hello everyone > > > > I'm trying to make asterisk get a call out using the .call system. > > The setup is [EMAIL PROTECTED] 2.6 > > > > This is the content of the file is : > > <<< > > Channel: Zap/g0/052MYPHONE > > MaxRetries: 2 > > RetryTime: 60 > > WaitTime: 30 > > # > > # Assuming that your local extensions are kept in the > > # context called [extensions] > > # > > Context: ext-local > > Extension: 210 > > Priority: 1 > > >>> > > > > I'm coping (as root) from /root/call to > > /var/spool/asterisk/outgoing/max.call > > you should mv the file (and in the same filesystem, so 'rename' is used)
True. > > This is what tunes up in the console : > > <<< > > May 24 08:57:27 WARNING[10618]: pbx_spool.c:347 scan_service: Unable > > to open /var/spool/asterisk/outgoing/max.call: Permission denied, > > deleting > > May 24 08:57:27 WARNING[10618]: pbx_spool.c:389 scan_thread: Failed to > > scan service '/var/spool/asterisk/outgoing/max.call' > > >>> > > > > What am I doing wrong ? > > Letting asterisk read it before it is complete. That's not what "Permission denied" suggests. I don't know AAH, but if it runs asterisk as a non-root user, then it is necessary to chown the call file to the user under which asterisk runs, before moving it into the outgoing directory. Or to chmod it to 666. Cheers Tony -- Tony Mountifield Work: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
