@alexyosifov commented on this pull request.


In src/modules/ims_ipsec_pcscf/cmd.c:

> @@ -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, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3029/review/888088726@github.com>