#12 exec_setlanguage

closed-fixed
Matthew Asham
None
5
2010-09-17
2009-04-27
Anonymous
No

I figured out that the function exec_setlanguage needs to be changed slightly in order to work with Asterisk 1.4.
The old command SetLanguage(xx) was replaced by Set(Channel(language)=xx)

Line 767 in phpagi.php:

function exec_setlanguage($language='en')
{
// return $this->exec('SetLanguage', $language); // not valid anymore
return $this->exec('Set', 'CHANNEL(language)='. $language); // working replacement sind Asterisk 1.4
}

Discussion

  • Matthew Asham
    Matthew Asham
    2010-09-17

    • assigned_to: nobody --> masham
    • status: open --> closed-fixed