aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/pbx_lua.c
AgeCommit message (Collapse)AuthorFilesLines
2008-11-03port gcc 4.3.x warning fixes from trunk to this branchkpfleming1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@153743 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-26Merged revisions 144681 via svnmerge from murf1-5/+48
https://origsvn.digium.com/svn/asterisk/trunk ........ r144681 | murf | 2008-09-26 12:02:06 -0600 (Fri, 26 Sep 2008) | 14 lines (closes issue #13564) Reported by: mnicholson Patches: pbx_lua9.diff uploaded by mnicholson (license 96) Many thanks to Matt for his upgrade to the lua dialplan option! the Description from the bug: This patch adds a stack trace to errors encountered while executing lua extensions. The patch also handles out of memory errors reported by lua. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@144683 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-25Merged revisions 144563 via svnmerge from murf1-0/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r144563 | murf | 2008-09-25 15:54:11 -0600 (Thu, 25 Sep 2008) | 7 lines (closes issue #13559) Reported by: mnicholson Patches: pbx_lua8.diff uploaded by mnicholson (license 96) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@144564 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-25Merged revisions 144523 via svnmerge from murf1-1/+77
https://origsvn.digium.com/svn/asterisk/trunk ........ r144523 | murf | 2008-09-25 15:18:12 -0600 (Thu, 25 Sep 2008) | 13 lines I added a little verbage to hashtab for the hashtab_destroy func. It was pretty sparsely documented. This update fleshes out the pbx_lua module, to add the switch statements to the extensions in the extensions.lua file, as well as removing them when the module is unloaded. Many thanks to Matt Nicholson for his fine contribution! ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@144524 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-25Merged revisions 144482 via svnmerge from murf1-19/+16
https://origsvn.digium.com/svn/asterisk/trunk ........ r144482 | murf | 2008-09-25 11:51:11 -0600 (Thu, 25 Sep 2008) | 14 lines (closes issue #13558) Reported by: mnicholson Considering that the example extensions.lua used nothing but ["12345"] notation, and that the resulting error message: [Sep 24 17:01:16] ERROR[12393]: pbx_lua.c:1204 exec: Error executing lua extension: attempt to call a nil value is not very informative as to the nature of the problem, I think this bug fix is a big win! ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@144483 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-29Merged revisions 126356 via svnmerge from kpfleming1-3/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r126356 | kpfleming | 2008-06-29 09:19:29 -0700 (Sun, 29 Jun 2008) | 9 lines various minor fixes created while i worked on getting *every* Asterisk module to build on laptop in dev mode: remove weird pre-setting of LUA paths; they are not necessary; also use the proper path for including the files in pbx_lua.c make the compiler shut up about some ignored function results in pbx_gtkconsole; this module is badly coded anyway ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@126363 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-25Merged revisions 114676 via svnmerge from russell1-0/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r114676 | russell | 2008-04-25 17:04:46 -0500 (Fri, 25 Apr 2008) | 7 lines Lock the channel around datastore access (closes issue #12527) Reported by: mnicholson Patches: pbx_lua4.diff uploaded by mnicholson (license 96) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114677 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-07Update documentation for pbx_lua.qwell1-1/+1
Closes issue #11492, patch by mnicholson. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@91832 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-21remove another set of redundant #include "asterisk/options.h"rizzo1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89512 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20Make trunk build againtilghman1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89468 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19more errno.h removalrizzo1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89432 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17fix the build of pbx_luarussell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89362 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16Start untangling header inclusion in a way that does not affectrizzo1-3/+0
build times - tested, there is no measureable difference before and after this commit. In this change: use asterisk/compat.h to include a small set of system headers: inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h, stdlib.h, alloca.h, stdio.h Where available, the inclusion is conditional on HAVE_FOO_H as determined by autoconf. Normally, source files should not include any of the above system headers, and instead use either "asterisk.h" or "asterisk/compat.h" which does it better. For the time being I have left alone second-level directories (main/db1-ast, etc.). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89333 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-12Doxygen fixes.qwell1-1/+1
Also fix a common typo I kept seeing (arguement) in various files. Closes issue #11222, patch by snuffy (with arguement > argument by me). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89202 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-08Add check_hangup() method to pbx_lua, which can be used to check whether it ↵qwell1-0/+33
is time to hangup a channel. Closes issue #11202, patch by mnicholson git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89124 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02propagate the DECLINE return value back to the loaderrussell1-3/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88376 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Don't kill asterisk if extensions.lua is not present.russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88371 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Oops, some dev-mode changes for ISO C90tilghman1-59/+92
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88287 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Add pbx_lua as a method of doing extensionstilghman1-0/+1290
Reported by: mnicholson Patch by: mnicholson Closes issue #11140 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88250 f38db490-d61c-443f-a65b-d21fe96a405b