Displaying 20 results from an estimated 100 matches similar to: "GoSub & Queue"
2008 Feb 20
3
Dial+Macro and Queue
A call comes in and goes into the queue, the queue dials a sip channel using
a macro. The macro plays a set of options to the callee and if the callee
presses 3 it sets MACRO_RESULT=CONTINUE and the macro ends. For some reason
the caller goes back into the queue rather than continueing on in the dial
plan. Why is this, i could have sworn in 1.2 if i set MACRO_RESULT=CONTINUE
that the
2014 Dec 13
1
How to get BEEP BEEP BEEP when underline sends 486 Busy Here.
Hello There,
I would like to play a busy tone (ie BEEP BEEP BEEP) when the underline
carrier sends back 486 Busy Here. Looking at Dial parameters (
http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial), it mentioned
something about the r
parameter as not being very professional or something like that...
Then there was:
U(x): Executes, via gosub, routine x on the called channel. This is similar
2009 May 08
0
Can't GOSUB_RESULT with Dial U() option ...
Hello,
I'm not understanding how to use GOSUB_RESULT in U() option from Dial app
(I'm using 1.6.1)
My extensions.ael is :
context mylocal {
2 => {
Dial(SIP/7530,,U(mynotify));
HangUp();
};
3 => {
Dial(SIP/7531);
HangUp();
};
};
macro mynotify () {
GOSUB_RESULT=ABORT;
};
I
2010 May 18
3
About option U in Dial Ast version 1.6.2
Has any one used this?
U(x[^arg[^...]]):
x - Name of the subroutine to execute via Gosub
arg - Arguments for the Gosub routine
Execute via Gosub the routine <x> for the *called* channel before
connecting to the calling channel. Arguments can be specified to
the Gosub
using '^' as a delimiter. The Gosub routine can set the variable ${GO
2014 Jul 17
0
Problem with Read() ?
All,
I have a weird situation here and haven't been able to turn up any useful
information in searches, so I thought I'd post to the list.
Essentially, I have a customer who wants us to forward some of their calls
to various cell phones. Normally, I'd use FollowMe() for this (that's how
most of our customers are set up.) However, this particular customer has
some requirements
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 Dec 03
1
Dial application with M option
Hello,
What i am trying to do is ..... Dail a number and ask if you wana talk to
XXX press 1 and if you dont wana talk press any other key.
For this purpose i am using this
link<http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial>
.
*I am using this option :- *
*M(**x**)*: Executes the macro (x) upon connect of the call (i.e. when the
called party answers). IMPORTANT - The CDR
2015 Feb 06
0
Asterisk 13.2.0 Now Available
The Asterisk Development Team has announced the release of Asterisk 13.2.0.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk
The release of Asterisk 13.2.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
2015 Feb 06
0
Asterisk 13.2.0 Now Available
The Asterisk Development Team has announced the release of Asterisk 13.2.0.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk
The release of Asterisk 13.2.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
2007 Apr 03
0
Dial Macros
Hello,
I've seen this already asked and answered but it is still a no go for
me.
I'm trying to do some preprocessing in the middle of a call, before
bridging.
I've seen two choices: M() and G() parameters of the Dial() command.
G() was discarded because I don't know if it is possible to bridge
channels after processing.
With M() I've done something like that:
macro
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
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()
2010 Jul 17
1
AGI gosub return value
It appears that there's no way to get the return value from a GOSUB into
an AGI script. Is that correct?
2010 Apr 02
1
Gosub replacement within AEL2 dialplans
Hello,
When reloading a diaplan (asterisk 1.6.1.X), I can see in console :
[Apr 2 09:02:00] WARNING[2217]: ael/pval.c:2522 check_pval_item: Warning:
file /etc/asterisk/extensions.ael, line 621-621: application call to Gosub
affects flow of control, and needs to be re-written using AEL if, while,
goto, etc. keywords instead!
What is then the recommended substitution for Gosub() application
2009 Sep 23
0
DYNAMIC FEATURES, AEL2 - how to use Goto, Gosub or Macro ?
Hello,
I'm using AEL2 (in Asterisk 1.6.1.6) and I can't find a way to successfully
come back into my dialplan.
I've tried things like this (in features.conf) :
toto => #9,peer,Goto,mylocal2,s,1
But typing #9 (from channel SIP/7275, in example bellow) I've got:
-- Feature Found: toto exten: toto
-- Started music on hold, class 'default', on SIP/7275-08b7fbe0
2010 Feb 24
1
Macros, GoSub & StackPop
Hi -
I have a Macro that contains a GoTo. The documentation indicates:
If you GoTo out of the Macro context, the Macro will terminate and control
will return at the location refered to by the Goto.
I thought I might convert the Macro to a GoSub routine, but the
documentation doesn't mention what happens if you GoTo out. It does however
mention that the return address gets pushed onto the
2008 Dec 17
1
ael queue gosub already has PBX structure??
Hello,
I want that after client and queue member call would be established, cmd
queue runs some 'procedures' . So I am using cmd Queue option 'gosub'. This
is my example of ael :
context QUEUE {
_X. => {
Ringing();
Wait(4);
Answer();
Queue(${Queue},wr,,,60,,,check-record);
Hangup();
};
};
macro check-record() {
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() {
2009 Apr 29
1
Replacement of Macro() with Gosub()
Hi,
Is there some more thorough documentation of this change that has
happened in 1.6? The upgrade.txt and changes.txt files mention it, but
I have already seen details of this change that do not appear to be
documented except in conversations on the mailing list...
1) It appears that it is no longer legal to have:
[macro-contaxtA]
...stuff...
[contextA]
...stuff...
Is this true? Or have I
2009 Feb 24
3
Gosub behavior change <=1.6.0.5 to 1.6.0.6
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Here's one that may be of interest to any upgraders. If you rely on the
behavior of gosub you may want to make note of this change.
I have an incoming call context:
exten => _XXXX,n,GoSub(incoming,${EXTEN},1(${EXTEN}));
that is supposed to gosub into the incoming extension at priority 1.
Versions before 1.6.0.6 would drop into the