[SR-Users] Retransmission of 407

Marat Gareev maratkin94 at gmail.com
Sun Feb 7 22:01:32 CET 2021


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>:

> 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> 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
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> 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/18666171/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flow_without_retransmit.png
Type: image/png
Size: 17049 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210208/18666171/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: successful_flow.png
Type: image/png
Size: 78790 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210208/18666171/attachment-0001.png>


More information about the sr-users mailing list