Vieri
2008-Mar-17 18:45 UTC
[asterisk-users] asterisk.conf uniquename or sysname for uniqueid field in CDR
I set uniquename = MYHOST in asterisk.conf (under [options]) so that my uniqueid data shows up as MYHOST.time.seq. First of all, I would like to know if uniquename (or sysname?) will still be valid across future * versions (mainly 1.6). Secondly, is there a way to specify uniquename as an asterisk option at the command line? (asterisk -h doesn't show me anything regarding this feature) Finally, how can I set uniquename to a system value (say, dynamically set to whatever `hostname` yields)? Something like uniquename = `hostname` so that I don't have to statically set it on each asterisk server? Thanks! ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Vieri
2008-Mar-18 09:19 UTC
[asterisk-users] asterisk.conf uniquename or sysname for uniqueid field in CDR
--- Vieri <rentorbuy at yahoo.com> wrote:> I set uniquename = MYHOST in asterisk.conf (under > [options]) so that my uniqueid data shows up as > MYHOST.time.seq. > > First of all, I would like to know if uniquename (or > sysname?) will still be valid across future * > versions > (mainly 1.6). > > Secondly, is there a way to specify uniquename as an > asterisk option at the command line? (asterisk -h > doesn't show me anything regarding this feature) > > Finally, how can I set uniquename to a system value > (say, dynamically set to whatever `hostname` > yields)? > Something like > uniquename = `hostname` > so that I don't have to statically set it on each > asterisk server?I just realized that uniquename is only available after applying the BRISTUFF patches. So let me rephrase my question: will Asterisk ever include the "uniquename" feature in its base code? If not, why? (I would prefer not to apply BRIstuff since I don't have Junghanns hardware). Thanks. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ