Each call channel provides all call and media processing for a single call. Each application is provided with a single call channel. The call channel that is given to the application will be modified to be appropriate to the “direction” of that particular application. So a call channel that is given to an inbound application will not have the functionality for making outbound calls. Please see the applications section for more information on this.
Since a call channel object (just like other Python objects) is just a reference to that object, it can be passed around, copied, put into queues, and used in a variety of ways by different threads; however, sensible measures must be taken to coordinate access to the object to avoid unexpected behaviour.
Please see the tutorial for examples on how to use this class.