Every few days, for some reason my asterisk 1.4 PIAF box (with all the latest scripts and fixes) seems to wig out. Im not sure if its someone getting into the directory and hangin up, bad keys, etc. It pegs the processor at 100% and fills up the hard drive with the same thing over and over. Call quality diminishes at the time. Searching led me to a rogue "o" in a config file, which i dont have - and I dont have an operator extension specified either. Any other ideas? A force stop of asterisk and restart clears it for a few days. I have tried to hit bad keys in the directory myself and cant replicate the problem on my own.
The screen scrolls and writes to the "full.*" log file:
I think I found the spot where it went off the tracks today - any ideas? I blocked out the phonenumber of my company with the ---
[2009-09-18 15:24:38] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'custom/Intro2' (language 'en')
[2009-09-18 15:24:47] DEBUG[18635] chan_zap.c: Detected digit '#'
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: == CDR updated on Local/847---0088@from-pstn-2248,2
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Executing [#@ivr-2:1] DBdel("Local/847---0088@from-pstn-2248,2", "") in new stack
[2009-09-18 15:24:47] DEBUG[18880] app_db.c: Ignoring, no parameters
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Executing [#@ivr-2:2] Set("Local/847---0088@from-pstn-2248,2", "__NODEST=") in new stack
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Executing [#@ivr-2:3] Goto("Local/847---0088@from-pstn-2248,2", "app-directory|#|1") in new stack
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Goto (app-directory,#,1)
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Executing [#@app-directory:1] Answer("Local/847---0088@from-pstn-2248,2", "") in new stack
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Executing [#@app-directory:2] Wait("Local/847---0088@from-pstn-2248,2", "1") in new stack
[2009-09-18 15:24:47] DEBUG[18635] chan_zap.c: Detected digit '#'
[2009-09-18 15:24:48] VERBOSE[18880] logger.c: -- Executing [#@app-directory:3] AGI("Local/847---0088@from-pstn-2248,2", "directory|default|from-did-direct|be$
[2009-09-18 15:24:48] VERBOSE[18880] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/directory
[2009-09-18 15:24:48] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'dir-intro-fnln' (language 'en')
[2009-09-18 15:24:57] VERBOSE[3617] logger.c: -- Channel 0/2, span 1 got hangup request, cause 16
[2009-09-18 15:24:57] VERBOSE[18635] logger.c: == Spawn extension (macro-vm, o, 13) exited non-zero on 'Zap/2-1' in macro 'vm'
[2009-09-18 15:24:57] VERBOSE[18635] logger.c: == Spawn extension (macro-vm, o, 13) exited non-zero on 'Zap/2-1' in macro 'exten-vm'
[2009-09-18 15:24:57] VERBOSE[18635] logger.c: == Spawn extension (macro-vm, o, 13) exited non-zero on 'Zap/2-1'
[2009-09-18 15:24:57] DEBUG[18635] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/2-1
[2009-09-18 15:24:57] DEBUG[18635] chan_zap.c: Not yet hungup... Calling hangup once with icause, and clearing call
[2009-09-18 15:24:57] DEBUG[18635] chan_zap.c: Set option AUDIO MODE, value: OFF(0) on Zap/2-1
[2009-09-18 15:24:57] VERBOSE[18635] logger.c: -- Hungup 'Zap/2-1'
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'dir-intro-fnln' (language 'en')
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'dir-intro-fnln' (language 'en')
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'dir-intro-fnln' (language 'en')
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'dir-intro-fnln' (language 'en')
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
The screen scrolls and writes to the "full.*" log file:
I think I found the spot where it went off the tracks today - any ideas? I blocked out the phonenumber of my company with the ---
[2009-09-18 15:24:38] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'custom/Intro2' (language 'en')
[2009-09-18 15:24:47] DEBUG[18635] chan_zap.c: Detected digit '#'
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: == CDR updated on Local/847---0088@from-pstn-2248,2
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Executing [#@ivr-2:1] DBdel("Local/847---0088@from-pstn-2248,2", "") in new stack
[2009-09-18 15:24:47] DEBUG[18880] app_db.c: Ignoring, no parameters
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Executing [#@ivr-2:2] Set("Local/847---0088@from-pstn-2248,2", "__NODEST=") in new stack
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Executing [#@ivr-2:3] Goto("Local/847---0088@from-pstn-2248,2", "app-directory|#|1") in new stack
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Goto (app-directory,#,1)
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Executing [#@app-directory:1] Answer("Local/847---0088@from-pstn-2248,2", "") in new stack
[2009-09-18 15:24:47] VERBOSE[18880] logger.c: -- Executing [#@app-directory:2] Wait("Local/847---0088@from-pstn-2248,2", "1") in new stack
[2009-09-18 15:24:47] DEBUG[18635] chan_zap.c: Detected digit '#'
[2009-09-18 15:24:48] VERBOSE[18880] logger.c: -- Executing [#@app-directory:3] AGI("Local/847---0088@from-pstn-2248,2", "directory|default|from-did-direct|be$
[2009-09-18 15:24:48] VERBOSE[18880] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/directory
[2009-09-18 15:24:48] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'dir-intro-fnln' (language 'en')
[2009-09-18 15:24:57] VERBOSE[3617] logger.c: -- Channel 0/2, span 1 got hangup request, cause 16
[2009-09-18 15:24:57] VERBOSE[18635] logger.c: == Spawn extension (macro-vm, o, 13) exited non-zero on 'Zap/2-1' in macro 'vm'
[2009-09-18 15:24:57] VERBOSE[18635] logger.c: == Spawn extension (macro-vm, o, 13) exited non-zero on 'Zap/2-1' in macro 'exten-vm'
[2009-09-18 15:24:57] VERBOSE[18635] logger.c: == Spawn extension (macro-vm, o, 13) exited non-zero on 'Zap/2-1'
[2009-09-18 15:24:57] DEBUG[18635] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/2-1
[2009-09-18 15:24:57] DEBUG[18635] chan_zap.c: Not yet hungup... Calling hangup once with icause, and clearing call
[2009-09-18 15:24:57] DEBUG[18635] chan_zap.c: Set option AUDIO MODE, value: OFF(0) on Zap/2-1
[2009-09-18 15:24:57] VERBOSE[18635] logger.c: -- Hungup 'Zap/2-1'
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'dir-intro-fnln' (language 'en')
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'dir-intro-fnln' (language 'en')
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'dir-intro-fnln' (language 'en')
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- <Local/847---0088@from-pstn-2248,2> Playing 'dir-intro-fnln' (language 'en')
[2009-09-18 15:24:57] VERBOSE[18880] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame
[2009-09-18 15:24:57] WARNING[18880] file.c: Failed to write frame