[asterisk-bugs] [JIRA] (ASTERISK-24665) Configure check required for pjsip_get_dest_info()

Mark Michelson (JIRA) noreply at issues.asterisk.org
Tue Jan 6 09:37:35 CST 2015


Mark Michelson created ASTERISK-24665:
-----------------------------------------

             Summary: Configure check required for pjsip_get_dest_info()
                 Key: ASTERISK-24665
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24665
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 13.1.0
            Reporter: Mark Michelson


Recently, the {{CHANNEL(pjsip,secure)}} dialplan function was fixed to properly report whether the transport was secure. This uses the PJSIP function {{pjsip_get_dest_info()}} to determine the transport. Unfortunately, this function was added to PJSIP in version 2.3, causing users of PJSIP versions 2.2 or lower to not be able to compile Asterisk without a warning about an implicitly-defined function being used.

Updating the configure script to check for the existence of this function would be useful in our case. If the function does not exist, then we can print an error message if someone attempts to determine if the transport is secure and they do not have {{pjsip_get_dest_info()}}. An alternative would be to roll our own version of {{pjsip_get_dest_info()}} but that introduces an undesirable maintenance burden on us.



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



More information about the asterisk-bugs mailing list