[OpenSER-Users] Global variables in scripts.
Ovidiu Sas
osas at voipembedded.com
Mon Apr 28 18:16:09 CEST 2008
This is part of the upcoming 1.4 release:
http://www.openser.org/docs/modules/1.4.x/cfgutils.html#id2480638
Regards,
Ovidiu Sas
On Mon, Apr 28, 2008 at 12:10 PM, Robert Dyck <rob.dyck at telus.net> wrote:
> On Monday 28 April 2008, Klaus Darilion wrote:
> > Robert Dyck schrieb:
> > > I vote for a global variable that is visible any where in the script and
> > > that can be initialized at startup without using a preprocessor.
> >
> > I fI got it right this already is available by using $shv(..) (and you
> > even can modify it via MI commands)
> Sorry, I cannot find it documented. What is the syntax? I tried it on 1.3.1.
>
> I tried $shv(test)=123 and $shv(test)="123" and got
> "Apr 28 08:52:34 [14769] CRITICAL:core:yyerror: parse error in config file,
> line 20, column 7-17: syntax error
> Apr 28 08:52:34 [14769] CRITICAL:core:yyerror: parse error in config file,
> line 20, column 7-17:
> Apr 28 08:52:34 [14769] ERROR:core:main: bad config file (2 errors)"
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
More information about the sr-users
mailing list