diff options
author | George Joseph <george.joseph@fairview5.com> | 2015-02-10 23:16:40 +0000 |
---|---|---|
committer | George Joseph <george.joseph@fairview5.com> | 2015-02-10 23:16:40 +0000 |
commit | 4d8ab20a8abac76c680a40605bb6e6e8e675afde (patch) | |
tree | 325f79c5659ab360a2732dc084f60844bb580474 /rest-api-templates/asterisk_processor.py | |
parent | 32e42e50cc3316fee9343fed3323a8f771bffb53 (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/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@431643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api-templates/asterisk_processor.py')
0 files changed, 0 insertions, 0 deletions