BelirafoN / asterisk-ami-client

Asterisk AMI Client for NodeJS (ES2015)
MIT License
40 stars 25 forks source link

Dont delete generated ActionID from responses #3

Closed Vantomas closed 6 years ago

Vantomas commented 7 years ago

I'm calling multiple Originate actions in Async mode and I need to track them for replies. I don't want to generate own ActionIDs and I want to leave it to asterisk-ami-client.

For this purposes I added new option dontDeleteSpecActionId to AmiClient. Default behaviour is same as before, only after enable this option are returned Responses with generated ActionID.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 96.992% when pulling e747f727bc5a50ac055bf497b5c3095440b71fd7 on Vantomas:master into 00210198e53a675cde08c260148af976178be8dc on BelirafoN:master.

BelirafoN commented 6 years ago

thanks for tests and documentation