mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
make dtmf duration defaults tweakable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8126 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -184,6 +184,8 @@ struct switch_runtime {
|
||||
switch_log_level_t hard_log_level;
|
||||
char *mailer_app;
|
||||
char *mailer_app_args;
|
||||
uint32_t max_dtmf_duration;
|
||||
uint32_t default_dtmf_duration;
|
||||
};
|
||||
|
||||
extern struct switch_runtime runtime;
|
||||
|
||||
@@ -1598,6 +1598,8 @@ SWITCH_DECLARE(time_t) switch_timestamp(time_t *t);
|
||||
SWITCH_DECLARE(void) switch_load_network_lists(switch_bool_t reload);
|
||||
SWITCH_DECLARE(switch_bool_t) switch_check_network_list_ip(const char *ip_str, const char *list_name);
|
||||
SWITCH_DECLARE(void) switch_time_set_monotonic(switch_bool_t enable);
|
||||
SWITCH_DECLARE(uint32_t) switch_core_max_dtmf_duration(uint32_t duration);
|
||||
SWITCH_DECLARE(uint32_t) switch_core_default_dtmf_duration(uint32_t duration);
|
||||
|
||||
///\}
|
||||
|
||||
|
||||
@@ -1137,7 +1137,9 @@ typedef enum {
|
||||
SCSC_LAST_SPS,
|
||||
SCSC_RECLAIM,
|
||||
SCSC_MAX_SESSIONS,
|
||||
SCSC_SYNC_CLOCK
|
||||
SCSC_SYNC_CLOCK,
|
||||
SCSC_MAX_DTMF_DURATION,
|
||||
SCSC_DEFAULT_DTMF_DURATION
|
||||
} switch_session_ctl_t;
|
||||
|
||||
typedef struct apr_pool_t switch_memory_pool_t;
|
||||
|
||||
Reference in New Issue
Block a user