diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-27 16:25:45 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-27 16:25:45 +0000 |
commit | 2e6918ea88cbec37d04098634d858fc3c43010d2 (patch) | |
tree | a239371cb21a80ca80decca8f5a8ed292fb54295 /channels | |
parent | c6d618b89a1088672f89384efcf3c57f0d75b1a0 (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: http://svn.digium.com/svn/asterisk/trunk@43776 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 5 |
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); + } } } |