Displaying 20 results from an estimated 600 matches similar to: "Lua extensions are not working on asterisk 1.8.2.3"
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"
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.
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
2011 Feb 24
1
extensions.lua with luasql.mysql.
Hi to all!
I'm trying to create a context for integration with extensions.lua and
libsql.mysql, but I'm not getting to run. When I reload the module
pbx_lua.so the following error appears:
[Feb 24 16:59:29] ERROR[30749]: pbx_lua.c:1249 exec: Error executing lua
extension: error loading module 'luasql.mysql' from file
'/usr/lib/lua/5.1/luasql/mysql.so':
2009 Jul 20
0
No subject
one under my default context at extention.conf.
And what is [pbx_config]?
Thanks
Eyal
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tzafrir Cohen
Sent: Friday, June 25, 2010 4:05 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Is there a default dial plan that is not in
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 Jun 25
5
Is there a default dial plan that is not in extention.conf?
Hi,
I have a trivial peace of dialplan for exten 100. I try to change it to _1XX
and the asterisk act according to a different (Default??) dial plan and not
the one I want? Is that possible? Where is the other dialplan sits? In my
extention.conf I can't see something that look like what asterisk is
dialing.
How can I trace\debug my dialplan?
Thanks,
Eyal
-------------- next part
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()
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
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
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
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
2018 May 11
2
Passing parameter to Queue-called macro
Hi Marie
Thanks!
I was just worried about thread safety if I had to use a global variable, e.
g. it might be set to a value by one call (since I'm using the same global
for every incoming call to transfer the accountcode gotten from my HTTP
endpoint to the same macro, and there can be several calls simultaneously
all inserting HTTP-sourced values at more or less the same instant) and then
2018 May 08
2
Passing parameter to Queue-called macro
Hi all
I need to pass a parameter in a thread-safe manner to the Queue pickup
macro. This is to know when (and who) picked up an incoming call to a queue
and log that to my back-office system with a CURL to a HTTP endpoint.
However, the Queue application does not appear to allow passing of
parameters to the called queue pickup macro.
E. g. non-working code is:
[queuetest]
timeout = 60
retry =
2014 Jul 10
0
Asterisk 11.11.0 Now Available
The Asterisk Development Team has announced the release of Asterisk 11.11.0.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk
The release of Asterisk 11.11.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following are the issues resolved in this release:
Bugs
2014 Jul 10
0
Asterisk 11.11.0 Now Available
The Asterisk Development Team has announced the release of Asterisk 11.11.0.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk
The release of Asterisk 11.11.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following are the issues resolved in this release:
Bugs
2009 Aug 31
0
asterisk-users Digest, Vol 61, Issue 85
Topic 6: RE:unable to execute command
hi there
i tried to execute the command as suggest like
exten => 1987,1,Playback(posix-restarting)
exten => 1987,2,wait(1)
exten => 1987,3,System(/usr/bin/python /home/docas/Desktop/mess1.py)
exten=> 1987,4,Hangup
it still doesn't work,now it does it give unable to execute command but
it doesn't reach the system command it just