Closed xytis closed 9 years ago
Previously Nami chomped all lines containing 'variable' in the key and tried to fill variables hash with KEY=VALUE pairs from that. Unfortunately Asterisk has this one command, where
variables
KEY=VALUE
Variable: KEY Value: VALUE
https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerEvent_VarSet
To avoid this I added additional check to distinguish VarSet syntax from other commands and events.
Thanks! :)
Can You package this change to npm?
sure, done!
Thanks a lot :shipit: :)
Previously Nami chomped all lines containing 'variable' in the key and tried to fill
variables
hash withKEY=VALUE
pairs from that. Unfortunately Asterisk has this one command, wherehttps://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerEvent_VarSet
To avoid this I added additional check to distinguish VarSet syntax from other commands and events.