chan_sip: Add SIPURIPHONECONTEXT channel variable for Request TEL URIs
authorMatthew Jordan <mjordan@digium.com>
Thu, 17 Apr 2014 19:50:05 +0000 (19:50 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 17 Apr 2014 19:50:05 +0000 (19:50 +0000)
commit9e1fc6ab68f830fd12f3f5d8d643e035516f240c
tree89998b47e08b7134b780fec63ab11511cf63484e
parentd028a5fb5b9396ca947cc8c44af723aad620c368
chan_sip: Add SIPURIPHONECONTEXT channel variable for Request TEL URIs

This patch is a continuation of https://reviewboard.asterisk.org/r/3349/,
committed in r412303.

It resolves a finding oej had that the phone-context be available in a
channel variable separate from SIPDOMAIN. This patch adds that variable as
SIPURIPHONECONTEXT. It also allows a local number (or global number specified
in the TEL URI) to be used to look up as a peer.

(issue ASTERISK-17179)

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

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@412467 f38db490-d61c-443f-a65b-d21fe96a405b
CHANGES
channels/chan_sip.c
channels/sip/include/sip.h