Module: kamailio Branch: 6.1 Commit: f0bcf13c7ed9571849bb879f2c2e2d4a65d44953 URL: https://github.com/kamailio/kamailio/commit/f0bcf13c7ed9571849bb879f2c2e2d4a65d44953
Author: Victor Seva <[email protected]> Committer: Victor Seva <[email protected]> Date: 2026-02-10T11:42:15+01:00 ims_registrar_scscf: print string value of ucontact->state This helps a bit while debugging (cherry picked from commit 1d54c7db52185981a3fa4ec19df9e7376de40427) --- Modified: src/modules/ims_registrar_scscf/save.c --- Diff: https://github.com/kamailio/kamailio/commit/f0bcf13c7ed9571849bb879f2c2e2d4a65d44953.diff Patch: https://github.com/kamailio/kamailio/commit/f0bcf13c7ed9571849bb879f2c2e2d4a65d44953.patch --- diff --git a/src/modules/ims_registrar_scscf/save.c b/src/modules/ims_registrar_scscf/save.c index 7dc7c906613..aef8a64203c 100644 --- a/src/modules/ims_registrar_scscf/save.c +++ b/src/modules/ims_registrar_scscf/save.c @@ -590,8 +590,9 @@ static inline int update_contacts_helper(struct sip_msg *msg, } } else { LM_DBG("Contact already exists - updating - it's " - "currently in state [%d]\n", - ucontact->state); + "currently in state [%s]\n", + get_contact_state_as_string( + ucontact->state)); sl = ucontact->sl; ul.lock_contact_slot_i(sl); if(ucontact->state != CONTACT_VALID) { _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
