-
Notifications
You must be signed in to change notification settings - Fork 67
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
How to pass parameters via "-" #45
Comments
Maybe it's not right but I did it this way Passed the argument via _
replace _ to -
|
The solution didn't work for me. exception 'action-000000' |
I'm not sure about this exception that you said, sorry =/ But you can set the parameters using action = SimpleAction('UpdateConfig', **{ 'Action-00000' : 'test' }) Take a look at: python-ami/asterisk/ami/action.py Lines 30 to 32 in 31309d8
|
Action: UpdateConfig
ActionID:
SrcFilename:
DstFilename:
Reload:
PreserveEffectiveContext:
Action-000000:
Cat-000000:
Var-000000:
Value-000000:
Match-000000:
Line-000000:
Options-000000:
SyntaxError: expression cannot contain assignment, perhaps you meant "=="?
The text was updated successfully, but these errors were encountered: