diff options
author | Kevin Harwell <kharwell@digium.com> | 2014-01-02 19:08:19 +0000 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2014-01-02 19:08:19 +0000 |
commit | 821ab5138118b36c95f80ea0a54c4b6457a4f572 (patch) | |
tree | 8acaba8d6051228803a83c1058931326e35b0ece /res/res_pjsip.c | |
parent | f720a9ac89f2045f4a60325b661ce85afec95081 (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 'res/res_pjsip.c')
-rw-r--r-- | res/res_pjsip.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c index ab3071c8e..3bb73e6aa 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -665,6 +665,14 @@ set to <literal>sdes</literal> or <literal>dtls</literal>. </para></description> </configOption> + <configOption name="set_var"> + <synopsis>Variable set on a channel involving the endpoint.</synopsis> + <description><para> + When a new channel is created using the endpoint set the specified + variable(s) on that channel. For multiple channel variables specify + multiple 'set_var'(s). + </para></description> + </configOption> </configObject> <configObject name="auth"> <synopsis>Authentication type</synopsis> |