[asterisk-bugs] [JIRA] (ASTERISK-29003) Asterisk 13 PJSIP: Irregular Response to OPTION-Requests

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Wed Jul 22 06:06:25 CDT 2020


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

Joshua C. Colp edited comment on ASTERISK-29003 at 7/22/20 6:04 AM:
--------------------------------------------------------------------

It's not as simple as that. I just started up a latest Asterisk 13 and hit it with a ton of OPTIONS requests simultaneously[1], more than you are doing (I'm doing 10 per second), and did not experience the problem. All received a SIP response. This issue also hasn't been reported by any other Asterisk user from what I can see. So that means something about your setup is unique. That could be your specific configuration, or it could even be the OPTIONS being produced but they don't look out of the ordinary.

[1] https://github.com/asterisk/testsuite/blob/master/tests/channels/pjsip/handle_options_request/sipp/options_404.xml


was (Author: jcolp):
It's not as simple as that. I just started up a latest Asterisk 13 and hit it with a ton of OPTIONS requests simultaneously[1], more than you are doing (I'm doing 10 per second), and did not experience the problem. All received a SIP response. This issue also hasn't been reported by any other Asterisk user from what I can see. So that means something about your setup is unique. That could be your specific configuration, or it could even be the OPTIONS being produced by they don't look out of the ordinary.

[1] https://github.com/asterisk/testsuite/blob/master/tests/channels/pjsip/handle_options_request/sipp/options_404.xml

> Asterisk 13 PJSIP: Irregular Response to OPTION-Requests
> --------------------------------------------------------
>
>                 Key: ASTERISK-29003
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29003
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.32.0
>            Reporter: Christian Berger
>            Assignee: Christian Berger
>            Severity: Trivial
>         Attachments: nagios.pcap
>
>
> For some reason Asterisk with PJSIP often does not respond to SIP OPTION requests.
> Whenever such a packet arrives it logs the following. However it often does not respond.
> [Jul 22 11:17:32] DEBUG[30932] res_pjsip/pjsip_distributor.c: Could not find matching transaction for Request msg OPTIONS/cseq=1 (rdata0x7f4484310a88)
> [Jul 22 11:17:32] DEBUG[30932] res_pjsip/pjsip_distributor.c: Calculated serializer pjsip/distributor-0000002a to use for Request msg OPTIONS/cseq=1 (rdata0x7f4484310a88)
> [Jul 22 11:17:32] DEBUG[3442] netsock2.c: Splitting '213.167.166.18' into...
> [Jul 22 11:17:32] DEBUG[3442] netsock2.c: ...host '213.167.166.18' and port ''.
> [Jul 22 11:17:32] DEBUG[3442] res_pjsip_endpoint_identifier_ip.c: Source address 213.167.166.18:60860 matches identify 'sgw'
> [Jul 22 11:17:32] DEBUG[3442] res_pjsip_endpoint_identifier_ip.c: Identify 'sgw' SIP message matched to endpoint sgw



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



More information about the asterisk-bugs mailing list