Displaying 20 results from an estimated 10000 matches similar to: "Wierd behavior of illegal extension"
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 Jun 04
1
Wierd error when compiling 1.6.2 branch from SVN
I did a usual "svn update", "./configure" and "make" and got
[CC] chan_oss.c -> chan_oss.o
gcc: @SDL_INCLUDE@: No such file or directory
I don't see any changes to chan_oss recently, so don't understand this.
What could be going on?
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
2010 Aug 03
4
Dial() M parameter in 1.6.2.11-rc2
Hi,
I can't figure out what syntax to use with the Dial() "M" parameter
for the AEL parser to interpret properly. Creating an AEL
macro named "macro-screen()" partly works as a hack, but it must
not turn into a gosub properly, so I get warnings about the "return;".
Dial(...,tgM(&screen)) with the ael macro named "screen" does not work
2009 Oct 05
1
Peculiar error message when using Q-SIG
I'm using QSIG between Asterisk and an NEC SV8300. Whenever I make a call
from the SV8300, I see:
[Oct 4 21:02:49] ERROR[5729]: chan_dahdi.c:12226 dahdi_pri_error: !! < Unknown IE 50 (cs5, len = 3)
I see an IE 50 in the Q.932 specification, so I don't understand why
this error is occuring.
2010 Apr 06
1
testexpr2
I'm trying to build it and run into all sorts of problems. First,
"make testexpr2" doesn't work at top level, nor in the "main"
subdirectory. If I manually try the commands for it in main/Makefile,
it doesn't have a "main" and calls "ast_log". If use -DSTANDALONE2
instead, those go away, but then:
ast_expr2f.o: In function
2010 Apr 15
1
'o' option on Dial application
Is there an explanation other than the one in the application documentation of
exactly what this is for and when you'd want to use it and when you wouldn't?
I find the explanation in the documentation a little confusing.
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 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
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
2010 Sep 07
3
Losing first DTMF digit (with ASR)
I'm having a wierd problem. Somewhere around 1-2% of the time, the
first DTMF digit dialed gets dropped. This is occurring during a
SpeechBackground application call. If the caller reenters the digits
when given a second chance, all is OK.
Any suggestions how to debug this intermittent problem?
2010 Mar 10
2
PGSQL application
Does the application PGSQL has been removed from Asterisk? Couldn't find it on Asterisk source and addons.
Atenciosamente,
Vin?cius Fontes
Gerente de Seguran?a da Informa??o
Canall Tecnologia em Comunica??es
Passo Fundo - RS - Brasil
+55 54 2104-7000
Information Security Manager
Canall Tecnologia em Comunica??es
Passo Fundo - RS - Brazil
+55 54 2104-7000
2009 Sep 15
3
dCAP Exam
Hi folks,
Is there anywhere I can possibly get a model of the exam itself, maybe
possible scenarios for the prac, etc?
To people who have done the exam....any helpful hints ?
Thanks,
2009 Sep 23
4
Error When Using Postgresql Schema With Realtime Sip
I am using asterisk 1.6.1.6 and have been setting up a system to use a
Postgresql database as the realtime DB via the ODBC route. I have got
extensions and voicemail working but am having trouble with SIP
The problem seems to be with using a schema. If I put the table "sip" in
the schema "foo" then I add this entry to extconfig.conf
sippeers => odbc,psqldb,foo.sip
Restart
2010 Mar 12
3
Time counting down and # detect
Hi all,
Here is the script i want to make
- Caller call to a number to record a message
- Asterisk answer and start recording message as following
+ User press * to start recording
+ Record is finished if:
+ User press #
+ OR message duration reach 60 second
+ Hangup
How do you counting down 60s, and how to detect # (i make a test using
Read() but it cant read #)
Thanks in advance
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
2016 Jun 04
2
Including doesn't have any effect
On Sat, 4 Jun 2016, Frank Vanoni wrote:
> Another possible approach to blacklist two (or more) specific callers
> (098765432 and 012345678 as example)
>
> exten => _+x.,1,Gosub(blacklist,s,1)
> exten => _+x.,n,....
> exten => black,1,playback(tt-monkeys)
>
> In blacklist.conf
>
> exten => s/098765432,1,Goto(black,1)
> exten =>
2009 Sep 18
4
console color
Hoping someone can help me understand what is happening here;
we start asterisk as a service at boot (actually, with heartbeat) on
CentOS using the asterisk init script installed with "make config"
upon reboot of the server (when the asterisk service is first started by
heartbeat) we get color in the console when we connect to it using
asterisk -r
after the execution of
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
2014 Dec 09
4
Passing literals with commas to subroutine
Hi,
Let's say I do:
Set(data=xxx,yyy)
Gosub(my-sub,s,1(${data}))
My subroutine will only receive "xxx" for ARG1. How can I pass a literal
with a comma to a single argument in a subroutine?
(The point is: when calling the subroutine I do not know if the variable
has a comma or not.)
Thanks,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: