[Home]

Summary:ASTERISK-27548: res_pjsip_endpoint_identifier_ip only matches against "generic string" headers
Reporter:George Joseph (gjoseph)Labels:pjsip
Date Opened:2018-01-04 20:05:20.000-0600Date Closed:2018-08-03 13:27:25
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip_endpoint_identifier_ip
Versions:13.18.5 GIT 15.1.5 Frequency of
Occurrence
Related
Issues:
is duplicated byASTERISK-27827 Asterisk crash with match_header
is duplicated byASTERISK-27982 res_pjsip: Crash on improperly formatted match_header in ps_endpoint_ips
is related toASTERISK-27491 res_pjsip_endpoint_identifier_ip only matches against header if match by ip fails
is related toASTERISK-27996 PJSIP: match_header endpoint matching does not support inbound registration
Environment:Attachments:
Description:The code assumes that the header being searched for is a pjsip_generic_string_hdr and so won't match any non-generic headers like To.

http://lists.digium.com/pipermail/asterisk-users/2017-December/292244.html
Comments:By: Trushakov Zheny (toOTOot) 2018-05-09 04:01:33.521-0500

I have problem too. That work only with User-Agent. This can be fixed?

By: Joshua C. Colp (jcolp) 2018-05-09 04:29:57.524-0500

The issue has been triaged and accepted. I know of noone actively working on it, though.

By: Friendly Automation (friendly-automation) 2018-08-03 13:27:26.551-0500

Change 9718 merged by Kevin Harwell:
res_pjsip_endpoint_identifier_ip.c: Added regex support to match_header

[https://gerrit.asterisk.org/9718|https://gerrit.asterisk.org/9718]

By: Friendly Automation (friendly-automation) 2018-08-03 13:27:36.555-0500

Change 9719 merged by Kevin Harwell:
res_pjsip_endpoint_identifier_ip.c: Added regex support to match_header

[https://gerrit.asterisk.org/9719|https://gerrit.asterisk.org/9719]

By: Friendly Automation (friendly-automation) 2018-08-03 13:27:44.339-0500

Change 9720 merged by Kevin Harwell:
res_pjsip_endpoint_identifier_ip.c: Added regex support to match_header

[https://gerrit.asterisk.org/9720|https://gerrit.asterisk.org/9720]

By: Friendly Automation (friendly-automation) 2018-08-03 13:27:56.242-0500

Change 9721 merged by Kevin Harwell:
res_pjsip_endpoint_identifier_ip.c: Added regex support to match_header

[https://gerrit.asterisk.org/9721|https://gerrit.asterisk.org/9721]