On Thu, Apr 21, 2011 at 3:23 PM, Steve Edwards <[email protected]> wrote: > On Thu, 21 Apr 2011, RAJNIKANT VANZA wrote: > >> Can't get hostname environment variable on asterisk dialplan. > > 1) Is HOSTNAME in the Asterisk process's environment? What does executing: > > tr '\000' '\n' < /proc/$(cat /var/run/asterisk.pid)/environ >
This is /var/run/asterisk/asterisk.pid on my system. I use runit to manage the asterisk process, and the chpst program allows fine control over environment and other limits. -M -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
