freetdm: Added sigmsg->call_priv member that contains caller_data.priv originally set by user
This commit is contained in:
parent
6cecbca2bb
commit
c467886267
|
@ -5504,6 +5504,7 @@ FT_DECLARE(ftdm_status_t) ftdm_span_send_signal(ftdm_span_t *span, ftdm_sigmsg_t
|
|||
sigmsg->chan_id = sigmsg->channel->chan_id;
|
||||
sigmsg->span_id = sigmsg->channel->span_id;
|
||||
sigmsg->call_id = sigmsg->channel->caller_data.call_id;
|
||||
sigmsg->call_priv = sigmsg->channel->caller_data.priv;
|
||||
}
|
||||
|
||||
/* some core things to do on special events */
|
||||
|
|
|
@ -554,6 +554,7 @@ struct ftdm_sigmsg {
|
|||
uint32_t chan_id; /*!< easy access to chan id */
|
||||
uint32_t span_id; /*!< easy access to span_id */
|
||||
uint32_t call_id; /*!< unique call id for this call */
|
||||
void *call_priv; /*!< Private data for the FreeTDM user from ftdm_caller_data->priv */
|
||||
union {
|
||||
ftdm_event_sigstatus_t sigstatus; /*!< valid if event_id is FTDM_SIGEVENT_SIGSTATUS_CHANGED */
|
||||
ftdm_event_trace_t trace; /*!< valid if event_id is FTDM_SIGEVENT_TRACE or FTDM_SIGEVENT_TRACE_RAW */
|
||||
|
|
Loading…
Reference in New Issue