search for: autosystemname

Displaying 1 result from an estimated 1 matches for "autosystemname".

2010 Oct 15
0
how to insert dynamic hostname into shared CDR database
...(userfield)=${HOSTNAME}) But that seems like more overhead than it should take to do this. Can anybody think of a better way? Hey, I just discovered ${SYSTEMNAME} * value of the systemname option of asterisk.conf which was turned off in my asterisk.conf, but then there's an option called autosystemname = yes With that enabled, ${SYSTEMNAME} is giving me what I want. I also spotted ${ENV(HOSTNAME)} which I assume would let me have whatever is set as an environmental variable. This didn't work for me, perhaps because my asterisk daemon is running in an environment without that variable set?