Maxim Vexler
2006-May-24 06:06 UTC
[Asterisk-Users] Placing call files in /var/spool/asterisk/outgoing/ does not work
Hello everyone I'm trying to make asterisk get a call out using the .call system. The setup is A@H 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 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 ? Thank you. -- Cheers, Maxim Vexler "Free as in Freedom" - Do u GNU ?
Tzafrir Cohen
2006-May-24 06:26 UTC
[Asterisk-Users] Placing call files in /var/spool/asterisk/outgoing/ does not work
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 A@H 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.callyou should mv the file (and in the same filesystem, so 'rename' is used)> > 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. -- Tzafrir