summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2014-01-02 19:08:19 +0000
committerKevin Harwell <kharwell@digium.com>2014-01-02 19:08:19 +0000
commit821ab5138118b36c95f80ea0a54c4b6457a4f572 (patch)
tree8acaba8d6051228803a83c1058931326e35b0ece /include
parentf720a9ac89f2045f4a60325b661ce85afec95081 (diff)
res_pjsip: add 'set_var' support on endpoints
Added a new 'set_var' option for ast_sip_endpoint(s). For each variable specified that variable gets set upon creation of a pjsip channel involving the endpoint. (closes issue ASTERISK-22868) Reported by: Joshua Colp Review: https://reviewboard.asterisk.org/r/3095/ ........ Merged revisions 404663 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/res_pjsip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h
index f4f9ba7c7..04a24cde3 100644
--- a/include/asterisk/res_pjsip.h
+++ b/include/asterisk/res_pjsip.h
@@ -589,6 +589,8 @@ struct ast_sip_endpoint {
unsigned int allowtransfer;
/*! Method used when handling redirects */
enum ast_sip_session_redirect redirect_method;
+ /*! Variables set on channel creation */
+ struct ast_variable *channel_vars;
};
/*!