mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user