mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
freetdm: Added release guard time configuration
Currently only enabled in the analog e&m module but any signaling module can easily take advantage of it with a small modification to the signaling module to set span->sig_release_guard_time_ms
This commit is contained in:
@@ -477,6 +477,7 @@ struct ftdm_channel {
|
||||
int32_t rxdrops;
|
||||
ftdm_usrmsg_t *usrmsg;
|
||||
ftdm_time_t last_state_change_time;
|
||||
ftdm_time_t last_release_time;
|
||||
};
|
||||
|
||||
struct ftdm_span {
|
||||
@@ -514,6 +515,7 @@ struct ftdm_span {
|
||||
ftdm_channel_sig_read_t sig_read;
|
||||
ftdm_channel_sig_write_t sig_write;
|
||||
ftdm_channel_sig_dtmf_t sig_dtmf;
|
||||
uint32_t sig_release_guard_time_ms;
|
||||
ftdm_channel_state_processor_t state_processor; /*!< This guy is called whenever state processing is required */
|
||||
void *io_data; /*!< Private I/O data per span. Do not touch unless you are an I/O module */
|
||||
char *type;
|
||||
|
Reference in New Issue
Block a user