Hi all,
Please help me with the configuration of asterisk call file. I created sample.call in /tmp/, chmod it with 777, and move it to the /var/spool/asterisk/outgoing. But call is unsuccessful, I cant see anything in dial plan except one notice and the one warning:
NOTICE[12126]: pbx_spool.c:414 attempt_thread: Call failed to go through, reason (3) Remote end Ringing
WARNING[12126]: pbx_spool.c:317 safe_append: Unable to set utime on /var/spool/asterisk/outgoing/sample.call: Operation not permitted
sample.call
Channel: SIP/trunk_name/number to dial out
CallerID: 0049XXXXXXXXXXX (inbound route conntected to the extension 101. Extension 101 is configured and registered at the phone successfully)
Context: from-internal
Extension: s
Priority: 1
MaxRetries: 2
RetryTime: 60
WaitTime: 30
Application: Dial
When I dial from the phone (Extensions 101) “number to dial out” everything works fine. What am I missing in .call configuration?
I am using FreePBX and Asterisk 11.13.0
Thank you