Displaying 20 results from an estimated 100 matches similar to: "extensions.lua with luasql.mysql."
2014 Jul 25
0
pbx_lua module with luasql.mysql
Hello. I successfully installed lua and use lua_pbx with my dialplan, but I
need to use mysql.
I installed luasql.mysql and without extensions.lua it work fine (woth
external scripts)
I tested it with my little script:
______________________________________________________________
function mysqltest()
local driver = require "luasql.mysql"
local env = assert(driver.mysql())
local con
2011 Feb 17
1
Realtime MySQL - Asterisk 1.8.2
Hi to all.
I make some tests with Asterisk 1.8.2 in Realtime. But i have one problem,
the asterisk don't connect in the base and show this message:
[Feb 17 11:18:01] WARNING[19061]: res_config_mysql.c:441
realtime_multi_mysql: MySQL RealTime: Invalid database specified:
'asterisk_teste' (check res_mysql.conf)
I checked the asterisk config file (res_mysql.conf) and the configuration
2011 Feb 15
1
Lua extensions are not working on asterisk 1.8.2.3
Hi,
After compiling a installing asterisk 1.8.2.3 I wanted to play with
lua but I noticed that extensions created in extensions.lua was not
being registered with asterisk.
uga1*CLI> dialplan show
[ Context 'app_queue_gosub_virtual_context' created by 'app_queue' ]
's' => 1. NoOp() [app_queue]
[ Context
2010 Jun 30
2
Pbx_lua vs. calling lua thru AGI?
Hello
I'm taking a look at how to write scripts to be called from the
dialplan, and saw pbx_lua mentioned.
I'd like to know more about this feature, such as what the difference
is with just calling the Lua interpreter through AGI (same difference
as between php-cgi and mod_php?), whether it's production-ready, etc.
Thank you for any help.
2009 Aug 29
2
Asterisk 1.6.0.14 and 1.6.1.5 Now Available
The Asterisk Development Team is pleased to announce the release of Asterisk
1.6.0.14 and 1.6.1.5. Asterisk 1.6.0.14 and 1.6.1.5 are available for immediate
download at http://downloads.asterisk.org/pub/telephony/asterisk/
Asterisk 1.6.0.14 is the first full, non-security release since 1.6.0.10.
The release candidate 1.6.0.11-rc1 was redone as 1.6.0.14-rc1 (which this
release has been created
2009 Aug 29
2
Asterisk 1.6.0.14 and 1.6.1.5 Now Available
The Asterisk Development Team is pleased to announce the release of Asterisk
1.6.0.14 and 1.6.1.5. Asterisk 1.6.0.14 and 1.6.1.5 are available for immediate
download at http://downloads.asterisk.org/pub/telephony/asterisk/
Asterisk 1.6.0.14 is the first full, non-security release since 1.6.0.10.
The release candidate 1.6.0.11-rc1 was redone as 1.6.0.14-rc1 (which this
release has been created
2010 Feb 09
1
Lua status in asterisk.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi
I have searched a bit for information regarding the status on the
dialplan in lua (pbx_lua.so). I know that 'hint' won't work and has to
be put in the regular extensions.conf/ael. Are there any other
considerations? Features that are not implemented, or known stability
issues?
Thanks,
Tommy Botten Jensen
-----BEGIN PGP
2008 Oct 27
1
Asterisk 1.6 pbx_lua not creating any contexts
Howdy, all. I'm trying to use pbx_lua as included in Asterisk 1.6 --
but while it correctly reports an error on startup (but not reload!)
if extensions.lua does not exist, it doesn't appear to actually create
any contexts.
I'm testing in a very minimal configuration with autoload turned off;
"module show" shows only chan_sip, pbx_lua, and app_dial.
"dialplan show"
2009 Aug 17
2
Accessing Asterisk gosub arguments in extensions.lua
How does one go about accessing gosub arguments from Asterisk in
extensions.lua?
For example, I have the following in extensions.conf:
exten => 1000,1,Wait(1)
exten => 1000,n,Gosub(functions,mytest,1("123"))
exten => 1000,n,Hangup
And then the following in extensions.lua:
extensions = {
functions = {
["mytest"] = function()
2011 Nov 10
2
Asterisk 10.0.0-rc1 Now Available
The Asterisk Development Team is pleased to announce the first release candidate
of Asterisk 10.0.0. This release candidate is available for immediate download
at http://downloads.asterisk.org/pub/telephony/asterisk/
All Asterisk users are encouraged to participate in the Asterisk 10 testing
process. Please report any issues found to the issue tracker,
https://issues.asterisk.org/jira. It is also
2011 Nov 10
2
Asterisk 10.0.0-rc1 Now Available
The Asterisk Development Team is pleased to announce the first release candidate
of Asterisk 10.0.0. This release candidate is available for immediate download
at http://downloads.asterisk.org/pub/telephony/asterisk/
All Asterisk users are encouraged to participate in the Asterisk 10 testing
process. Please report any issues found to the issue tracker,
https://issues.asterisk.org/jira. It is also
2010 Jul 26
1
PBX Lua with Asterisk ODBC
Hi All,
I have a quick question with regards the pbx_lua module.
Would the lua dialplan have direct access to the odbc configuration
within Asterisk, those odbc connections/dsn's that are defined in
res_odbc.conf/extconfig.conf/cdr.conf?
Thanks
Bruce
2014 Jun 06
1
Using macros in extensions.lua?
Hi,
I have defined a dialplan in lua and now would like to use "dial" with the
macro M to implement some logic, when the callee-channel gets created.
Working old style would be (extensions.conf)
[default]
exten => _X,1,dial(SIP/1,,M(mymacro^parameter))
[macro-mymacro]
exten => s,1,verbose(${ARG1})
How to implement the same functionality using pbx_lua?
Details: Asterisk 11.7
2010 Dec 22
5
rvm, rails and sqlite
i need to use old version of ruby (1.8.7) and older version of rails
(2.1.0) so i decided to use rvm. however since i''m somewhat new to ruby
and rails i''m having issues. i created a gemset with rvm for my project,
installed rails 2.1.0 into it. after that i created a project and a
scaffolding for it. however i bumped onto an issue with sqlite3 (or
sqlite3-ruby). it seems to me
2010 Dec 01
3
Abandon events in cdr
>
> Sorry, of course cdr.conf not queues.conf. marcus
>
> Am 01.12.2010 19:16 schrieb "marcus rothe" <synco16 at googlemail.com>:
>
>
> Hi Rodrigo, have you got enabled the appropriate line in queues. Conf?
> Regards Marcus
>
>
Thanks very much,
I include the line "unansweredy=yes" in the cdr.conf and solve the problem.
Thanks again!
--
2012 Nov 23
1
[PATCH] lua: fix build error due to LUA_GLOBALSINDEX usage
lua 5.2 changed API, LUA_GLOBALSINDEX is no longer available.
http://www.lua.org/manual/5.2/manual.html#8.3
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
Fix is only compile tested.
generator/lua.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generator/lua.ml b/generator/lua.ml
index 88748ae..7461cbd 100644
--- a/generator/lua.ml
+++ b/generator/lua.ml
@@
2012 Jan 05
1
STOP loading extensions.ael
How do I stop loading extensions.ael dial plan?
I'm only using extension.conf.
--
Joseph
2009 Jan 06
1
Asterisk 1.6 and LUA
Hello all.
I'm playing with LUA and I can't see a way to reload 'extensions.lua' after
a change, except by restarting Asterisk.
Any clue?
Thanks.
-----
Dominique Dartois
2011 Feb 10
3
CDR with unix time.
Good morning everyone.
I wonder if it is possible, without touching the source code, to Asterisk
save the cdr with date in unix time instead of the default date. It's
possible?
Thanks in advance,
--
Rodrigo Lang
Opening your mind - Just another Open Source
site<http://openingyourmind.wordpress.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2018 Feb 15
2
Problem with DAHDI
Hi again!
I tried to attach two VoIP-phones to my new Asterisk 13.14.1 on a Banana PI
with Armbian/Debian 9.
First test was to call a test service that say the time. Works!
Second test was to record my voice and play it again. Works!
Third test was to call the other VoIP-phone. It does NOT work... :(
Then I noticed that, by starting, Asterisk says the following messages:
[Feb 15 18:42:54]