similar to: agi exec problem.

Displaying 20 results from an estimated 5000 matches similar to: "agi exec problem."

2003 Nov 23
1
agi exec problem (followup)
actually, i do have a workaround which bypasses the exec command entirely: system("asterisk -r -x 'add extension s,3,Playback(demo-congrats) into local'"); but it's ugly. seems like it should be possible to do this with exec. .t ---------- Forwarded message ---------- Date: Sun, 23 Nov 2003 21:17:50 -0500 (EST) From: tad <tad@media.mit.edu> To:
2003 Nov 24
1
Re: Asterisk-Users digest, Vol 1 #1994 - 14 msgs
as i said, right now i'm just getting my feet wet. but, i will be needing to build dialplans on the fly. 'add extension' seems like the right call to make. .t > What is the goal of this? It doesn't make much sense to me. Care to > share some insite into what your goal is? > > bkw > > On Sun, 23 Nov 2003, tad wrote: > > > actually, i do have a
2018 Oct 08
3
Non-matching linkedid on CDR Records [SEC=UNCLASSIFIED]
Hi all, Just thought I'd update this thread in case anyone else is Googling trying to find out how to do this... I found the solution to my problem to be to use the IAXVAR() function to pass the accountcode between the Asterisk boxen and update the CHANNEL(accountcode) with that variable. Thanks to Richard @ Digium for the reply that clarified my misunderstanding. Calum On Wed, 2018-10-03
2007 Feb 05
1
Sending sound to an open channel....
Hi Folks, I dont know how exactly to start... so im going to (what i think is) the point... In a dialplan, after i set an autohangup (with AGI) , how could i send a sound (stream a sound ) into an open channel at X seconds before the autohangup time get to 0 for that channel? (Like public phones, that gives u a 'beep!!!' before ur time runs out, just like that...) Thank you very
2004 Aug 06
1
how to switch mountpoints
hey can anyone help us out with this one? we're working on a system for our community radio station that uses a mysql/php interface a database to manage users and a schedule system. since we have different copies of liveice and ices on different machines for different applicaitons around campus (they are all on different icecast mountpoints on our main server), we need our php script to
2017 Aug 13
1
what is CodeMeter and why is it running on my CentOS box?
On Sat, Aug 12, 2017 at 06:49:01PM -0700, John R Pierce wrote: > On 8/12/2017 6:25 PM, Fred Smith wrote: > >I just stumbled over /var/log/CodeMeter, which contains a number of large > >log files. > > > >I know I'm getting old and forgetful, but I can't remember intentionally > >installing that package. > > > >Yum just says "installed"
2016 Jan 06
2
No joy with my first AGI Python script
It's very simple but it doesn't work. Here's the entire script. #! /usr/bin/python import sys env = {} def comm(cmd): sys.stdout.write(cmd.strip() + '\n') sys.stdout.flush() return sys.stdin.readline().strip() while 1: line = sys.stdin.readline().strip() if line == '': break key,data = line.split(':') if key[:4] == 'agi_':
2017 Aug 13
3
what is CodeMeter and why is it running on my CentOS box?
I just stumbled over /var/log/CodeMeter, which contains a number of large log files. I know I'm getting old and forgetful, but I can't remember intentionally installing that package. Yum just says "installed" instead of listing a repo. Looking at codemeter.com, it seems to work with something called a "cm stick". I don't have one, don't want one, and never
2013 Jan 10
1
Segmentation fault after upgrading from asterisk-10.5.0 to asterisk-11.1.2
After upgrading from asterisk-10.5.0 to asterisk-11.1.2, I am getting a Segmentation fault. [root at localhost asterisk-11.1.2]# asterisk -vvvvvvc Asterisk 11.1.2, Copyright (C) 1999 - 2012 Digium, Inc. and others. Created by Mark Spencer <markster at digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components
2007 Mar 15
20
C''mon ARC, stay small...
Running an mmap-intensive workload on ZFS on a X4500, Solaris 10 11/06 (update 3). All file IO is mmap(file), read memory segment, unmap, close. Tweaked the arc size down via mdb to 1GB. I used that value because c_min was also 1GB, and I was not sure if c_max could be larger than c_min....Anyway, I set c_max to 1GB. After a workload run....: > arc::print -tad { . . . ffffffffc02e29e8
2006 May 31
2
AEL2 and CID
Does anyone know how to get CID working in AEL2 ? In extensions.conf you can do: exten => 111/666,1,PlayBack(demo-congrats) exten => 111/666,2,Hangup() exten => 111,1,PlayBack(demo-moreinfo) exten => 111,2,Hangup() and if callerid 666 dialed 111, they would get demo-congrats, everyone else gets demo-moreinfo. In AEL: 111 => { Playback(demo-moreinfo);
2008 Dec 05
2
async agi question
Hi, I am developing asterisk support for our application using the Async AGI and Asterisk-Java. One thing I haven't been able to implement is how to stop playing a sound. Something similar to StopIO for Dialogic GlobalCall or DivaStopSending for Eicon. Is there any way to achieve this today which I have missed? Or could someone give me hints on how I could implement this in the res_agi.c The
2006 Jan 15
7
Rad Rails?
Hi, I''ve just now started learning Ruby on Rails. Someone told me that I should get RadRails to use as my IDE. RadRails.org seems to be dead now. Has something bad happened? Or do I just have my URL wrong? Is there another good Rails IDE? I''m developing on windows right now. Thanks! TAD -- Posted via http://www.ruby-forum.com/.
2007 Nov 14
1
Using php exec() in agi script
Hi, Any reason why I can not get the php exec() function to execute a shell command inside an agi script? Thanks. Andre
2007 Jul 30
1
AGI and exec Playback
Hello, I'm looking for a way to play sound file, and control the playback trough web interface. Is it possible to use AGI to play a sound file and then by receiving some event stop playing it, and play another file. The catch is that i want to seek to 1st minute, 5th minute, etc - so regular ControlPlayback with intervals wouldn't fit - i have to use sox to create different file and then
2004 May 21
0
unable to use EXEC in AGI
dear list if I use EXEC in an agi script I get the following doing EXEC VoiceMailMain -- AGI Script Executing Application: (VoiceMailMain) Options: ((null)) May 21 04:25:10 WARNING[1209214400]: chan_phone.c:422 phone_read: Error reading: Resource temporarily unavailable May 21 04:25:10 WARNING[1209214400]: res_adsi.c:205 __adsi_transmit_messages: Un able to send CAS May 21 04:25:10
2005 Jan 10
0
AGI EXEC trouble
Hi, I have a big problem with EXEC in AGI scripts: I do, for example, "EXEC Dial SIP/phone1", Asterisk says -- AGI Script Executing Application: (dial) Options: (sip/phone1) Jan 10 14:33:20 WARNING[10567]: chan_sip.c:1389 create_addr: No such host: phone1 Jan 10 14:33:20 NOTICE[10567]: app_dial.c:743 dial_exec: Unable to create channel of type 'sip' I do "EXEC
2005 Mar 07
1
Exec AGI after hangup.
Hi everybody, I'm trying to implement a enhanced blacklist system using AGI and Perl, configuration in extension.conf is: exten =>_numbera,1,AGI,blacklist_2_in.agi exten =>_numbera,2,Answer exten =>_numbera,3,AGI,xisco_1.agi exten =>_numbera,4,AGI,blacklist_2_out.agi The problem that I have now, is that blacklist_2_out.agi doesn't execute. I think this is because in
2003 Sep 26
3
dialing out with the outgoing queue problem.
Hi, I have cvs updated all my modules (zapata, libpri, zaptel and asterisk). I have also read in the archives & seems that no-one has run into this problem. What I'm trying to do is simple. Just make and outbound call using the /var/spool/asterisk/outgoing directory. I copied /usr/src/asterisk/sample.call and only changed the context & extension. I configured my Zap1 to the same
2004 Jun 28
2
AGI->Exec Problem
Hello, I am having some trouble with the Asterisk::AGI perl library. It seems that the AGI->Exec() command is causing me a problem. Here's the line in my AGI code: $AGI->exec('Record',"$vmfile:wav, 30"); I'm trying to record voicemail to the file name stored in $vmfile with a silence timeout of 30. However, this is not being parse by AGI or Asterisk correctly,