[Home]

Summary:ASTERISK-24665: Configure check required for pjsip_get_dest_info()
Reporter:Mark Michelson (mmichelson)Labels:
Date Opened:2015-01-06 09:36:41.000-0600Date Closed:2015-01-13 06:10:19.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:13.2.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description: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.
Comments: