[asterisk-users] Correct syntax to access a shell variable?

Larry Alkoff labradley at mindspring.com
Fri Nov 24 20:00:30 MST 2006


I would like to access my shell environment variable MYIP from within 
sip.conf to put in externip.

I've tried some variations of syntax after reading "The Future of 
Telephony" but it's not working yet.

Should it be
externip=${ENV{$MYIP}}
or some other syntax??

Larry

-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux


More information about the asterisk-users mailing list