[Asterisk-Users] Permission issue with outgoing calling

Cameron Beattie ext_news at appsfarm.com
Tue Mar 22 15:20:44 MST 2005


Many thanks. Following the advice fro Martin, the permissions issue is 
resolved but now I have a new problem. The number is now dialled and 
connected (i.e. the call is placed to the PSTN) but it is immediately 
disconnected and I get the following message on the console:
Starting Zap/3-1 at from-internal-custom,s,1 failed so falling back to exten 
's'

Extensions.conf
[from-internal-custom]
exten => s,1,Wait(20)
exten => s,2,SendDTMF(1)
etc

1.call
Channel: Zap/3/1234567
MaxRetries: 1
RetryTime: 60
WaitTime: 30
Context: from-internal-custom
Extension: s
Priority: 1

Does anyone have any suggestions as to why Asterisk is failing when it tries 
to access this extension in this context?

Regards

Cameron

--------------------------
Date: Tue, 22 Mar 2005 10:29:16 +0100
From: Martijn van Oosterhout <martijn at ecomtel.com.au>
Subject: Re: [Asterisk-Users] Permission issue with outgoing calling
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users at lists.digium.com>
Message-ID: <20050322092915.GA534 at svana.org>
Content-Type: text/plain; charset=us-ascii
On Tue, Mar 22, 2005 at 02:07:32PM +1200, Cameron Beattie wrote:
> I have created a call file which has been moved into the outgoing
> directory. However the log file displays the following message: Unable to
> open /var/spool/asterisk/outgoing/1.call: Permission denied, deleting
>
> I have executed chmod 777 1.call on the file prior to moving it to the
> outgoing directory but is there something else I need to do before the 
> file
> can be used by Asterisk?
It also needs to be the owner of the file (unless asterisk is root) so
it can utime() it. Also check asterisk has rwx permissions on the spool
directory and can read all the parent directories...
Hope this helps,
-- 
Martijn van Oosterhout
Ecomtel Pty Ltd 




More information about the asterisk-users mailing list