Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] asterisk.conf uniquename or sysname for uni


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
rentorbuy at yahoo.com
Guest





PostPosted: Mon Mar 17, 2008 1:45 pm    Post subject: [asterisk-users] asterisk.conf uniquename or sysname for uni Reply with quote

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
Back to top
rentorbuy at yahoo.com
Guest





PostPosted: Tue Mar 18, 2008 4:19 am    Post subject: [asterisk-users] asterisk.conf uniquename or sysname for uni Reply with quote

--- Vieri <rentorbuy at yahoo.com> wrote:

Quote:
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
Back to top
atis at iq-labs.net
Guest





PostPosted: Tue Mar 18, 2008 12:34 pm    Post subject: [asterisk-users] asterisk.conf uniquename or sysname for uni Reply with quote

On 3/18/08, Vieri <rentorbuy at yahoo.com> wrote:
Quote:

--- Vieri <rentorbuy at yahoo.com> wrote:

Quote:
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).
Look into doc/asterisk-conf.txt - probably you can use "systemname".
Asterisk config files also support #exec directive, so you can create
your regular asterisk.conf without sysname and create shell script:

#!/bin/bash
cat asterisk.conf.template
echo "sysname=`hostname`."

Regards,
Atis

--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services