Module: kamailio Branch: master Commit: 1d54c7db52185981a3fa4ec19df9e7376de40427 URL: https://github.com/kamailio/kamailio/commit/1d54c7db52185981a3fa4ec19df9e7376de40427
Author: Victor Seva <[email protected]> Committer: Victor Seva <[email protected]> Date: 2026-02-10T11:36:44+01:00 ims_registrar_scscf: print string value of ucontact->state This helps a bit while debugging --- Modified: src/modules/ims_registrar_scscf/save.c --- Diff: https://github.com/kamailio/kamailio/commit/1d54c7db52185981a3fa4ec19df9e7376de40427.diff Patch: https://github.com/kamailio/kamailio/commit/1d54c7db52185981a3fa4ec19df9e7376de40427.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!
