[asterisk-bugs] [JIRA] (ASTERISK-19003) asterisk closes TLS connection after receiving ACK for 401 following INVITE sent by Snom m9

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Aug 7 20:06:30 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-19003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-19003.
----------------------------------

    Resolution: Fixed

> asterisk closes TLS connection after receiving ACK for 401 following INVITE sent by Snom m9
> -------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-19003
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19003
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/TCP-TLS
>    Affects Versions: 1.8.7.1
>         Environment: Debian squeeze amd64
>            Reporter: Gregor Schaffrath
>         Attachments: Asterisk-TLS.zip, Asterisk-TLS.zip, relevant_bits.log, snom_fail.log, snom_fail.log, snom_fail_noansi.log
>
>
> Registering the Snom m9 via TLS works fine.
> The initial INVITE triggers a 401 Unauthorized response from asterisk.
> The received ACK is handled by handle_incoming, and then asterisk states that it did not find the CSeq used for all previous messages and disconnects without waiting for the new INVITE:
> ---
> (last lines)
> [Dec 10 00:08:33] ^[[1;32mDEBUG^[[0m[3292]: ^[[1;37mchan_sip.c^[[0m:^[[1;37m7835^[[0m ^[[1;37mfind_call^[[0m: = Looking for  Call ID: povyizfse8 (Checking From) --From tag 9fs5t8 --To-tag as791817a8
> [Dec 10 00:08:33] ^[[1;32mDEBUG^[[0m[3292]: ^[[1;37mchan_sip.c^[[0m:^[[1;37m24471^[[0m ^[[1;37mhandle_incoming^[[0m: **** Received ACK (6) - Command in SIP ACK
> [Dec 10 00:08:33] ^[[1;32mDEBUG^[[0m[3292]: ^[[1;37mchan_sip.c^[[0m:^[[1;37m4011^[[0m ^[[1;37m__sip_ack^[[0m: Stopping retransmission on 'povyizfse8' of Response 29123: Match Not Found
> ---
> It seems as if asterisk just forgot about the CSeq after sending the 401?
> The new INVITE sent immediately after the ACK never reaches asterisk, but merely triggers TCP RST packets from the server.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list