similar to: Problem with macros in AEL

Displaying 20 results from an estimated 8000 matches similar to: "Problem with macros in AEL"

2010 Jun 16
0
H323 Trunk Problem calling from Asterisk to Avaya PBX
On Wed, Jun 16, 2010 at 4:35 PM, Shina Owolabi <shinacalypse at gmail.com>wrote: > Hi! > I've installed Asterisk 1.4.32 with freepbx-2.6.0 in an attempt to provide > a conference bridge for an existing Avaya PBX. I have no control over the > Avaya system, but I am able to speak with the admin in charge when I need > stuff done. I am running all this in a VirtualBox
2009 Mar 17
0
Weird issue with outbound calls and MOH
Hi, We have a PRI Trunk (physical E1) and we are getting some rather weird and very isolocated problems. On outbound calls to specific numbers, it would seem to me that DTMF from the remote side is affecting the local asterisk system. Basically what happens: - We make a OUTBOUND call via the PSTN (PRI Trunk) to a remote System - Remote Answers, and converse - Remote sends DTMF on their site to
2013 Feb 24
2
AEL Macro are evil :-)
I just discover an "hidden" problem with AEL macro I want to have your feedback. If you use a macro to dial out, like &dialout(${EXTEN}), the leg extension will became ~~~~s~~~~ and if it happens you transfer the call, that will be the callerid appearing on the other phone display. I am just rewriting all the dialplan getting rid of the macro and using gosub, even if asterisk is
2010 Jun 21
1
How to tell if a dropped call is my fault
I just had a user report that they called out to someone on a cell phone this morning, and after a short conversation, the call was dropped/lost. The person on the cell phone says that this is very rare, and would not suspect the dropped/lost call to be on their side. I have looked at the asterisk/full log as thoroughly as I can, and have pasted the lines which seem relevant to that call below.
2019 Oct 11
3
clarification on gosub, macros and AEL
I'm trying to clarify my understand of gosub, macros and AEL. My understanding is that macros using the Macro() application, which is defined in extensions.conf by: [macro-foo] ... and called in extensions.conf with exten => _9NXXNXXXXXX.,n,Macro(fastbusy) is deprecated in favour of Gosub(). True so far? But then there are "macro"s defined in extensions.ael: macro foo() {
2010 Jun 11
2
Call ended after 31 seconds
Hi people, I have a problem with some extensions. The calls are ended after 31/35 seconds, also, it depends on the number which I call. This is the log, but I've not been able to find something wrong... Any ideas? [Jun 11 15:50:46] DEBUG[26071] app_macro.c: Executed application: ExecIf [Jun 11 15:50:46] VERBOSE[26071] logger.c: -- Executing [s at macro-dialout-trunk:16]
2011 May 05
1
ael context ~~s~~ in macros broke Dial() U() option in 1.6.2.17.2 and newer
Hi, I think this must be a bug introduced with 1.6.2.17.something. When I upgrade from asterisk-1.6.2.16.1 to asterisk-1.6.2.17.2 or 1.6.2.18, my AEL Dial() commands with the "U" options fail with the following error: [May 3 12:05:54] ERROR[6300] app_stack.c: Attempt to reach a non-existent destination for gosub: (Context:screen, Extension:s, Priority:1) Here are the segments
2009 Oct 06
0
What happened to MACRO_EXTEN in AEL macros since 1.6?
Hi! Since 1.6, when using AEL, macros are implemented using Gosub(). Is there workaround to have MACRO_EXTEN also in this case? regards Klaus PS: I know I could use something like context fromSip { 11 => &myMacro(${EXTEN}) } macro myMacro(MACRO_EXTEN) { } but isn't there some workaround to achieve compatibility with 1.4?
2015 Apr 17
0
Why is CDR(recordingfile) not being written to the database despite being set in the dialplan?
I am using Asterisk 11.17.1 with my program that uses AMI Originate calls to generate a bunch of calls for a callcenter. The PBX configuration is handled by FreePBX 2.11. I want to understand the dialplan behavior in order to figure out why the CDR(recordingfile) is blank on the CDR records despite the dialplan setting it. My program generates the calls by setting Channel=Local/NUMBERTODIAL at
2019 Oct 15
4
clarification on gosub, macros and AEL
>>> Nobody has any information or opinions on any of this? Personally, I don't think MACROS are going anywhere any time soon, so I have not bothered looking into a substitution. As for ael; I've never used it. Doug
2011 Nov 14
0
Asterisk 1.6 AEL Macro vs GoSub
Hi, I have recently run into the problem with macro implementation in AEL in Asterisk 1.6. I have some older AEL dialplan which runs on 1.4 but it does not on 1.6 and I'm not sure how to solve this correctly. Let me explain... For example, in Asterisk 1.4 I have a macro like this: macro read_digits(digits) { Set(playlist=${SHELL(${PYTHON} ${SCRIPTS}/read_digits.py
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
2007 Sep 24
0
Asterisk Dropping Calls
Hello, I am having an issue whereby calls are being dropped randomly. I have an ISDN 30 E1 line going into a Wildcard TE220 (4th Gen). My Asterisk install is based on Trixbox 2.0. However, I have updated the source code to the following. The Asterisk release is asterisk-1.2.20. Zaptel release is zaptel-1.2.18. And libpri release is libpri-1.2.4. I have include an extract from the Asterisk log
2007 Sep 30
0
Asterisk Dropping Calls (Richard Young)
> > Hi, Remove usecallingpres=yes busydetect=yes from your zapata.conf file. and the restart asterisk. Hopefully you will not faced drop call issues. Regards, Vidura Senadeera. Message: 3 > Date: Mon, 24 Sep 2007 12:29:40 +0100 > From: "Richard Young" <Richard.Young at intrintech.com> > Subject: [asterisk-users] Asterisk Dropping Calls > To:
2008 Oct 06
1
AEL and swap from macros to contexts
Hi, according to discussion on asterisk IRC, where people said, that macros will be depracated, I tried to migrate from macros to contexts and Gosub but if I try to use gosub in extensions.ael, ael compiler complains, that I shouln't use Gosub app, but I can't find ael keyword, that will be Gosub equivalent, or can I ignore this ael warnings? thanks PJ LOG: lev:3 file:pval.c
2007 Jan 24
1
ChanIsAvail kills dialplan processing when no Zap available on 1.2.14.
Hi, I'm trying to use ChanIsAvail to build a resilient 'dialout' macro. The logic is simple; try Zap/g1 (a group of two E1s), and if that fails, try locating a channel via DUNDi. Here's a massively cut down version to illustrate the problem I'm having. macro dialout ( dest ) { ChanIsAvail(Zap/g1); noop(Value of AVAILCHAN is ${AVAILCHAN});
2010 May 05
0
T38 trunk configuration for relay appears to affect default trunks for voip
Hi list! I have this configuration for sending T38 faxes to my T38 fax termination provider: T38modem --> hylafax --> Asterisk-SIP-Extension --> T38 termination provider --> T.30 termination to PSTN We are experiencing 2 problems with this (if you want configuration files, it won't be a problem, just tell me): 1. T38 termination provider receives faxes at 2400 bpps from our
2006 Jun 21
0
AEL Status
Hello-- It's been a while since I wrote any updates about AEL/AEL2 to the users list, and I thought it might be worthwhile to update everyone on what is going on in respects to AEL. What the heck is AEL? The Asterisk Extension Language. A higher level language for extensions.conf, which will appear in the config file, extensions.ael, in the /etc/asterisk/ (or equiv) directory. It provides
2014 Jul 11
2
CDR(dst) not set in AEL macro
Hi I'm using a macro to dial in a AEL dialplan. The problem is the macro do not set the field CDR(dst), showing only ~~s~~. I tried various configurations, but without solutions. This is the macro: macro dial-out(destno,dialstring,route_descr,interno) { __TRANSFER_CONTEXT=ipbx; if(${interno} = 1) { Set(__PICKUPMARK=${destno}); if(${ODBC_verify_user(${CALLERID(num)})} > 0) { t = tT; }
2006 Jun 26
0
AEL scripting, CUT use and string concatenation
Hi to all, i'm wondering to realize a dynamic macro that can take the number of extensions to RING,the ring type and all the parameter in a dynamic way. I have done this code to test it: macro pbx-ring-group-ael(pbx_id,num_int,ring_type,timeout,ext_string) { //; pbx_id = Id of PBX in the DB //; num_int = Quantity of extensions to ring //; ring_type = Kind of RING (C=contemporaneous