Module: kamailio Branch: master Commit: 92949eb21a3ce6869fce01f9b080d9502f61edf8 URL: https://github.com/kamailio/kamailio/commit/92949eb21a3ce6869fce01f9b080d9502f61edf8
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2025-07-08T11:52:37+02:00 sms: update main process variable after the internal fork() - probably module should be updated to use internal API fork_process() --- Modified: src/modules/sms/sms.c --- Diff: https://github.com/kamailio/kamailio/commit/92949eb21a3ce6869fce01f9b080d9502f61edf8.diff Patch: https://github.com/kamailio/kamailio/commit/92949eb21a3ce6869fce01f9b080d9502f61edf8.patch --- diff --git a/src/modules/sms/sms.c b/src/modules/sms/sms.c index 412ac212ccc..f2b818dae2a 100644 --- a/src/modules/sms/sms.c +++ b/src/modules/sms/sms.c @@ -607,6 +607,7 @@ int sms_child_init(int rank) goto error; } if(!foo) { + _ksr_is_main = 0; /* initialize the config framework */ if(cfg_child_init()) goto error; _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!