diff options
author | George Joseph <george.joseph@fairview5.com> | 2015-02-10 23:17:17 +0000 |
---|---|---|
committer | George Joseph <george.joseph@fairview5.com> | 2015-02-10 23:17:17 +0000 |
commit | 49161d8df80925ff674204d288ba491876530715 (patch) | |
tree | 50abf89a19531f6528c50edb0d5fe9a2488cadc2 /main/taskprocessor.c | |
parent | 858e8255688dec31748c81f222c7036c9776ac44 (diff) |
res_pjsip_config_wizard: Add ability to auto-create hints.
Looking at the Super Awesome Company sample reminded me that creating hints is
just plain gruntwork. So you can now have the pjsip conifg wizard auto-create
them for you.
Specifying 'hint_exten' in the wizard will create
'exten => <hint_exten>,hint/PJSIP/<wizard_id>'
in whatever is specified for 'hint_context'.
Specifying 'hint_application' in the wizard will create
'exten => <hint_exten>,1,<hint_application>'
in whatever is specified for 'hint_context'.
The default for 'hint_context' is the endpoint's context.
There's no default for 'hint_application'. If not specified, no app is added.
There's no default for 'hint_exten'. If not specified, neither the hint itself
nor the application will be created.
Some may think this is the slippery slope to users.conf but hints are a basic
necessity for phones unlike voicemail, manager, etc that users.conf creates.
Tested-by: George Joseph
Review: https://reviewboard.asterisk.org/r/4383/
........
Merged revisions 431643 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/taskprocessor.c')
0 files changed, 0 insertions, 0 deletions