#5 New Syntax (CVS Head)

closed-fixed
None
8
2010-09-17
2005-11-16
No

When using CVS head, warnings are produced because of
the new syntax for many functions. For example we were
able to stop the warning message for SetLanguage by
changing:

function exec_setlanguage($language='en')
{
return $this->exec('SetLanguage', $language);
}

to:

function exec_setlanguage($language='en')
{
return $this->exec('Set', "LANGUAGE()=$language");
}

Is there any work underway to address this ? To be
more "portable" a check of the asterisk version
probably should be made to determine the correct format
of the function calls.

Regards,
Norm

Discussion

  • Matthew Asham

    Matthew Asham - 2010-09-17
    • priority: 5 --> 8
     
  • Matthew Asham

    Matthew Asham - 2010-09-17
    • assigned_to: nobody --> masham
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks