Re: [Asterisk-java-users] Set Global Variable via Manager API
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-11-02 12:20:27
|
> Found this bug report: > http://bugs.digium.com/view.php?id=3D5429 > > Seems to be the problem? yep, that's the patch that fixed the GetVar action. I just posted http://bugs.digium.com/view.php?id=3D5571 to fix the SetVar. We'll see if we get positive feedback ;) =3DStefan > > > Gerwin > > On Nov 2, 2005, at 12:33 PM, Stefan Reuter wrote: > >>> Hi, >>> >>> currently I'm using 1.0.9 >> >> I just had a look at the Asterisk sources. >> >> Its kinda strange: >> 1.0.x does only support local (channel) variables for both GetVar >> and SetVar >> 1.2 supports local and global variables for GetVar but local variables >> only for SetVar. >> >> Maybe its time for another asterisk patch ;) >> >> =3DStefan >> >>> >>> >>> On Nov 2, 2005, at 12:17 PM, Stefan Reuter wrote: >>> >>>> Hi, >>>> >>>>> is there a way to set a global variable via the Manager API? >>>>> I use the global variable to enable/disable a number of extensions. >>>> >>>> Which version of Asterisk do you use? >>>> At least with the 1.2 series it should be possible to use the >>>> SetVarAction whith channel set to null to set a global variable. >>>> The comments javadoc are not really up to date. >>>> >>>> If you try it, please tell us about success or failure. >>>> >>>> =3DStefan >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF.Net email is sponsored by: >>>> Tame your development challenges with Apache's Geronimo App Server. >>>> Download >>>> it for free - -and be entered to win a 42" plasma tv or your very >>>> own >>>> Sony(tm)PSP. Click here to play: http://sourceforge.net/ >>>> geronimo.php >>>> _______________________________________________ >>>> Asterisk-java-users mailing list >>>> Ast...@li... >>>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by: >>> Tame your development challenges with Apache's Geronimo App Server. >>> Download >>> it for free - -and be entered to win a 42" plasma tv or your very own >>> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: >> Tame your development challenges with Apache's Geronimo App Server. >> Download >> it for free - -and be entered to win a 42" plasma tv or your very own >> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |