mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add pbx_lua as a method of doing extensions
Reported by: mnicholson Patch by: mnicholson Closes issue #11140 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -507,6 +507,20 @@ int ast_extension_match(const char *pattern, const char *extension);
|
||||
|
||||
int ast_extension_close(const char *pattern, const char *data, int needmore);
|
||||
|
||||
/*!
|
||||
* \brief Determine if one extension should match before another
|
||||
*
|
||||
* \param a extension to compare with b
|
||||
* \param b extension to compare with a
|
||||
*
|
||||
* Checks whether or extension a should match before extension b
|
||||
*
|
||||
* \retval 0 if the two extensions have equal matching priority
|
||||
* \retval 1 on a > b
|
||||
* \retval -1 on a < b
|
||||
*/
|
||||
int ast_extension_cmp(const char *a, const char *b);
|
||||
|
||||
/*!
|
||||
* \brief Launch a new extension (i.e. new stack)
|
||||
*
|
||||
|
Reference in New Issue
Block a user