[SR-Users] Retransmission of 407

Henning Westerholt hw at skalatan.de
Mon Feb 8 11:59:40 CET 2021


Hello,

do you actually create a transaction before sending the 407, or using t_reply() to do it statefully?

Check also if you not deactivated it on the module level, e.g. https://www.kamailio.org/docs/modules/5.2.x/modules/auth.html#auth.p.force_stateless_reply

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Marat Gareev
Sent: Sunday, February 7, 2021 10:02 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] Retransmission of 407

Isn't this the reason for sending retransmits?

First of all I checked the successful case (attached screenshot).
Then I replaced sending ACK with <timewait milliseconds="4000"/> so that the UAS has time to send retransmits before the connection drops. In this part of scenario:
<recv response="100" optional="true"/>
<recv response="180" optional="true"/>
<recv response="183" optional="true"/>
<recv response="200" rrs="true" optional="true" next="200ok"/>
<recv response="407" auth="true"/>
<send>
<![CDATA[
ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq]
Max-Forwards: 70
Content-Length: [len]
]]>
</send>
And I expect the Kamailio to send a retransmit, but it doesn't.

вс, 7 февр. 2021 г. в 19:31, Alex Balashov <abalashov at evaristesys.com<mailto:abalashov at evaristesys.com>>:
That sounds like the client does not receive the 407.

—
Sent from mobile, with due apologies for brevity and errors.

> On Feb 7, 2021, at 11:12 AM, Marat Gareev <maratkin94 at gmail.com<mailto:maratkin94 at gmail.com>> wrote:
>
> 
> Hello,
>
> UAC sends INVITE to UAS, authorization procedure is required, therefore UAS responds with an 407 error code. At this point, the client does not respond with ACK, but the server does not send retransmits.
> Is this the expected behavior?
> * UAC -- SIPp, UAS -- Kamailio.
>
> Can the Kamailio be configured to send 407 code retransmissions?
>
> Thanks!
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210208/a27904b0/attachment.htm>


More information about the sr-users mailing list