diff options
author | Daniel Journo <dan@keshercommunications.com> | 2016-01-10 22:22:12 +0000 |
---|---|---|
committer | Daniel Journo <dan@keshercommunications.com> | 2016-01-11 22:42:57 +0000 |
commit | 22801a06ee26993db9ad26b39b83315de29410cb (patch) | |
tree | bd83aa831a51c31f3ca6cbb4e57d3be138fe849b /res/res_pjsip.c | |
parent | 4b10fc917340bbbfe6222fa7c6131f004912879a (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 8e99c55d4..8740ae84d 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -1271,6 +1271,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> |