[sr-dev] [kamailio/kamailio] ims_ipsec_pcscf: fix issues with UEs not sending certain replies thro… (PR #3029)

alexyosifov notifications at github.com
Sun Feb 20 22:39:12 CET 2022


@alexyosifov commented on this pull request.



> @@ -670,16 +638,11 @@ int ipsec_create(struct sip_msg* m, udomain_t* d, int _cflags)
     }
 
     // Get security parameters
-    if(pcontact->security_temp == NULL) {
+    if(pcontact->security_temp == NULL || pcontact->security_temp->type != SECURITY_IPSEC) {

Keep the old code. The new one cannot distinguish between the errors: "No security parameters found" and "Unsupported security type"

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3029#pullrequestreview-888088726
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3029/review/888088726 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220220/801799dc/attachment.htm>


More information about the sr-dev mailing list