[Asterisk-Users] Placing call files in /var/spool/asterisk/outgoing/ does not work

Tzafrir Cohen tzafrir at cohens.org.il
Wed May 24 06:26:51 MST 2006


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 at 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

you 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



More information about the asterisk-users mailing list