diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-04-17 19:50:05 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-04-17 19:50:05 +0000 |
commit | 7d26eefce43bf5f0d51c97377dcc96820a909d5e (patch) | |
tree | 0c070aaa3005881e13dd45229b8285ee92b88999 /channels/sip | |
parent | 3043cd363dcc4788adab0010111302d90ad113ca (diff) |
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
Diffstat (limited to 'channels/sip')
-rw-r--r-- | channels/sip/include/sip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h index 4ea20ea4c..9737806e3 100644 --- a/channels/sip/include/sip.h +++ b/channels/sip/include/sip.h @@ -1038,6 +1038,7 @@ struct sip_pvt { AST_STRING_FIELD(last_presence_subtype); /*!< The last presence subtype sent for a subscription. */ AST_STRING_FIELD(last_presence_message); /*!< The last presence message for a subscription */ AST_STRING_FIELD(msg_body); /*!< Text for a MESSAGE body */ + AST_STRING_FIELD(tel_phone_context); /*!< The phone-context portion of a TEL URI */ ); char via[128]; /*!< Via: header */ int maxforwards; /*!< SIP Loop prevention */ |