@alexyosifov commented on this pull request.


In src/modules/ims_ipsec_pcscf/cmd.c:

>      // Update contacts only for initial registration, for re-registration the existing contacts shouldn't be updated.
-    if(ci.via_port == SIP_PORT){
+    if(ci.via_port == SIP_PORT && req_sec_params == NULL){

ipsec_create() should be invoked exactly before 401 reply. From my practice in received REGISTER on 5060 there is always sec-agree header and this if block will never been TRUE.


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/888068815@github.com>