[OpenSIPS-Users] [dialog] variable DLG_status returns wrong value

Stas Kobzar staskobzar at gmail.com
Wed Jan 28 20:23:02 UTC 2026


Hi all,

Variable *$DLG_status* returns "1" in the response route after provisional
responses are received.
Here is extraction of the logs:
//-------------------------------------------------------------
NOTICE:=====> incoming reply T_reply_code=100, DLG_status=1
NOTICE:=====> incoming reply T_reply_code=180, DLG_status=1
NOTICE:=====> incoming reply T_reply_code=200, DLG_status=2
//-------------------------------------------------------------

Reply route code with log:
//-------------------------------------------------------------
onreply_route[main_reply] {
    xlog("=====> incoming reply T_reply_code=$T_reply_code,
DLG_status=$DLG_status\n");
}
//-------------------------------------------------------------

Doc says:
1 - Dialog unconfirmed (created but no reply received at all)

So, I expect to see "DLG_status=2" when first 100 response received (Dialog
in early state).

The script is very simple and generated with "make menuconfig" (please, see
attached)

I have tried with ver 3.4 and 3.6
My question: is it a bug or am I missing some configuration?

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20260128/cf07ae59/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensips-redisential-34.cfg
Type: application/octet-stream
Size: 6407 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20260128/cf07ae59/attachment.obj>


More information about the Users mailing list