This patch adds a new function, PJSIP_ENDPOINT, which lets the dialplan query,
for any endpoint, any property configured on an endpoint. This function is a
companion to the CHANNEL function, which can be used to extract the endpoint
name for a channel.
Review: https://reviewboard.asterisk.org/r/3035
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@403616 65c4cc65-6c06-0410-ace0-fbb531ad65f3