First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 111095
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: voip herd <voip@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ed Wildgoose <gentoo@wildgooses.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
asterisk updated start/stop script text/plain Ed Wildgoose 2005-11-01 02:36 0000 1.61 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 111095 depends on: Show dependency tree
Bug 111095 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-01 01:35 0000
Asterisk seems to take some time to die once you have done
"/etc/init.d/asterisk
stop" - this causes the restart script to usually error

I have "borrowed" the logic from the squid script which waits for the process
to
fully die before returning an error code.  This means that the script now
restarts correctly under normal usage

Can someone please pop this in the main asterisk ebuild

Reproducible: Always
Steps to Reproduce:

/etc/init.d/asterisk restart
 * Stopping asterisk PBX ...                                                   
                                                                      [ ok ]
 * Starting asterisk PBX (as asterisk:asterisk) ...
/usr/sbin/asterisk already running.                                            
                                                                      [ !! ]

------- Comment #1 From Ed Wildgoose 2005-11-01 02:36:56 0000 -------
Created an attachment (id=71856) [details]
updated start/stop script

Patch should be obvious.  I only changed the "STOP" function

------- Comment #2 From Rob Terhaar 2005-11-18 12:36:53 0000 -------
i've seen asterisk hang on shutdown due to mpg123 spinning out of control, i
often have to do a kill -9 on mpg123 for asterisk to stop correctly...

------- Comment #3 From Stefan Schweizer 2006-10-03 04:03:25 0000 -------
can you please make a patch (unified diff) or the current init script? It looks
not easy to merge here 


diff -u old new > patch

------- Comment #4 From Alin Năstac 2006-11-02 07:06:03 0000 -------
fixed in 1.2.13-r1

First Last Prev Next    No search results available      Search page      Enter new bug