[asterisk-bugs] [JIRA] (ASTERISK-29667) Asterisk sends with the wrong Nonce to the Telecom operator for the Registration Packet.

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Sep 27 12:05:49 CDT 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256504#comment-256504 ] 

Kevin Harwell commented on ASTERISK-29667:
------------------------------------------

That's a lot of data to wade through. Could you be more specific, and narrow down which registration attempt is having the problem? Or are all having the problem I'll describe below?

Some I have looked at it appears that Asterisk is sending a registration attempt with a nonce, which is rejected. Asterisk continues to retransmit this request (not sure why). Eventually though it does process the 401 and Asterisk sends a new registration with the updated nonce from the received 401. However, the provider rejects this new attempt again with a 401, and different nonce. For the call-id I looked at {{3b02fa216d1e3f777ceba1d714480b35 at 10.10.5.23}} (in _Trace_27092021_1157.pcap_ and _messages.2021-09-27-12-00-02_) this process continues with no apparent end (at least in that pcap).


> Asterisk sends with the wrong Nonce to the Telecom operator for the Registration Packet.
> ----------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-29667
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29667
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General, Channels/chan_sip/Registration
>    Affects Versions: 16.17.0
>         Environment: OS : CentOS Linux release 7.9.2009 (Core)
> Asterisk : Asterisk 16.17.0
> Chan_sip used 
>            Reporter: Vijo Jose
>            Assignee: Unassigned
>         Attachments: 27-09-2021.zip, Asterisk_ChanSIP_Nounce_22092021.txt, logging.txt
>
>
> I have a SIP trunk from a telecom operator which is registered on the Asterisk Box.
> Asterisk sends with the wrong Nonce to the Telecom operator for the Registration Packet and due to this the operator rejects the sip registration packet.
> Asterisk was supposed to send the registration request with Nonce received from the previous unauthorized from Telecom operator and with new Cseq number. But the same is not happening intermittently.



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



More information about the asterisk-bugs mailing list