From denys.pozniak@gmail.com Thu May 7 17:11:26 2020 From: Denys Pozniak To: sr-users@lists.kamailio.org Subject: [SR-Users] How Kamailio processes SIP ACK on local 4XX reply? Date: Thu, 07 May 2020 18:10:55 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0002075579==" --===============0002075579== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello! I have some misunderstanding regarding the processing of SIP ACK on local Kamailio 4xx reply (eg 407 Proxy Authentication Required). In the picture below you can see that such a message just goes through the proxy and moreover gets into the *request_route* section. I expect this SIP ACK to be consumed by the sl module without hitting script logic. [image: image.png] I put the part below to the very top of the *request_route* section: *request_route* { if ( is_method("ACK") ) { t_check_trans(); $var(error) = $rc; xlog("L_ERR", "[CATCH_ACK] m=$rm cseq=$cs ru=$ru err=$var(error) [$ci]"); } .... And as a result, I detected in syslog: May 7 16:15:34 test-edge /usr/sbin/kamailio[11642]: ERROR: