Part of aculab.callcontrol View Source View In Hierarchy
Known subclasses: aculab.callcontrol.CallHandle, aculab.sip.SIPHandle
Base class for Call Handles.
Holds the controller stack and common attributes.
The controller stack allows to pass calls from one controller (application) to another.
For example, one controller could be responsible for looking at all incoming calls. When it gets a call, it decides which application should receive the call, and the applications can install different controllers for their needs.
This is not normally needed.| Method | __init__ | Initialise the controller stack and common attributes. |
| Method | push_controller | Push a new controller onto the controller stack. |
| Method | pop_controller | Pop a controller from the stack. |
Push a new controller onto the controller stack.
The new controller will receive all events from now on.Pop a controller from the stack.
The previously active controller will receive all events from now on.