### Description
According to [
RFC4594](https://datatracker.ietf.org/doc/html/rfc4594#page-19)
```
------------------------------------------------------------------
| Service | DSCP | DSCP | Application |
| Class Name | Name | Value | Examples |
|===============+=========+=============+==========================|
|Network Control| CS6 | 110000 | Network routing |
|---------------+---------+-------------+--------------------------|
| Telephony | EF | 101110 | IP Telephony bearer |
|---------------+---------+-------------+--------------------------|
| Signaling | CS5 | 101000 | IP Telephony signaling |
|---------------+---------+-------------+--------------------------|
```
Kamailio should relay SIP messages with DCSP value `CS5`
To set this value I can use in config file
```
tos=0xA0
```
This works as expected
But when I use text form this does not work
```
tos=IPTOS_PREC_CRITIC_ECP
```
`IPTOS_PREC_CRITIC_ECP` defined in the `/usr/include/linux/ip.h` as
```
#define IPTOS_PREC_CRITIC_ECP 0xa0
```
I expect both forms `0xA0` and `IPTOS_PREC_CRITIC_ECP` should works.
Tested on 5.6.2 version
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3368
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3368(a)github.com>