Displaying 20 results from an estimated 900 matches similar to: "async agi question"
2009 Jun 05
5
How run AsyncAGI commands in background
Hi all,
I have an external application commanding asterisk by AMI and AsyncAGI. I
also have a dialplan like this:
; AsyncAGI extensions
exten => _8.,1,Noop(entering in AGI loop at 8 ${EXTEN});
exten => _8.,n,AGI(agi:async);
exten => _8.,n,Hangup();
; Meetme extensions
exten => _1.,1,Noop(Conference ${EXTEN} ${CONTEXT});
exten =>
2012 Sep 05
6
Async AGI
Hi,
Is there a way to execute next priority in the dialplan if you have called
agi:async? I want to play warning message if adhearsion is down. Currently
I wasn't able to make it work. The dialplan execution ends after the first
priority.
[incomming]
exten => _X.,1,AGI(agi:async)
exten => _X.,2,Answer
exten => _X.,3,Playback(some-message)
exten => _X.,4,Hangup
Regards,
Pavel
2003 Sep 03
8
Asterisk Jitters
Hi,
Every time I dial into my asterisk box i hear nothing but asterisk
jittering.
The following is an example of what I get on the asterisk CLI
Thanks
*CLI> DEBUG[81926]: File chan_sip.c, Line 3826 (check_user): Setting NAT
on RTP
to 0
DEBUG[81926]: File chan_sip.c, Line 4807 (handle_request): Check for res
DEBUG[81926]: File chan_sip.c, Line 952 (find_user): Call from user
2008 Jul 23
1
1.4.21.2: Linking res_crypto causes segmentation fault.
Hi,
i tried to compile Asterisk 1.4.21.2 on a server which i have been using with many previous Asterisk versions,
without any problems.
But with 1.4.21.2 it failed:
----------------------------------
[CC] res_adsi.c -> res_adsi.o
[LD] res_adsi.o -> res_adsi.so
[CC] res_agi.c -> res_agi.o
[LD] res_agi.o -> res_agi.so
[CC] res_clioriginate.c -> res_clioriginate.o
2009 Oct 29
1
Async Agi problem
Now that everything seems to rock I've hit the next hurdle. In my extensions.conf I have the extension:
[agi-async]
exten => _01XXXX,1,Agi(agi:async)
and I can see that the context is "hit" when dialing into *. However my java app that's supposed to receive
async agi events get no such events at all, but it does receive other manager API events.
* version is 1.6.1.4
2023 Apr 20
1
Source code for AGI GET DATA command
On 4/20/2023 7:16 AM, Rhys Hanrahan wrote:
>
> Hi All,
>
> I’m having issues figuring out how to set no DTMF timeout on the AGI
> GET DATA command as “0” still has a multi-second timeout if no input
> is given. I am trying to find the source code of the AGI command to
> figure it out, but I can’t for the life of me find the underlying
> source code. The closest I’ve
2007 Feb 15
3
asterisk freeze due to "too many open file" error
Hi,
my Asterisk 1.2.9.1 suddenly freezed ("stop now" did not work!!) . I
found the following errors inside /var/log/asterisk/message:
Feb 14 14:55:41 ERROR[11273] rtp.c: Unable to allocate socket: Too many
open files
Feb 14 14:55:41 WARNING[11273] chan_sip.c: Unable to create RTP audio
session: Too many open files
Feb 14 14:55:43 WARNING[11273] acl.c: Cannot create socket
Feb 14
2015 Dec 15
3
FastAGI not working
Hello everyone,
I have a problem with a FastAGI connection, could you help me fix this problem please?
Here is my log:
[2015-12-15 16:17:09] WARNING[23936][C-00000015]: res_agi.c:1658 handle_connection: Connecting to '10.171.54.149:9110' failed for url
2010 Aug 04
1
Asterisk not working with Festival
Hello,
I am having a Mac 10.6.4 (Snow Leopard). I have compiled and built Asterisk
1.6.2.9 and Festival 2.0.95:beta on my machine. Asterisk is working fine
with SIP channels without Festival. I have written following context in
extension.conf:
[connect-to-me]
exten => s,1,Answer
Exten => s,n,SayDigits(?1?)
exten => s,n,Festival(hello john)
exten => s,n,Hangup
I use call files to
2007 Jul 22
1
Asterisk-1.2.22 DeadAGI Hangup
Hi
I've upgraded my server to asterisk-1.2.22 from 1.2.10 after that my DeadAGI
scripts are not working properly. Like after hangup I used to do some more
work now its not working.
Please help.
thanks
arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070722/09df42e9/attachment.htm
2007 Jun 18
1
AGI command
Hi all,
Does anybody know why my asterisk doesn't have a "show agi" command?
Do I have to load any module for it?
Thanks
Ronaldo.
2007 May 17
4
FastAGI hangs up channel if server is not available
Hi all,
Running 1.2.14
When I call a FastAGI script such as this script for an incoming call:
[calldirect]
exten=>s,1,Answer()
exten=>s,2,AGI(agi://192.168.1.175/calldirect?check&${CALLERID(num)})
exten=>s,3,Goto(check_time,s,1)
and the FastAGI server is not running (Asterisk gets "connection
refused" TCP error), Asterisk just terminates the call like so:
May 17
2016 Sep 21
3
AsyncAGI - How to jump in dial plan when no action initiated on channel or AMI user is disconnected
It means, AMI application is no more running or crashed or lost network connection with asterisk server.
In such cases call is neither answered nor disconnected by Asterisk. I want to detect such state and jump to next dial plan to answer or reject the calls
Regards
Amit Patkar
On September 20, 2016 8:07:23 PM GMT+05:30, Matthew Jordan <mjordan at digium.com> wrote:
>On Sat, Sep 17,
2004 Aug 12
1
AgentLogin issue
Hi
i have an issue getting agentLogin working
/etc/asterisk/queues.conf
member => Agent/1001
member => Agent/1002
extension.conf
exten => 110,1,Wait,1
exten => 110,2,AgentLogin()
now, i call 110 by a firefly client, trying to login in as 1001 agent:
Aug 12 16:31:36 DEBUG[1103408048]: chan_sip.c:4423 build_route: build_route: Contact hop: <sip:sip3@192.168.1.151:5060>
--
2010 Sep 16
5
AGI Delimiter in 1.6
Hi
I am currently using 1.2.x and 1.4.x behind OpenSER. One of the things
I do on INVITES is to re-authenticate the user from OpenSER. Then when
the INVITE gets passed to Asterisk I capture the AUTH to a variable in
the dialplan and pass to an AGI script. I am now trying to set the
same thing up in 1.6 However because the argument delimter in 1.6 has
changed from pipe to comma this breaks as the
2003 Nov 15
10
MeetMe problem
Hi guys,
Having a bit of a problem trying to get conference bridges working. In my
meetme.conf file I have the following line
[rooms]
conf => 6000
In my extensions.conf file I have:
exten => 1000,1,MeetMe,6000
My problem is that when I dial into extension 1000 it is telling me "this
is not a valid conference number". Can anybody telling me what I'm doing
wrong here?
2023 Jul 01
1
SetCallerPres command gone
The AGI debug command worked well, and I found the offending command:
SetCallerPres(allowed)
That worked in Asterisk 13, but from my google searching it looks like this command has disappeared in Asterisk 20 (actually everything after ver 13). I thought it was replaced with CALLERPRES(allowed) but this generated an error too in Asterisk 20.
Is there a replacement command?
-----Original
2013 Jan 24
2
Asterisk 11 / Missing Application SetCallerPres
Hi,
I am using:
Asterisk 11.2.0
libpri 1.4.12
Dahdi: 2.6.1
Sangoma E1-Card with Wanpipe-Drivers 3.5.28
I call my asterisk box via SIP and connect the call to an AGI-Script.
Within the script I do
EXEC SetCallerPres prohib
or
EXEC SetCallerPres prohib_not_screened
But I get the following error:
ast*CLI>
== Using SIP RTP CoS mark 5
-- Executing [100 at sip:1]
2006 Apr 04
1
Too many open files
Dear all,
we have encounter problem when starting asterisk in the foreground,
"asterisk -vvvvgc" with more 100 SIP calls concurrently. we have set
ulimit to the highest value. still has this problem. Is this the
problem keeping asterisk in the foreground or this is a bug in SVN 1.2
16771?
Apr 5 08:48:36 WARNING[14887]: channel.c:562 ast_channel_alloc: Channel
allocation
2016 Sep 17
2
AsyncAGI - How to jump in dial plan when no action initiated on channel or AMI user is disconnected
Hi
Is there any way to detect inactivity on channel when AsyncAGI is used?
I want to detect whether application handling calls using AMI & AGI has
stopped responding.
Alternatively, how can dialplan check if there is any AMI user connected
and decide dial plan execution?
Thanks & Regards,
Amit Patkar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: