[asterisk-dev] [Code Review] 4329: chan_pjsip: Add configure check for presence of 'pjsip_get_dest_info' function.

Joshua Colp reviewboard at asterisk.org
Tue Jan 13 06:07:00 CST 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4329/
-----------------------------------------------------------

(Updated Jan. 13, 2015, 6:07 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 430546


Bugs: ASTERISK-24665
    https://issues.asterisk.org/jira/browse/ASTERISK-24665


Repository: Asterisk


Description
-------

The 'secure' argument for chan_pjsip was changed in a previous commit to use the pjsip_get_dest_info function to determine if a secure transport is being used for signaling. This function, however, was added as of PJSIP 2.3 and is not in earlier versions. If an earlier version is installed the build may fail and loading the module may also fail.

This change adds a configure check to determine if the pjsip_get_dest_info function is present. If it is not present the 'secure' argument won't work but everything else will continue as before.


Diffs
-----

  /branches/13/include/asterisk/autoconfig.h.in 430491 
  /branches/13/configure.ac 430491 
  /branches/13/configure UNKNOWN 
  /branches/13/channels/pjsip/dialplan_functions.c 430491 

Diff: https://reviewboard.asterisk.org/r/4329/diff/


Testing
-------

Ran configure check, confirmed it found the support.


Thanks,

Joshua Colp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150113/7046a565/attachment.html>


More information about the asterisk-dev mailing list