[sr-dev] [kamailio/kamailio] TOS field not overtaken by RTPengine (#2303)

mihovilkolaric notifications at github.com
Tue Apr 28 08:47:46 CEST 2020


Thanks for that clarification - this is what I observed ;-)

>From this description in the module's documentation:

> TOS=... - change the IP TOS value for all outgoing RTP packets within the entire call in both directions. Only honoured in an “offer”, ignored for an “answer”. Valid values are 0 through 255, given in decimal. If this option is not specified, the TOS value will revert to the default TOS (normally 184). A value of -1 may be used to leave the currently used TOS unchanged. 

Resp. also from the source-comment in daemon/calls.c:

```
/* Handle TOS= parameter. Negative value = no change, not present or too large =
 * revert to default, otherwise set specified value. We only do it in an offer, but
 * then for both directions. */
```
I interpreted "no change" as "as received".

What is then actually the difference between negative value ("no change") and > 255 "revert to default"? Both result in the same default? 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2303#issuecomment-620414684
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200427/d3658445/attachment.html>


More information about the sr-dev mailing list