问题
Please tell me how to send commands (e.g.: sip show peers) via asternet (c#). Any help or link will be highly appreciated.
Like:
AsterNET.Manager.Response.ManagerResponse response = SendAction("sip show peers");
回答1:
"sip show peers" is COMMAND.
You have send action COMMAND.
https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_Command
来源:https://stackoverflow.com/questions/39618524/asternet-ami-send-command-c-sharp