Ticket #3728 (closed Bugs: invalid)

Opened 1 year ago

Last modified 1 year ago

directory program get stuck in infinite loop

Reported by: stgnet Assigned to:
Priority: trivial Milestone: 2.6
Component: Info Services Version: 2.5-branch
Keywords: directory Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

directory program gets stuck in infinite loop on dead channel spewing logs like:

[Jun 15 04:02:06] VERBOSE[18809] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[Jun 15 04:02:06] WARNING[18809] file.c: Failed to write frame
[Jun 15 04:02:06] WARNING[18809] file.c: Failed to write frame
[Jun 15 04:02:06] VERBOSE[18809] logger.c: -- <Local/s@from-pstn-f54d,2> Playing 'dir-intro-fnln' (language 'en')
[Jun 15 04:02:06] VERBOSE[18809] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[Jun 15 04:02:06] WARNING[18809] file.c: Failed to write frame
[Jun 15 04:02:06] WARNING[18809] file.c: Failed to write frame
[Jun 15 04:02:06] VERBOSE[18809] logger.c: -- <Local/s@from-pstn-f54d,2> Playing 'dir-intro-fnln' (language 'en')
[Jun 15 04:02:06] VERBOSE[18809] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[Jun 15 04:02:06] WARNING[18809] file.c: Failed to write frame
[Jun 15 04:02:06] 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

Change History

06/16/09 09:01:20 changed by mickecarlsson

How about some details:

1. Which version of FreePBX

2. Your setup: trixbox, asterisknow, elastisk, piaf etc etc?

06/16/09 12:45:45 changed by mickecarlsson

Check that /var/www/html/admin/modules/pbdirectory/sounds have the correct permissions, 775 (not 755), then check that /var/www/html/admin/modules/pbdirectory/sounds/pbdirectory also is set to 775.

If those permissions are not correct you will get the loop.

Please check that and report the outcome.

06/23/09 22:07:41 changed by mickecarlsson

  • priority changed from major to trivial.
  • status changed from new to closed.
  • resolution set to invalid.

No feedback given. I suspect a broken install. Closing as invalid.