[Home]

Summary:ASTERISK-27827: Asterisk crash with match_header
Reporter:Abhay Gupta (agupta)Labels:pjsip
Date Opened:2018-04-24 23:08:47Date Closed:2018-04-25 04:28:53
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip_endpoint_identifier_ip
Versions:15.3.0 Frequency of
Occurrence
Constant
Related
Issues:
duplicatesASTERISK-27548 res_pjsip_endpoint_identifier_ip only matches against "generic string" headers
Environment:Asterisk 15.3 on Ubuntu with type=identify and match_headerAttachments:( 0) crash.rtf
( 1) pjsip.conf.rtf
Description:Since match_header was not working properly i created 3 identify section and in one i used From: in other Cseq: and third with To:

Stared asterisk is debug mode and as we can see it either prints garbage or blank value in match error on INVITE and next message it seems to crash on CSeq .

It does not crash if i remove CSeq
Comments:By: Asterisk Team (asteriskteam) 2018-04-24 23:08:48.243-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Abhay Gupta (agupta) 2018-04-24 23:09:38.101-0500

This file has console debug logs , bt and bt full

By: Abhay Gupta (agupta) 2018-04-24 23:11:38.837-0500

pjsip identify section looks like the attached file