[asterisk-dev] [Code Review] Regex support for sorcery object fields

Joshua Colp reviewboard at asterisk.org
Sat Feb 16 16:08:33 CST 2013

This is an automatically generated e-mail. To reply, visit:

Review request for Asterisk Developers.


This change adds support to sorcery for specifying a regex for an object field name. This requires that a custom handler be provided for doing the translation from string to native type. Going from native type to strings is optional, but if implemented requires that a list of ast_variable structures be returned. This change also includes unit tests.


  /trunk/include/asterisk/sorcery.h 381627 
  /trunk/main/sorcery.c 381627 
  /trunk/tests/test_sorcery.c 381627 

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


Ran unit tests, confirmed happy.



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

More information about the asterisk-dev mailing list