[Home]

Summary:ASTERISK-09427: [feature] autosystemname in asterisk.conf
Reporter:Donny Kavanagh (donnyk)Labels:
Date Opened:2007-05-11 13:38:38Date Closed:2007-05-11 16:16:15
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) autosystemname.patch
( 1) autosystemname-w-fallback.oops.patch
( 2) autosystemname-w-fallback.patch
Description:autosystemname will set systemname=hostname of the server.

i am disclaimed.

the patch is against (1.4, for blitzrage) but should be ok against trunk.
Comments:By: Jason Parker (jparker) 2007-05-11 14:56:25

Add to svn trunk in revision 63967.

By: Leif Madsen (lmadsen) 2007-05-11 15:26:19

Per Juggie on IRC

By: Donny Kavanagh (donnyk) 2007-05-11 15:33:10

autosystemname-w-fallback.patch:

qwell made a minor change such that if autosystemname=yes and for some crazy reason, gethostname() fails, your systemname will be set to 'localhost'.  This patch extends on that change, if autosystemname=yes and it fails, systemname will be set to localhost OR systemname if systemname is set.



By: Donny Kavanagh (donnyk) 2007-05-11 15:37:34

use the .oops.  i accidentally left in some white space.

By: Jason Parker (jparker) 2007-05-11 16:16:14

Fixed in revision 64012, and de-oopsed in 64013.