chan_pjsip: Add configure check for 'pjsip_get_dest_info' function.
authorJoshua Colp <jcolp@digium.com>
Tue, 13 Jan 2015 12:09:45 +0000 (12:09 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 13 Jan 2015 12:09:45 +0000 (12:09 +0000)
commit0e631a541dc8881861ded54a2bd66227e2233a57
treea8adf954adbe984c8b07bb64e4d83da9318a6268
parent4dd6b6ff5974d87fd754e47962472437a784736b
chan_pjsip: Add configure check for 'pjsip_get_dest_info' function.

The 'pjsip_get_dest_info' function is used to determine if the signaling transport
of the dialog is secure or not. This function was added in PJSIP 2.3 and does not
exist in earlier versions.

This configure check allows Asterisk to build and run with older versions at the
loss of the 'secure' argument for the PJSIP CHANNEL dialplan function. Usage of
this argument will require upgrading to PJSIP 2.3.

ASTERISK-24665 #close
Reported by: Mark Michelson

Review: https://reviewboard.asterisk.org/r/4329/
........

Merged revisions 430546 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/pjsip/dialplan_functions.c
configure
configure.ac
include/asterisk/autoconfig.h.in