Im trying to use the auto-dial out in asterisk and having problems.... Here is my 1.call file that I move into the outgoing directory: # # Create the call on group 2 dial lines and set up # some re-try timers # Channel: Zap/g2/4807480034 MaxRetries: 2 RetryTime: 60 WaitTime: 30 # # Assuming that your local extensions are kept in the # context called [extensions] # Context: rca Extension: 809 Priority: 1 I get the following errors: Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' Channel' at line 5 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' MaxRetries' at line 6 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' RetryTime' at line 7 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' WaitTime' at line 8 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' Context' at line 13 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' Extension' at line 14 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' Priority' at line 15 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:191 apply_outgoing: At least one of app or extension must be specified, along with tech and dest in file /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:301 scan_service: Invalid file contents in /var/spool/asterisk/outgoing/1.call, deleting Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:349 scan_thread: Failed to scan service '/var/spool/asterisk/outgoing/1.call' Kyle
Kyle Hagan wrote:> Im trying to use the auto-dial out in asterisk and having problems.... >The error message is saying that you have a space before each command in that file. Remove the spaces and you should be fine. -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
I had the same problem last week. The error's are because there are extra spaces in the 1.call file. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kyle Hagan Sent: Monday, November 15, 2004 4:24 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Auto dialout Im trying to use the auto-dial out in asterisk and having problems.... Here is my 1.call file that I move into the outgoing directory: # # Create the call on group 2 dial lines and set up # some re-try timers # Channel: Zap/g2/4807480034 MaxRetries: 2 RetryTime: 60 WaitTime: 30 # # Assuming that your local extensions are kept in the # context called [extensions] # Context: rca Extension: 809 Priority: 1 I get the following errors: Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' Channel' at line 5 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' MaxRetries' at line 6 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' RetryTime' at line 7 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' WaitTime' at line 8 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' Context' at line 13 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' Extension' at line 14 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: Unknown keyword ' Priority' at line 15 of /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:191 apply_outgoing: At least one of app or extension must be specified, along with tech and dest in file /var/spool/asterisk/outgoing/1.call Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:301 scan_service: Invalid file contents in /var/spool/asterisk/outgoing/1.call, deleting Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:349 scan_thread: Failed to scan service '/var/spool/asterisk/outgoing/1.call' Kyle _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Mon, 2004-11-15 at 15:23 -0700, Kyle Hagan wrote:> Im trying to use the auto-dial out in asterisk and having problems....> I get the following errors: > > Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: > Unknown keyword ' Channel' at line 5 of /var/spool/asterisk/outgoing/1.call > Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: > Unknown keyword ' MaxRetries' at line 6 of > /var/spool/asterisk/outgoing/1.call > Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: > Unknown keyword ' RetryTime' at line 7 of > /var/spool/asterisk/outgoing/1.call > Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: > Unknown keyword ' WaitTime' at line 8 of > /var/spool/asterisk/outgoing/1.call > Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: > Unknown keyword ' Context' at line 13 of > /var/spool/asterisk/outgoing/1.call > Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: > Unknown keyword ' Extension' at line 14 of > /var/spool/asterisk/outgoing/1.call > Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:182 apply_outgoing: > Unknown keyword ' Priority' at line 15 of > /var/spool/asterisk/outgoing/1.call > Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:191 apply_outgoing: At > least one of app or extension must be specified, along with tech and > dest in file /var/spool/asterisk/outgoing/1.call > Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:301 scan_service: > Invalid file contents in /var/spool/asterisk/outgoing/1.call, deleting > Nov 15 15:14:37 WARNING[1106140080]: pbx_spool.c:349 scan_thread: Failed > to scan service '/var/spool/asterisk/outgoing/1.call' > > > Kyle >>From the error messages it appears that you have a space at thebeginning of each line. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041115/6371fd06/attachment.htm