The Details property

class CallDetails

Holds call channel details.

This property returns call channel information.

call_to
The destination address of the current call.
call_target
The original destination of the current call.
call_from
The originating address of the current call.
codecs
The codecs list for the current or call.
connected_ID
The connected call channel ID (see the connect function).
divert
Call diversion information.
raw_cause
An underlying raw cause value (specific to the call protocol in use). Note: A value of -1 indicates that the call was hung up before connection due to in-band call progress tones that indicated an error.
far_end_type
This is for outbound calls only. This property identifies the far end type as determined by live speaker detection. By default this is set to UNKNOWN. When live speaker detection is activated this will go to None until the far end type has been identified or the algorithm times out. On a timeout the type will revert to UNKNOWN.
early_media
This is for inbound calls only. If this is True it means that early media can be negotiated. See the ring function for instructions on sending early media. A good introduction to the concept of early media is given on the freeswitch wiki.

Individual items of information may be readily obtained in the following manner:

call_to = channel.Details.call_to

This information can be retrieved even after the call has gone to idle, it will persist until the next call.

Previous topic

Conference Rooms and Conferences

Next topic

The SIP property