[asterisk-dev] [Code Review] Patch adds ability to ami hangup to specify a regex pattern to match channels against

kobaz reviewboard at asterisk.org
Sun Mar 25 16:55:29 CDT 2012


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

(Updated March 25, 2012, 4:55 p.m.)


Review request for Asterisk Developers.


Changes
-------

Free processed regex string if the regex compilation fails


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 (updated)
-----

  trunk/include/asterisk/channel.h 360459 
  trunk/include/asterisk/strings.h 360459 
  trunk/main/channel.c 360459 
  trunk/main/manager.c 360459 
  trunk/main/utils.c 360459 

Diff: https://reviewboard.asterisk.org/r/1827/diff


Testing
-------

Action:   Hangup
UseRegex: Yes
Channel:  Local/foo.*

Action:   Hangup
UseRegex: Yes
Channel:  SIP/foo.*


Thanks,

kobaz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120325/580b0003/attachment.htm>


More information about the asterisk-dev mailing list