Verbose level & QoS display


#1

How do I remove the following from being displayed without completely turning off other information we like to display in the CLI:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using UDPTL TOS bits 184
== Using UDPTL CoS mark 5

These QoS statements keeps showing up in the CLI creating clutter when I have a very active system. I tried reducing verbose level but it doesn’t help or help too much!

verbose 0 - everything off, duh!
verbose 1 - nothing worthy is displayed including qos
verbose 2 - QoS messages displayed along with some minimal message of call channel getting created
verbose 3 - Have all the relevant info we need of calls coming, but QoS message display clutters up the cli

Debug is set to off the whole time.


#2

Don’t overrides the TOS/CoS, or use verbosity < 2, or edit main/netsock.c and rebuild.


#3

We did not edit QoS settings. Its the default. I guess that’s the only option is to edit code by removing these lines:

ast_verb(2, “Using %s TOS bits %d\n”, desc, tos);
ast_verb(2, “Using %s CoS mark %d\n”, desc, cos);

I did not see the following in netsock.c
== Using UDPTL TOS bits 184
== Using UDPTL CoS mark 5


#4

They are probably being set by sip.conf.

%s is a place holder for a string parameter.