typedef enum { CallTypeUnknown, CallTypeInternal, CallTypeInbound, CallTypeOutbound, CallTypeConsult } TCallType;
CallTypeUnknown
—
The type of this call is unknown.
CallTypeInternal
—
This is an internal call (between two DNs on the local switch).
CallTypeInbound
—
This is an inbound call (from an off-PBX number).
CallTypeOutbound
—
This is an outbound call (to an off-PBX number).
CallTypeConsult
—
This is a consultation call (initiated on the local switch),
regardless of what DNs participate in the call.
CallType
is determined with respect to
the local switch only. In multi-site environments the
CallType
of a call may be different for
each of its different legs. For example, one T-Server may report
a call as an Outbound
or Consult
call,
but on the receiving end this call may be reported as Inbound.