summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2006-09-27 16:25:45 +0000
committerJoshua Colp <jcolp@digium.com>2006-09-27 16:25:45 +0000
commitfcad797dfdba9e31077f26db3cd1ae0d23c42e40 (patch)
treea239371cb21a80ca80decca8f5a8ed292fb54295 /channels
parente1e63b2355c6aa997135b721894a9bba8bed5393 (diff)
Merged revisions 43774 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43774 | file | 2006-09-27 12:23:12 -0400 (Wed, 27 Sep 2006) | 2 lines Make rfc2833compensate a global option. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 34ac44678..6ae7e8df2 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -10000,6 +10000,7 @@ static int sip_show_settings(int fd, int argc, char *argv[])
ast_cli(fd, " T38 fax pt UDPTL: %s\n", ast_test_flag(&global_flags[1], SIP_PAGE2_T38SUPPORT_UDPTL) ? "Yes" : "No");
ast_cli(fd, " T38 fax pt RTP: %s\n", ast_test_flag(&global_flags[1], SIP_PAGE2_T38SUPPORT_RTP) ? "Yes" : "No");
ast_cli(fd, " T38 fax pt TCP: %s\n", ast_test_flag(&global_flags[1], SIP_PAGE2_T38SUPPORT_TCP) ? "Yes" : "No");
+ ast_cli(fd, " RFC2833 Compensation: %s\n", ast_test_flag(&global_flags[1], SIP_PAGE2_RFC2833_COMPENSATE) ? "Yes" : "No");
if (!realtimepeers && !realtimeusers)
ast_cli(fd, " SIP realtime: Disabled\n" );
else
@@ -15901,6 +15902,10 @@ static int reload_config(enum channelreloadreason reason)
if (ast_true(v->value)) {
ast_set_flag(&global_flags[1], SIP_PAGE2_T38SUPPORT_TCP);
}
+ } else if (!strcasecmp(v->name, "rfc2833compensate")) {
+ if (ast_true(v->value)) {
+ ast_set_flag(&global_flags[1], SIP_PAGE2_RFC2833_COMPENSATE);
+ }
}
}