similar to: Why write your dialplan using Lua?

Displaying 20 results from an estimated 10000 matches similar to: "Why write your dialplan using Lua?"

2014 Feb 12
2
How does extensions.lua compares to extensions.conf ?
Hello, How does extensions.lua compares to extensions.conf or extensions.ael on stability, performance and features ? Would you recommand extensions.lua as an easy/easier way to access memcached, redis or equivalent ? Thoughs ? Comments ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL:
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.
2012 Jan 05
1
STOP loading extensions.ael
How do I stop loading extensions.ael dial plan? I'm only using extension.conf. -- Joseph
2015 Apr 07
1
exten versus EXTEN
p 176 has exten => 1NXXNXXXXXXX,1,Dial(SIP/${EXTEN}@myprovider) how is "exten" distinct from "EXTEN"? What is this line of code doing? https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables says that EXTEN is the current extension. In ruby, you this: H = Hash["a" => 100, "b" => 200] The => is a mapping, or at least
2011 Feb 18
1
[1.4/AGI] CHANNEL STATUS never "down & available"?
Hello I'm using an AGI script in Lua to make a callback through Zaptel. For this to work, I must wait until the channel is idle, or I get this kind of error, even after waiting over 10 seconds after the remote end rings once and hangs up: ============== channel.c:2863 __ast_request_and_dial: Unable to request channel Zap/1/123456 pbx_spool.c:341 attempt_thread: Call failed to go through,
2010 Aug 25
6
AEL - what is error: ael.flex:647 ael_yylex: Unhandled char(s):
Hi List, When doing 'ael reload' on two servers, which are setup with asterisk 1.4.22 and 1.4.35 respectively, I am getting multiple lines of this strange error: ERROR[15483]: ael.flex:647 ael_yylex: Unhandled char(s): On three other servers with same versions of asterisk, i.e. 1.4.22, I don't see this error. Number of lines of the error are the same as the number of lines of the
2009 Apr 02
1
Simple Queue question
Hello, I have a fairly standard call center. I'm running 1.4.23.1. I am trying to get a mechanism where : 1- Employee A can have the phone at his desk ring when a call comes in the queue 2- When already on a call, employee A does not hear a "beep" in his phone because another call is trying to come in It's fairly simple. I tried a few different things: in queues.conf [559]
2009 Apr 14
2
dynamic menus in dialplan
I have an application that needs to vary the menu choices available based upon the availability of an external resource at a given time. What I have in mind is a system that can uplink a user to one of many different satellites. Due to the nature of orbital mechanics a satellite may be out of range at any given time. I only want to present a menu of available satellites. I can query an
2011 Dec 13
1
AEL x LUA
Hello, I would like to receive some suggestions about dialplans written in lua, actually my dialplan is written in ael, but i'm having some problems with it. I noticed that asterisk just translates ael to the old extension language, does it do the same with lua? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Jun 21
3
[AGI] What scripting language for embedded hardware?
Hello I'm learning how to work with Asterisk on an embedded system (MMU-less Blackfin processor, 64MB RAM and 256MB NAND), and was wondering what people use as scripting language to handle calls through the dialplan and AGI, considering the hardware limitations? Ideally, I'd rather use a rich language like PHP or Python, but can those be fit with even their common modules into such small
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 Feb 24
2
[1.4] Still can't get it to call back
Hello No matter what I try, Asterisk still fails dialing back through a callfile built through an AGI script. The whole thing works fine when the original call that triggers Asterisk is from an internal extension (Xlite), but it fails when it's from my cellphone ringing through the FXO/Zaptel port and I want to wait a few seconds and call back through the FXO/Zaptel. Could it that even
2011 Feb 18
3
lua -asterisk manual
Please could someone advise good manual for using lua for asterisk dialplan. There is not much docu about it. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110218/42642787/attachment.htm>
2013 Feb 18
3
Dialplan / check / tool
Hi, I am wondering, if there is any tool available, which performs a check for suspicious entries in the dialplan. For example a non existing AGI-Script or a double assigned extension ike that: [context] exten => *100*,1,AGI(test_app.pl) ... exten => 190,1,Answer() ... exten => *100*,1,AGI(never_reached.pl) ... A "normal dialplan reload command" would echo no warning or
2010 Oct 20
4
Email from Dialplan
Hi, I'm sure this topic has been discussed before but i'm having trouble finding a simple answer. Whats the easiest way of sending an email from Asterisk? I want to set up a warning so that after a Dial cmd, if the DIALSTATUS is CHANUNAVAIL, Asterisk sends an email to the admin to check the voip phone is connected properly. I've got the dial plan set up, I just dont know what
2009 May 05
6
Preferred language for Asterisk AGIs development ?
Hello, We are going to start development for a product based over Asterisk. According to you, which is the preferred language for AGIs / IVRs development in Asterisk. I got opinions that Perl is going to be replaced by PHP for all future developments. -- Kashif Naeem Business Development Manager Hadi Telecom www.haditelecom.com Cell: +92 (0)345 4226006 Office: +92 (0)42 5692766 Email: kashif
2009 Dec 17
6
Feature Request: GotoIfTimeWithOffset
Hi, When I was testing an IVR, I realized I miss a function I would call GotoIfTimeWithOffset. Today, this IVR is using function AEL GotoIfTime in several places. The problem is if it's 11pm at the moment I'm testing this IVR, I can't nicely test the 9am or 2pm branch. GotoIfTimeWithOffset would get 2 incoming arguments : - the first is a time range (just like GotoIfTime), - the
2016 Apr 13
5
recreating extensions.conf from live dialplan ?
with the slip of a finger, i destroyed by extensions.conf (grep -i > extensions.conf) I have a backup that is dozens of hours of code old. is there a way i can use the asterisk cli (or some other asterisky method) to recreate that extensions.conf ?
2015 Aug 01
5
Call Center
Hi All Has anyone used Asterisk for a Call Center operation? What I mean is: given a list of phone numbers, can Asterisk dial each number, play a message and accept some DTMF? I ask because I am an employee of a non-profit company based in San Diego, CA. I already evaluated Voicent and Voxeo. The former has expensive licensing terms and the latter is not best suited for a call center. I would
2008 Apr 22
4
need examples of asterisk and mysql integration
I'm presently working on a project to build a scheduling system accessible by both web and phone. on the web side one can query what items are available when by using the time or the item as a key then reserve for an available time slot. reservations may also be modified by the user that made them or an admin. Where may I find examples of doing similar things with asterisk? all I've