Displaying 20 results from an estimated 4000 matches similar to: "Pbx_lua vs. calling lua thru AGI?"
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
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
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 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':
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
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
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()
2008 May 27
4
why there is no liblua5.1.so in /usr/lib?
hello all:
I want to install ModSecurity v2.5.4 in my system. I do the following setup to install the lua
tar -xzvf lua-5.1.3.tar.gz
cd lua-5.1.3/src
make linux
cd ..
make install
The ModSecurity ask me to add "LoadFile /usr/lib/liblua5.1.so" to the http.conf,but there is no liblua5.1.so in /usr/lib.
I have search it and i didn't find the solution.
Can any one tell me why
2007 May 14
2
Hmm.. where is mod_php?
Hello All.
Is mod_php for apache hiding in a repo somewhere?
I did a yum --enablerepo=centosplus install mod_php
(as googled) but I don't see any mod_php lurking anywhere.
Anyone know what's up?
Thanks
--
Flambeau Inc. Technology Center - Baraboo, WI
Email : tblader at flambeau.com
Keyserver: http://pgp.mit.edu KeyID: 0x00E9EC2C
2009 Oct 23
1
packages with dot in the name
Hi all,
It might be a newby question but I cannot found any answer here or on
the documentation part of the Website.
I need to install a package with a dot in the name. So my
recipe looks like
package { lua5.1
ensure => installed
}
But I keep on getting a syntax error on the line containing the dot.
Error 400 on SERVER: Could not parse for environment production:
Syntax
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 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
2018 Jul 26
2
Is decoupling Apache + PHP into separate nodes possible?
<preamble>
I have deployed Linux/Apache/PHP (node1) + MySQL (node2) with Security
Groups (AWS) or iptables controlling who can connect to the MySQL
server. In topology terms -- a 2 Tier architecture. In AWS - one
can deploy several such instances behind a ELB. Each LAP instance
talks to a MySQL RDS. The LAP instances are either mod_php or
PHP-FPM. OS -- CentOS, Ubuntu. Debian
2010 Oct 18
2
Who maintains php-pgsql package? I want to ask about using PostgreSQL 8.4 library instead of PostgreSQL 8.1.
How do I find out who is the maintainer of the php-pgsql package, please?
I want to request upgrade from underlying postgresql-libs-8.1.21
(/usr/lib64/libpq.so.4) to postgresql84-libs-8.4.4 (/usr/lib64/libpq.so.5.2).
Background on this request: Apache httpd's php's php-pgsql uses
PostgreSQL 8.1 library (/usr/lib64/libpq.so.4), which leaks memory.
PostgreSQL 8.4 library does not leak.
2005 Mar 03
4
Getting phpconfig to work?
No, I have apache 1.3.33 and mod_ssl 2.8.22 installed. Do I need to have
apache2-mod_php installed?
Rgds,
Julius.
> DO you have apache2-mod_php installed ?
>
> Which distro are you using ?
>
>> -----Original Message-----
>> From: asterisk-users-bounces@lists.digium.com
>> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of
>> Julius Kidubuka
>>
2007 Sep 21
2
RPM for mod_php
Hi Guys
I am trying to find an rpm for CentOS 4.5 and mod_php but i cant seem to
find one - Am i going my the wrong name?
thanks for any pointers
2017 Sep 21
1
CentOS 7: changes to php.ini
On 21 September 2017 at 10:14, Sorin Srbu <Sorin.Srbu at orgfarm.uu.se> wrote:
> > -----Original Message-----
> > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Nicolas
> > Kovacs
> > Sent: den 21 september 2017 11:05
> > To: centos at centos.org
> > Subject: [CentOS] CentOS 7: changes to php.ini
> >
> > I'm hosting a few