Module: kamailio
Branch: master
Commit: 279454ff8d4e5804d92a8690c4de3a507efbc44f
URL: 
https://github.com/kamailio/kamailio/commit/279454ff8d4e5804d92a8690c4de3a507efbc44f

Author: Supreeth Herle <herlesupre...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2023-11-30T10:18:47+01:00

ims_ipsec_pcscf: new function to destroy IPSec based on Contact and received IP 
and port

- the default ipsec_destroy() cannot be used to used destroy IPSec in any route 
and
  needed to be used exactly after all the de-registration process was complete. 
But,
  as per the kamailio P-CSCF config script, ipsec_destroy() was used in reply 
route of
  NATPING, which didn't have any idea about SIP Register message used for 
de-registration.
  Thus, resulting in IPSec not being destroyed even after de-registration was 
complete.
- the newly introduced function ipsec_destroy_by_contact() takes domain, 
contact, received host
  and received port in order to determine the exact UE's IPSec tunnel to 
destroy.

---

Modified: src/modules/ims_ipsec_pcscf/cmd.c
Modified: src/modules/ims_ipsec_pcscf/cmd.h
Modified: src/modules/ims_ipsec_pcscf/ims_ipsec_pcscf_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/279454ff8d4e5804d92a8690c4de3a507efbc44f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/279454ff8d4e5804d92a8690c4de3a507efbc44f.patch

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to