[asterisk-bugs] [JIRA] (ASTERISK-27491) res_pjsip_endpoint_identifier_ip only matches against header if match by ip fails

George Joseph (JIRA) noreply at issues.asterisk.org
Tue Dec 19 07:56:07 CST 2017


George Joseph created ASTERISK-27491:
----------------------------------------

             Summary: res_pjsip_endpoint_identifier_ip only matches against header if match by ip fails
                 Key: ASTERISK-27491
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27491
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip_endpoint_identifier_ip
    Affects Versions: 15.1.4, 13.18.4
            Reporter: George Joseph
            Severity: Minor


The match_header capability added to res_pjsip_endpoint_identifier_ip has limited usefulness because the order is fixed.  A check for match on ip address is done first, then headers are checked only if no match by ip address is found.

We should add a new constant "header" to the list of available identify_by values and update the res_pjsip_endpoint_identifier_ip to register itself twice, once for "ip" and once for "match_header".




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



More information about the asterisk-bugs mailing list