Directory Looping causes hard drive to fill

tjthorson

New Member
Joined
Apr 28, 2009
Messages
1
Reaction score
0
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
 

Phone_User

Guru
Joined
Jun 9, 2008
Messages
314
Reaction score
0
I had the exact same thing happend, but only once. I think it had to do with the line not hanging up properly. I changed the busy detect to 5 from 6 and have not had another occurance. I also removed relaxeddtmf from my zapata.conf

I'm waiting for it to happen again so I can find the culprit.
 

Members online

Forum statistics

Threads
25,825
Messages
167,850
Members
19,250
Latest member
mark-curtis
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top