[asterisk-users] Correct syntax to access a shell variable?
Dominique Dartois
dom at dartois.org
Sat Nov 25 03:58:01 MST 2006
The right syntax should be externip=${ENV(MYIP)} but I **think** variables
are only allowed in extensions.* and not in sip.conf.
---
Dominique Dartois
-----Message d'origine-----
De : asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] De la part de Larry Alkoff
Envoyé : samedi 25 novembre 2006 04:01
À : Asterisk-users
Objet : [asterisk-users] Correct syntax to access a shell variable?
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
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list