mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-24 17:28:41 -07:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user