[asterisk-dev] [Code Review] Patch adds ability to ami hangup to specify a regex pattern to match channels against
opticron
reviewboard at asterisk.org
Mon Apr 2 09:06:13 CDT 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1827/#review5917
-----------------------------------------------------------
trunk/main/manager.c
<https://reviewboard.asterisk.org/r/1827/#comment10857>
Move the ast_str creation under the non-regex block so it doesn't leak if the channel isn't a regex.
- opticron
On March 29, 2012, 1:56 a.m., kobaz wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1827/
> -----------------------------------------------------------
>
> (Updated March 29, 2012, 1:56 a.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> Patch adds ability to ami hangup to specify a regex pattern to match channels against
>
>
> This addresses bug ASTERISK-19575.
> https://issues.asterisk.org/jira/browse/ASTERISK-19575
>
>
> Diffs
> -----
>
> trunk/main/utils.c 360459
> trunk/include/asterisk/manager.h 360459
> trunk/include/asterisk/strings.h 360459
> trunk/main/channel.c 360459
> trunk/main/manager.c 360459
> trunk/include/asterisk/channel.h 360459
>
> Diff: https://reviewboard.asterisk.org/r/1827/diff
>
>
> Testing
> -------
>
> Action: Hangup
> Channel: /Local/foo.*/
> ActionID: foo
>
> Action: Hangup
> Channel: /SIP/foo.*/
>
>
> Thanks,
>
> kobaz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120402/dbd49588/attachment.htm>
More information about the asterisk-dev
mailing list