Makes 'dialplan add extension' create the specified context if it does not already...
authorJonathan Rose <jrose@digium.com>
Mon, 4 Apr 2011 17:32:05 +0000 (17:32 +0000)
committerJonathan Rose <jrose@digium.com>
Mon, 4 Apr 2011 17:32:05 +0000 (17:32 +0000)
commit7fa7d9c36b7eebb8848e44feb7e17c8b66390fbc
tree98044fa3be5c28ef9311401729567492abc079dd
parente1ceb52b5148d23ebeed76380944406c1b551d22
Makes 'dialplan add extension' create the specified context if it does not already exist.

If the user invokes 'dialplan add extension' into a non-existing context, the context will be created
and a message informing the user of the context being created will be issued in cli.

(closes issue #17431)
Reported by: leearcher
Patches:
      context_auto_create.diff uploaded by kobaz (license 834)
Tested by: leearcher, kobaz, jrose

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@312678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
pbx/pbx_config.c