[sr-dev] [kamailio/kamailio] pv: log uninit $var() (PR #3114)

Stefan Mititelu notifications at github.com
Tue May 17 16:11:42 CEST 2022

@miconda indeed you are right, but it will help in this situation:
- first request has not SOME_HEADER
- try to use a $var which value has not been explicitly set before => log a warning

If we start kamailio with e.g. 64 (routing) child processes there are 64 first SIP messages that might or might not have SOME_HEADER => some will print warning, some will not => if really unlucky, all will not :D

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

Message ID: <kamailio/kamailio/pull/3114/c1128922137 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220517/becfdcd7/attachment.htm>

More information about the sr-dev mailing list