[asterisk-dev] [Code Review] Add new AGI command: PARK
Mark Michelson
mmichelson at digium.com
Tue Jun 1 17:28:55 CDT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/681/#review2125
-----------------------------------------------------------
My biggest complaint about this diff is that there is no added documentation explaining how this AGI command works. This is especially needed for this command since such an odd input is needed.
/trunk/main/features.c
<https://reviewboard.asterisk.org/r/681/#comment4521>
Make "data" a const char *
/trunk/main/features.c
<https://reviewboard.asterisk.org/r/681/#comment4522>
Make "data" const
/trunk/main/features.c
<https://reviewboard.asterisk.org/r/681/#comment4527>
Make this a debug message.
/trunk/main/features.c
<https://reviewboard.asterisk.org/r/681/#comment4523>
This should be downgraded to a debug message.
/trunk/main/features.c
<https://reviewboard.asterisk.org/r/681/#comment4524>
This should also be downgraded to a debug message.
/trunk/main/features.c
<https://reviewboard.asterisk.org/r/681/#comment4525>
Make this a debug message.
/trunk/main/features.c
<https://reviewboard.asterisk.org/r/681/#comment4526>
Debug, not warning.
- Mark
On 2010-06-01 14:11:55, pabelanger wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/681/
> -----------------------------------------------------------
>
> (Updated 2010-06-01 14:11:55)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> bklang has submitted this patch to the issue tracker, it is now flagged ready for review.
> ---
> I needed a way to programmatically park calls via AGI and return the parking slot to the script for further processing. Since the generic EXEC AGI command does not allow returning information, I created this patch which adds the PARK command to AGI. On success, the parking lot space is returned. The PARK command accepts the same arguments as the dialplan function PARK and in fact uses the same parsing code.
>
>
> This addresses bug 17046.
> https://issues.asterisk.org/view.php?id=17046
>
>
> Diffs
> -----
>
> /trunk/include/asterisk/features.h 264538
> /trunk/main/features.c 264538
> /trunk/res/res_agi.c 264538
>
> Diff: https://reviewboard.asterisk.org/r/681/diff
>
>
> Testing
> -------
>
> Reporter only.
>
>
> Thanks,
>
> pabelanger
>
>
More information about the asterisk-dev
mailing list