Retrieving information from the Asterisk manager interface (Again, using pyst)


A somewhat shorter task here. Imagine for a moment that you want to be able to list the currently available SIP peers (in a web-site front-end, for instance). The manager interface can run any Asterisk command-line-interface command, but how do you get the results of that command? It's not exactly obvious, but this little recipe does seem to work.

Comments

Comments are closed.

Pingbacks

Pingbacks are closed.