git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@963 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2006-03-29 21:27:35 +00:00
1 parent 011a5ccf12
commit 9ed06edb96
7 files changed
+8 -2835

No files matched your search

+1 -4
View File
@@ -90,7 +90,6 @@ static struct {
switch_mutex_t *port_lock;
int running;
int codec_ms;
int supress_telephony_events;
int dtmf_duration;
unsigned int flags;
} globals;
@@ -637,7 +636,7 @@ static switch_status exosip_read_frame(switch_core_session *session, switch_fram
}
if (globals.supress_telephony_events && payload != tech_pvt->payload_num) {
if (payload != tech_pvt->payload_num) {
tech_pvt->read_frame.datalen = 0;
switch_yield(1000);
continue;
@@ -1582,8 +1581,6 @@ static int config_exosip(int reload)
globals.rtp_end = atoi(val);
} else if (!strcmp(var, "codec_ms")) {
globals.codec_ms = atoi(val);
} else if (!strcmp(var, "supress_telephony_events")) {
globals.supress_telephony_events = switch_true(val);
} else if (!strcmp(var, "dtmf_duration")) {
int dur = atoi(val);
if (dur > 10 && dur < 8000) {
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff