Archives Jan. 19, 2006

Curiouser and curiouser with Asterisk manager interface (pyst doesn't seem to realise that there are event-generating queries)


Can't sleep, so spending more time with the manager interface. Interestingly, it seems that pyst has a fairly low-level assumption that just doesn't match the manager interface: namely that all events should be dispatched asynchronously to registered handlers. The problem is that certain actions produce a response, then a sequence of events in order that ...

Continue reading

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 ...

Continue reading

Previous day

Jan. 18, 2006

Next day

Jan. 20, 2006

Archives