diff options
author | Olle Johansson <oej@edvina.net> | 2007-12-16 10:51:53 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2007-12-16 10:51:53 +0000 |
commit | 17afebc1a66f6cb114abfbd0a0490f7e45b3bdc6 (patch) | |
tree | 1737bbf754fc80795d7da8a7e44ef757640a050f /channels/chan_iax2.c | |
parent | 4d0ceb96ba5d97407f0ca819b0053055c4cc9d5d (diff) |
HUGE improvements to QoS/CoS handling by IgorG
- Refer to the proper documentation
- Implement separate signalling/media QoS/CoS in many channels using RTP
- Improve warnings and verbose messages
- Deprecate some old settings
Minor modifications by me, a big effort from IgorG.
Thanks!
Reported by: IgorG
Patches:
qoscleanup-89394-4-trunk.patch uploaded by IgorG (license 20)
Tested by: IgorG
(closes issue #11145)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r-- | channels/chan_iax2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 3288800e7..b1205ef92 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -10422,13 +10422,13 @@ static int set_config(char *config_file, int reload) tosval = ast_variable_retrieve(cfg, "general", "tos"); if (tosval) { if (ast_str2tos(tosval, &tos)) - ast_log(LOG_WARNING, "Invalid tos value, see doc/qos.tex for more information.\n"); + ast_log(LOG_WARNING, "Invalid tos value, refer to QoS documentation\n"); } /* Seed initial cos value */ tosval = ast_variable_retrieve(cfg, "general", "cos"); if (tosval) { if (ast_str2cos(tosval, &cos)) - ast_log(LOG_WARNING, "Invalid cos value, see doc/qos.tex for more information.\n"); + ast_log(LOG_WARNING, "Invalid cos value, refer to QoS documentation\n"); } while(v) { if (!strcasecmp(v->name, "bindport")){ @@ -10601,10 +10601,10 @@ static int set_config(char *config_file, int reload) ast_context_create(NULL, regcontext, "IAX2"); } else if (!strcasecmp(v->name, "tos")) { if (ast_str2tos(v->value, &tos)) - ast_log(LOG_WARNING, "Invalid tos value at line %d, see doc/qos.tex for more information.'\n", v->lineno); + ast_log(LOG_WARNING, "Invalid tos value at line %d, refer to QoS documentation\n", v->lineno); } else if (!strcasecmp(v->name, "cos")) { if (ast_str2cos(v->value, &cos)) - ast_log(LOG_WARNING, "Invalid cos value at line %d, see doc/qos.tex for more information.'\n", v->lineno); + ast_log(LOG_WARNING, "Invalid cos value at line %d, refer to QoS documentation\n", v->lineno); } else if (!strcasecmp(v->name, "accountcode")) { ast_copy_string(accountcode, v->value, sizeof(accountcode)); } else if (!strcasecmp(v->name, "mohinterpret")) { |