diff options
author | Daniel Journo <dan@keshercommunications.com> | 2016-01-10 22:22:12 +0000 |
---|---|---|
committer | Daniel Journo <dan@keshercommunications.com> | 2016-01-13 11:42:20 -0600 |
commit | 8182146e850515084056acc9f3d7b0b6534af44e (patch) | |
tree | 7734e9484e70291de87eb191cf3c9d8958c7971d /res/res_pjsip.c | |
parent | ef57080b27cee39991a2bf501d6fadfe8bc61146 (diff) |
pjsip: Add option global/regcontext
Added new global option (regcontext) to pjsip. When set, Asterisk will
dynamically create and destroy a NoOp priority 1 extension
for a given endpoint who registers or unregisters with us.
ASTERISK-25670 #close
Reported-by: Daniel Journo
Change-Id: Ib1530c5b45340625805c057f8ff1fb240a43ea62
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r-- | res/res_pjsip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c index 90be734e6..b3c6773b4 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -1282,6 +1282,10 @@ <configOption name="user_agent" default="Asterisk <Asterisk Version>"> <synopsis>Value used in User-Agent header for SIP requests and Server header for SIP responses.</synopsis> </configOption> + <configOption name="regcontext" default=""> + <synopsis>When set, Asterisk will dynamically create and destroy a NoOp priority 1 extension for a given + peer who registers or unregisters with us.</synopsis> + </configOption> <configOption name="default_outbound_endpoint" default="default_outbound_endpoint"> <synopsis>Endpoint to use when sending an outbound request to a URI without a specified endpoint.</synopsis> </configOption> |