Displaying 20 results from an estimated 30000 matches similar to: "sip channel status - how?"
2007 Apr 11
3
Execute EAGI script with params from extensions.conf
How can I execute an EAGI script with params from extensions.conf
Example python script:
InfMsg -s 1
in my extensions.conf
exten => 492,1,Answer
exten => 492,2,eagi,InfMsg -s 1
exten => 492,3,Hangup()
It doesn?t work
my * report...
-- Executing [92@telpin-112:2] EAGI("Zap/4-1", "InfMsg -s 1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/InfMsg
2003 Apr 11
1
Weird AGI/X100P behavior
I've got a single phone line coming into an X100P.
In extensions.conf I've got this:
[inboundzap]
exten => s,1,Answer
exten => s,2,EAgi,hanguptest.agi
I see the ring come in and Asterisk detects it and tries to do something
with it:
NOTICE[20492]: File chan_zap.c, Line 4017 (ss_thread): Got event 2
(Ring/Answered)...
-- Executing Answer("Zap/1-1", "") in
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
2007 May 14
4
[*Win32 0.60] Sending call notification by e-mail/web?
Hello,
In case there are other users of the AsteriskWin32 port...
I haven't really used the AGI feature of Asterisk to run an application
from extensions.conf. *Win32 supports Perl, which I don't know. Apparently,
it's also possible to write AGI applications as EXE's (there's a
eagi-test.exe file installed by default).
=> When a call comes in, I'd like an AGI
2003 Dec 18
11
Sphinx
Hi. I just started trying to play with Sphinx. I followed their site as far as running sphinx-server. It is listening on the default port. I copied sphinx2-simple to another file and changed sphinx2-continuous to sphinx2-server.
So, I ran eagi-sphinx-test under asterisk. What exactly is it supposted to do? Here's what I get:
debian:~# sphinx2-simple2
sphinx2-simple:
Demo CMU Sphinx2
2003 Oct 12
1
AGI Test Fails
I've been trying to use the AGI get_data function for some time now, and
can't get it to work. Today I reinstalled a clean system with Red Hat
8.0 (I had been using RH9, but was told * had problems with RH9) and
downloaded the latest Asterisk CVS to install. I then downloaded and
installed perl-asterisk-0.08. I have extension 502 pointed at
EAGI(agi-test.agi). When I call that
2005 May 25
15
PHP/AGI Problem
Hi
I am currently developing a IVR application using
PHP/AGI. I am using the PHPAGI class at
http://phpagi.sourceforge.net/ to handle the
commuication with my *.
The application basically asks a caller to enter in
some information which is then processed and a answer
is read back out to them. I want the application to
loop back to the beginning after giving the answer so
they can try another
2008 Mar 11
2
AGI - calling functions, CHANNEL STATUS broken?
Greetings,
I am writing an AGI script that needs to check on the idle/busy status
of a number of SIP peers (mostly SPA9xx phones, with a few Polycoms and
Snoms thrown in for fun).
Is it possible to call Asterisk functions (e.g. SIPPEER) from AGI
scripts? Based on my Googling, I would guess in the negative. I have
tried various permutations of Set() and Eval() without success.
I have also
2010 Jan 11
1
MeetMe Conferencing - Announce your own join/leave to yourself and other conference members
Hi all,
I'm trying to get the MeetMe system to take a caller and announce to them they've joined the conference in addition to the other members of the conference assuming previous members of the conference >= 1.
I can see where the meetme.c app actually processes it using the ast_pthread_create_background(&conf->announcethread, NULL, announce_thread, conf); function. The
2006 Feb 27
8
AGI Scripts Terminate too Soon
Ok, here's a weird one.
I have an AGI script where one user calls another. The call is answered. Everything is peachy. If the call is terminated by the CALLEE hanging up the call, then Asterisk returns control back to where the Dial() command left off, and I can check the return code of Dial(), ${DIALSTATUS} etc. That's all great.
HOWEVER, if the CALLER hangs up the call, it seems as if
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,
2003 Jun 18
1
Integration with external ASR engines
Hello,
Question for developers: what is the asterisk way to integrate with ASR
(speech recognition)?
Question to the community: has someone done anything in this direction?
On the first glance that shouldn't be too hard. One part is delivering audio
to the engine (for example,
main ASR players Nuance and Speechworks will be happy with RTP) - can be
done via RTP forking.
The other part is
2005 Apr 08
4
Channel bank replacement
Hello,
I am working for a charity in the UK and I am projecting a new phone system.
We would like to connect our two-wire telephones (40 or so) to an ADIT
600 channel bank, and connect that into an Asterisk box via the CMG card
or T1 card.
I have been in talks with Carrier Access about the purchase of a new
channel bank and we tried to get a minor version of it first for testing
with the
2007 Aug 27
1
Detecting tones
Hello folks,
I'm interested in detecting tones on specific frequencies with
specific timing; for example, I'd like Asterisk to dial out and when
the channel starts/call connects, listen for a 1200Hz tone that plays
for 100ms.
Is this doable with Asterisk using something already extant? After
looking through documentation, mailing lists, and some of the source I
had the idea that I might
2004 Apr 06
1
Agi and bridging problem when codecs differ
Hi all,
I have encountered this problem: if the caller is connected to the callee using Dial() command called from extensions in extensions.conf, there is no problem. But if the same caller and callee are connected using an AGI->exec('Dial'...), the line is disconnected when asnwer. There's a problem bridging. If the codecs are the same on both ends then there is no problem.
2003 Aug 21
7
AGI Channel Status
I'm having some trouble getting the channel status with an AGI script.
#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
$AGI->channel_status('Zap/1-1');
I am now stuck, and don't know how to get the return codes:
-1 There is no channel that matches the given <channelname>
0 Channel is down and available
1 Channel
2003 Jul 17
2
AGI & Silence detection
Does anyone how you might detect a period of x milliseconds of silence
using AGI ?
Rgds,
Stuart
2003 Dec 18
1
AGI and broken pipe
Hi All,
I was able to track down what I believe is a bug when using AGI
services. This bug may crash your system if your extensions.conf script
is intensive in using AGI services. Depending on your system's ulimit, *
keeps opening files until it reaches the system limit and then stops
responding.
Function app_agi/launch_script seems to leave an open and unused file.
Can someone confirm this?
2010 Jun 11
1
WARNING message when play
When I use an eagi script when play a message appear a lot of warning
messages, but it play very well
I?m using
Asterisk 1.4.32
dahdi-linux-2.3.0.1
chan_ss7-1.4.1
Any ideas??
-- Playing 'ser002' (escape_digits=0123456789*#) (sample_offset 0)
[Jun 11 18:12:45] WARNING[15807]: file.c:1300 waitstream_core: write()
failed: Broken pipe
[Jun 11 18:12:45] WARNING[15807]: file.c:1300
2003 Dec 29
1
Agent setup
Dear Group,
I have been successful in setting up the Agents, queues and getting agents
to log in.
Is there a way that I could configure the system so that the agent is called
back. i.e. the agent logs into the system, a call is destined for them and
their phone rings.
If some one has this setup I would be very interested in hearing from them.
Warm Regards and Thanks
---------------
Shad