[Asterisk-Users] variable in extension.conf

Rattana BIV rbiv at eqweb-lyon.com
Tue Mar 11 01:29:58 MST 2003


I try to detect if an user who use Netmeeting is connected or not.
I think in order to do that, Netmeeting-user open a web page (in PHP) et
press the button Connect or Disconnect and the PHP set the Environnement
variable which will be proceeded in extension.conf

So i need Environnement Variable, I have test it with :
s,1,SetVar,toto=$VARENV where VARENV is my environnement variable but toto
not take the value. perhaps should I try toto=${VARENV} or toto=${$VARENV}.


Regards
Rattana

----- Message d'origine -----
De : "Steven Critchfield" <critch at basesys.com>
À : <asterisk-users at lists.digium.com>
Envoyé : lundi 10 mars 2003 18:27
Objet : Re: [Asterisk-Users] variable in extension.conf


> On Mon, 2003-03-10 at 11:00, Rattana BIV wrote:
> > Hi,
> >
> > How can we use Environnement variable in extension.conf ?
>
> I don't think you can at this moment, and I am not sure that would be a
> good idea as you asterisk thread should be long lived and therefore
> anything you would put in an environment variable would just as well be
> placed in a config file. Not to mention a config file can be reread
> without stopping asterisk or interupting running calls.
>
> Could you point out what you wanted to accomplish with environment
> variables so we can see if there is a better way of communicating the
> information to asterisk with you, or see what I am currently
> overlooking.
> --
> Steven Critchfield  <critch at basesys.com>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list