More PRI/SIP gateway stuff

**ATTENTION** you will need to libs/jrtplib/.complete ; make installall 
to get it to compile on existing builds as the jrtplib required changes.

Added teletone DTMF to mod_wanpipe and rfc2933 DTMF to mod_exosip
Added temporary poor man's daemon
freeswitch -nc > /var/log/freeswitch.log

then it will await a HUP




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@659 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2006-02-23 22:41:08 +00:00
1 parent 4c9d54d474
commit 01fd1c3af4
8 files changed
+213 -42

No files matched your search

@@ -72,6 +72,7 @@ static struct {
int mtu;
int dtmf_on;
int dtmf_off;
int supress_dtmf_tone;
char *dialplan;
} globals;
@@ -572,6 +573,9 @@ static switch_status wanpipe_read_frame(switch_core_session *session, switch_fra
if (globals.debug) {
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "DTMF DETECTED: [%s]\n", digit_str);
}
if (globals.supress_dtmf_tone) {
memset(tech_pvt->read_frame.data, 0, tech_pvt->read_frame.datalen);
}
}
*frame = &tech_pvt->read_frame;
@@ -1093,6 +1097,8 @@ static int config_wanpipe(int reload)
globals.dtmf_on = atoi(val);
} else if (!strcmp(var, "dtmf_off")) {
globals.dtmf_off = atoi(val);
} else if (!strcmp(var, "supress_dtmf_tone")) {
globals.supress_dtmf_tone = switch_true(val);
}
} else if (!strcasecmp(cfg.category, "span")) {
if (!strcmp(var, "span")) {