Summary:ASTERISK-13290: [patch] Set global context to be included in all other contexts
Reporter:dovid (dovid)Labels:
Date Opened:2008-12-31 21:07:58.000-0600Date Closed:2009-01-08 15:48:03.000-0600
Versions:Frequency of
Environment:Attachments:( 0) extensions-globalcontext.asterisk-1.4.patch
Description:In extensions.conf under the general context if you set globalcontext to a context it will include it automatically in every other context.

For instance if if have:

Exten => 1,1,Answer
Exten => 1,2,Hangup

Exten => h,1,Noop(FOO)

then the h extension set in foo will be called on hangup in default.
Comments:By: Leif Madsen (lmadsen) 2009-01-06 08:58:42.000-0600

I'm assigning this to Corydon76 since I could have sworn I saw this same type of functionality posted by him somewhere, but I can't seem to find it. It is entirely possible they are separate functionality though.

By: Tilghman Lesher (tilghman) 2009-01-08 15:48:02.000-0600

1.  I can't accept this patch, because it is against 1.4 and not trunk.
2.  This functionality is already available in trunk, by using a loopback switch in the "overrideswitch" setting in the [general] context.