Summary: | ASTERISK-01892: [patch] cmd line flag to reconnect remote asterisk clients when disconnected | ||
Reporter: | Tilghman Lesher (tilghman) | Labels: | |
Date Opened: | 2004-06-25 10:44:44 | Date Closed: | 2008-01-15 15:00:34.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20040625__reconnect_2.diff.txt ( 1) 20040625__reconnect_3.diff.txt ( 2) 20040625__reconnect_4.diff.txt ( 3) 20040625__reconnect.diff.txt | |
Description: | I almost never am on the physical Asterisk console, preferring to have multiple remote consoles. However, when restarting Asterisk, my remote client disconnects, so I have to remember to reconnect every time. This patch specifies a flag (-R) to indicate that you want your remote Asterisk to attempt to reconnect when disconnected. ****** ADDITIONAL INFORMATION ****** With this patch, Asterisk tries 20 times a second for 30 seconds to reconnect. If it does not connect in that timeframe, it errors out. | ||
Comments: | By: Mark Spencer (markster) 2004-06-25 10:53:44 Added to CVS, thanks! By: Tilghman Lesher (tilghman) 2004-06-25 14:19:48 Found a small bug in this patch... sorry, the CVS mirrors haven't updated yet, so I haven't just the changes in this patch. By: Mark Spencer (markster) 2004-06-25 14:40:23 What's the bug, exactly? By: Mark Spencer (markster) 2004-06-25 14:40:36 Just wait and get me a diff when the mirrors update. By: Tilghman Lesher (tilghman) 2004-06-25 15:54:07 The specific bug was that it's unnecessary to re-register the console_verboser on reconnect; in fact, it causes asterisk to double [,triple, etc.] the copyright message on each successive reconnect. By: Mark Spencer (markster) 2004-06-25 17:28:26 Added to CVS By: Digium Subversion (svnbot) 2008-01-15 15:00:34.000-0600 Repository: asterisk Revision: 3302 U trunk/asterisk.c ------------------------------------------------------------------------ r3302 | markster | 2008-01-15 15:00:34 -0600 (Tue, 15 Jan 2008) | 2 lines Add Tilghman's -R option to allow reconnecting when disconnected (bug ASTERISK-1892) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3302 |