[asterisk-dev] [Code Review] app_pickup: implement ${PICKUPRESULT} for dialplan related pickups

Alec Davis reviewboard at asterisk.org
Wed May 18 17:59:22 CDT 2011



> On 2011-05-18 09:50:40, rmudgett wrote:
> > I think the Pickup applications should return nonzero to quit the dialplan when they are successful.  The channel has become a zombie and should not continue processing the dialplan.  If the pickup failed then the application should return zero to continue processing the dialplan.  There is no need to have a status channel variable when this happens.

agreed, and I see this will now be done in the cleanup to app_directed_pickup in https://reviewboard.asterisk.org/r/1221/

The only time ${PICKUPRESULT} may be of any use, is in the hangup 'h' priority, and perhaps if the pickup application ever supports 'continue' in dialplan type options.


- Alec


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1217/#review3565
-----------------------------------------------------------


On 2011-05-14 04:50:35, Alec Davis wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1217/
> -----------------------------------------------------------
> 
> (Updated 2011-05-14 04:50:35)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> app_directed_pickup failed to report back to dialplan success or failure of pickup.
> Which then meant the dialplan writer was unable to determine whether further action was required.
> 
> 
> Diffs
> -----
> 
>   trunk/apps/app_directed_pickup.c 318867 
> 
> Diff: https://reviewboard.asterisk.org/r/1217/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alec
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110518/712bbc64/attachment-0001.htm>


More information about the asterisk-dev mailing list