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)
commit7d26eefce43bf5f0d51c97377dcc96820a909d5e
tree0c070aaa3005881e13dd45229b8285ee92b88999
parent3043cd363dcc4788adab0010111302d90ad113ca
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: https://origsvn.digium.com/svn/asterisk/trunk@412467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
channels/chan_sip.c
channels/sip/include/sip.h