[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 19:10:15 CET 2022


@alexyosifov commented on this pull request.



>      // 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 or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3029#pullrequestreview-888068815
You are receiving this because you are subscribed to this thread.

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


More information about the sr-dev mailing list