Asternet AMI Send Command c#

2.3k Views Asked by At

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

There are 1 best solutions below

4
arheops On BEST ANSWER

"sip show peers" is COMMAND.

You have send action COMMAND.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_Command