kamailio version: kamailio 5.1.2 (x86_64/linux)

If "onsend_route" routing block is defined at the beginning of the kamailio.cfg routing part, the name defined in "src/core/cfg.lex" file (DEFAULT_SEND) is used when printed in the json files.

Instead, if this routing block is defined in between the configuration, its name is changed to the previous defined block.
For example, if the cfg file looks like the following:

route[TEST_1]
{
...
}
onsend_route
{
...
}
route[TEST_2]
{
...
}

then in the output json file, the "onsend_route" block is called TEST_1.

The issue doesn't happen for "request_route" block.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.