I'm trying to create a call file for Asterisk, but keep getting an
error and I can't figure out why. Any thoughts?
DEBUG FROM ASTERISK:
Nov 1 10:06:28 WARNING[24104] pbx_spool.c: Unknown keyword ' Channel'
at line 5 of /var/spool/asterisk/outgoing/callback
Nov 1 10:06:28 WARNING[24104] pbx_spool.c: Unknown keyword '
MaxRetries' at line 7 of /var/spool/asterisk/outgoing/callback
Nov 1 10:06:28 WARNING[24104] pbx_spool.c: Unknown keyword '
RetryTime' at line 8 of /var/spool/asterisk/outgoing/callback
Nov 1 10:06:28 WARNING[24104] pbx_spool.c: Unknown keyword '
WaitTime' at line 9 of /var/spool/asterisk/outgoing/callback
Nov 1 10:06:28 WARNING[24104] pbx_spool.c: Unknown keyword ' Context'
at line 15 of /var/spool/asterisk/outgoing/callback
Nov 1 10:06:28 WARNING[24104] pbx_spool.c: Unknown keyword '
Extension' at line 16 of /var/spool/asterisk/outgoing/callback
Nov 1 10:06:28 WARNING[24104] pbx_spool.c: Unknown keyword '
Priority' at line 17 of /var/spool/asterisk/outgoing/callback
Nov 1 10:06:28 WARNING[24104] pbx_spool.c: At least one of app or
extension must be specified, along with tech and dest in file
/var/spool/asterisk/outgoing/callback
Nov 1 10:06:28 WARNING[24104] pbx_spool.c: Invalid file contents in
/var/spool/asterisk/outgoing/callback, deleting
Nov 1 10:06:28 WARNING[24104] pbx_spool.c: Failed to scan service
'/var/spool/asterisk/outgoing/callback'
My call file looks like this:
#
# Create the call on group 2 dial lines and set up
# some re-try timers
#
Channel: Zap/g0/3372806
#Callerid: 1234567890
MaxRetries: 2
RetryTime: 60
WaitTime: 30
#Account: 1111
#
# Assuming that your local extensions are kept in the
# context called [extensions]
#
Context: from-internal
Extension: 400
Priority: 1