Open vinsik opened 7 years ago
in file asterisk-manager/lib/ami.js
row: if (key === 'variable' || key === 'chanvariable') { needs to be: if ((key === 'variable' || key === 'chanvariable') && item['event'] != 'VarSet') {
if (key === 'variable' || key === 'chanvariable') {
if ((key === 'variable' || key === 'chanvariable') && item['event'] != 'VarSet') {
Then the varset variable setting will be and string instead of object. Hope this helps some one.
in file asterisk-manager/lib/ami.js
row:
if (key === 'variable' || key === 'chanvariable') {
needs to be:if ((key === 'variable' || key === 'chanvariable') && item['event'] != 'VarSet') {
Then the varset variable setting will be and string instead of object. Hope this helps some one.