Summary:ASTERISK-10400: Patch for an inteligent parkedcalls.
Reporter:german aracil boned (tecnoxarxa)Labels:
Date Opened:2007-09-27 19:10:23Date Closed:2007-11-07 20:10:45.000-0600
Versions:Frequency of
Environment:Attachments:( 0) res_features_parkingcalls_by_contexts.patch
Description:I put this new feature or patch for testing or use every one.

Good change for parkedcalls manager, but in version.
Parkcalls manager have automatic parking by context when call to park()
function, it add context for park. Only users of this context, can get a

sv3*CLI> show parkedcalls
Contexts: pbx1, default,
 Num        Channel (Context         Extension    Pri ) Timeout
800         SIP/Tecnoxarxa4-b6d0e6f0 (pbx1                    1   )    160s
800         SIP/trunk_1-b6d20190 (default                     1   )    177s
2 parked calls.

Now, context is add to park. Only use one lot and config definition for
all. I dont need change features.conf file.

If user from context default, get a parkedcall 800, do not get parked
call from 800@pbx1 context, don't see it. Only can get from her context.

I think this is a very good option for parkcalls. Easy to conf, easy to
manager. And automatic adjustament for users.

Only, you can't put extensions in context where parkcalls range get
extensions. But this is not a problem. I have range of extensions from
800 to 900 for parking calls. Only need no use this range for dialplan
in all contexts.

I can put this option to trunk version only if this is a good idea for all.