[Asterisk-Dev] Dev Meeting list

Kevin P. Fleming kpfleming at digium.com
Thu Apr 28 22:34:05 MST 2005


Brian West wrote:
> Getting rid of n+101 globally.
> 
>     Need list of apps that use n+101
> 
> Converting some apps to function variables.
> 
>     Example SetGroup,CheckGroup and more....
> 
>     Apps that just set vars and return results do not need to be apps.
> 
>         Examples: sipaddheader, getheader, md5 app.. callerid stuff...

For those who are concerned, these changes will _not_ break your 
existing dialplans.

The removing of "extension jumping" in apps will be controlled by a 
setting in the [global] section of extensions.conf, and will default to 
'off' in the code, but 'on' in the sample file distributed with 
Asterisk. New users will then not see the jumping behavior, and existing 
users can convert when they feel the time is right. Some time later (a 
few months at least), turning on 'extension jumping' will generate a 
deprecation warning on the console; some time after that, it will be 
removed completely.

This process will involve either converting these 'jumping' apps into 
functions (CheckGroup and the like) or enhancing them to return a 
channel variable with their result (DIALSTATUS and QUEUESTATUS being the 
canonical examples). The actual return codes generated by apps will 
_not_ be changing.

The app->function conversion will follow a similar tack; the new 
functions will be created, get documented and tested and then merged 
into the tree. When this happens, the previous apps will generate 
deprecation warnings (once per Asterisk session for each app that gets 
used, not once per usage). Some time later (again a few months), they 
will be removed completely.

Finally: anyone who wants to step up and do this work, please feel free 
to announce your intentions here.



More information about the asterisk-dev mailing list