-
Type:
Bug
-
Status: Closed
-
Resolution: Not an issue
-
Affects Version/s: 2.5
-
Fix Version/s: None
-
Component/s: Info Services
-
Labels:
directory program gets stuck in infinite loop on dead channel spewing logs like:
[15 04:02:06|Jun] VERBOSE[18809] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[15 04:02:06|Jun] WARNING[18809] file.c: Failed to write frame
[15 04:02:06|Jun] WARNING[18809] file.c: Failed to write frame
[15 04:02:06|Jun] VERBOSE[18809] logger.c: -- <Local/s@from-pstn-f54d,2> Playing 'dir-intro-fnln' (language 'en')
[15 04:02:06|Jun] VERBOSE[18809] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[15 04:02:06|Jun] WARNING[18809] file.c: Failed to write frame
[15 04:02:06|Jun] WARNING[18809] file.c: Failed to write frame
[15 04:02:06|Jun] VERBOSE[18809] logger.c: -- <Local/s@from-pstn-f54d,2> Playing 'dir-intro-fnln' (language 'en')
[15 04:02:06|Jun] VERBOSE[18809] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[15 04:02:06|Jun] WARNING[18809] file.c: Failed to write frame
[15 04:02:06|Jun] WARNING[18809] file.c: Failed to write frame
While stuck, *cli "show channels" shows:
Channel Location State Application(Data)
Local/s@from-pstn-47 #@app-directory:3 Up AGI(directory|default|from-did
Local/s@from-pstn-f5 #@app-directory:3 Up AGI(directory|default|from-did
Local/s@from-pstn-0b #@app-directory:3 Up AGI(directory|default|from-did
Local/s@from-pstn-d2 #@app-directory:3 Up AGI(directory|default|from-did
4 active channels
4 active calls
Workaround: killall directory
Important to catch before the log fills up the HD