Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to set multiple same headers per action message #1

Open
dafik opened this issue Oct 13, 2016 · 2 comments
Open

unable to set multiple same headers per action message #1

dafik opened this issue Oct 13, 2016 · 2 comments

Comments

@dafik
Copy link

dafik commented Oct 13, 2016

eg. OriginateAction https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_Originate

allow multiple Variable
"Variable - Channel variable to set, multiple Variable: headers are allowed."

i think that objToRaw from asterisk-ami-event-utils should:
check for array type or
provide method to set custom serialization on action Object

@dafik
Copy link
Author

dafik commented Oct 13, 2016

AmiConnection.write allow message as string but,
AmiClient.action (and write,send) not
if (!message.ActionID) { message.ActionID = this._genActionId(this._specPrefix); }

@jaunis
Copy link

jaunis commented Feb 27, 2020

I submitted a pull request for this: #9

@github-staff github-staff deleted a comment Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants