pipobscure / NodeJS-AsteriskManager

NodeJS Asterisk Manager API
Other
249 stars 103 forks source link

added case-insensitive ActionID support #72

Closed micodix closed 2 years ago

micodix commented 3 years ago

This also allows the use of the action id property in the notation 'ActionID' described by the AMI specification. Up to now, only a property named 'actionid' is checked. If this is not present, a UNIX timestamp is generated, although the 'ActionID' was set in the request. The fix allows all possible upper/lower case variants of this property.