Displaying 20 results from an estimated 10000 matches similar to: "AGI Process Count (HOWTO?)"
2007 Dec 07
2
PHP AGI script
I've got a very nice PHP AGI script but I want to be able to do some
database cleanup when the user hangs up the phone. I wish everyone would
hang up when they were suposed to, but some people don't. So what does
Asterisk send to an AGI file when the line has been disconnected? If I
remember reading somewhere correctly, I don't need to use DeadAGI. Instead
I'm able to use
2009 Apr 20
1
doing zero inflated glmm for count data with fmr
Hello R users,
Doing My PhD I collected count data which I believe is zero inflated. I have
run a statistical model with lmer and family=poisson and got
summary(model)@sigma=1 so I believe there is no overdispertion. I would
like to use the fmr function from the 'gnlm' library but I just cannot
figure out from the examples in the help page and some forums out there how
to convert the lmer
2010 Jun 30
2
Pbx_lua vs. calling lua thru AGI?
Hello
I'm taking a look at how to write scripts to be called from the
dialplan, and saw pbx_lua mentioned.
I'd like to know more about this feature, such as what the difference
is with just calling the Lua interpreter through AGI (same difference
as between php-cgi and mod_php?), whether it's production-ready, etc.
Thank you for any help.
2007 Nov 28
2
Billing/Call Control engine : AGI scripts/ AstMan API
Hello ppl,
Have implemented a really nice Billing engine using AGI scripts. So far
it works fine, tho haven't yet put it in the torture cell.
The AGI scripts have been written in PHP, using MySQL for the billing
and profile information.
The major disadvantages I see using AGI scripts :
1. A new process(invocation of PHP scripts) on every new call.
2. MySQL connections on every instance of
2009 Jun 04
7
Asterisk AGI issues (at high load)
Hi, we are experiencing a strange issue and I am hoping someone can point me
to the right direction or help out with some pointers.
We have asterisk 1.6.0.6 with a sangome a104DE card. We have basically 4
T1's for a total of DAHDI 96 channels.
We have an agi application (php) that acts as a kind of a calling card
application.
All users are SIP users that make calls and asterisk then bridges
2009 Jun 24
7
PHP AGI Not Working and Odd Behavior
Hi,
I'm running asterisk 1.4.22 on a debian server.
I have php5 installed and it works correctly command line.
When trying to run a php script via AGI, I get messages such as:
GI Tx >> I>
AGI Rx << #!/usr/bin/php5 -q
AGI Tx >> 510 Invalid or unknown command
The scripts are completely executable and owned by asterisk
-rwxr-xr-x 1 asterisk asterisk
Googling is not helping
2004 Oct 05
5
Asterisk Perl AGI
Hello everybody:
This could be a stupid question, or may be not; I'm not sure 'cause I have not a very wide experience working with Asterisk, actually I just started last week. I need to make an IVR system work and I choose working with AGIs, written in Perl.
The available documentation I've found show it as a very simple proccess, but it doesn't work for me... and I
2006 Jan 16
2
agi debug - unable to set normal priority
Hello!
In my agi-debug i get the following error-message:
AGI Rx << Jan 16 14:45:52 WARNING[18299]: asterisk.c:788 ast_set_priority:
Unable to set normal priority
AGI Tx >> 510 Invalid or unknown command
AGI Rx << SET VARIABLE MODCLI 00434345452
the agi i call is a very simple shellscript that simply removes wrong
charakters:
#!/bin/bash
modcli=`echo $1 | sed -e
2007 Nov 14
4
Problem with AGI Script
I have asterisk 1.2.18 running on a new system we just installed. Although
I've used AGIs many times in the past, I'm stumped on this one. It may just
be a simple issue that I need another eyeset to look at.
My AGI does the following:
#!/usr/bin/perl
#Load a few modules...
use Asterisk::AGI;
use DBI;
$AGI = new Asterisk::AGI;
#Grab input from Asterisk
my %input =
2006 Nov 13
1
Defunct / zombie AGI after some execution time
Hello,
We are running Asterisk-1.0.12 in a CentOS 4-4.2 system, kernel
2.6.9-42.0.3.ELsmp.
We have some custom AGI, and when we launch Asterisk the system works fine.
But **after some time**, each AGI execution generates a zombie <defunct> process.
We believe that it's not a problem in the AGI code, because Asterisk+AGI is
working fine in the first "n" minutes/hours. This
2010 Aug 23
2
outbound SIP trunk hunting (or any fxo for that matter)
On Aug 7, 2007 'Mojo' wrote:
Nicholas Blasgen wrote:
> I've got 4 SIP phone lines with a call-limit of 2 for each. I've
> written a handy macro to allow my users to dial a phone number and the
> macro will figure out the next available line to use by first checking
> if the GROUP() is over 2 and then checking to see if ChanIsAvail() as a
> backup, and if it
2007 Aug 15
2
Load balancing SIP trunks?
I have 10 SIP trunks that I'd really like to round-robin load balance.
Currently I have a macro that switches between available lines, but there
really must be a function in Asterisk to do this on its own. So my question
is just that, are there any easy ways for Asterisk to either balance between
SIP trunks or even just a built in function to find the next available SIP
trunk. I think using
2012 Nov 24
2
Building factors across two columns, is this possible?
I am trying to make it so two columns with similar data use the same internal numbers for same factors, here is the example:
> read.csv("test.csv",header =FALSE,sep=",")
V1 V2 V3
1 sun moon stars
2 stars moon sun
3 cat dog catdog
4 dog moon sun
5 bird plane superman
6 1000 dog 2000
> data <-
2010 Jan 04
2
Outgoing Calls Only -- Firewall Rules
I'm trying to move my Asterisk deployments under a Virtual IP address and
now remember why I dislike this. My primary Asterisk system is now behind a
firewall in private address space. My question is what ports are needed to
be opened just for the purpose of placing outgoing calls. I would have
assumed none, but I can't even get replies on registration from any of my 3
VoIP providers.
2004 Jun 10
1
Domain problem with NT4 & Samba 3.0.2a
All,
I really need some help. I'm putting samba up on a new windows domain
called SIERRA. I'm using Samba 3.0.2a on Solaris 8. I'm barely
knowledgeable on Windows NetBIOS... but am good with Solaris. The
status is that I've got the daemons running and working normally. I
have 1 desktop with 1 PDC & 1 BDC in the SIERRA domain. On the desktop,
I can see both DC's but
2007 Jun 15
2
combining AGI with dialplans
On 2007-05-15 Tony Mountifield wrote (wrt using AGI scripts to dial out):
> Can't comment on this one, as I never use AGI to dial.
> My AGIs just set the context, extension and priority,
> and exit to the dialplan to do any dialling.
(http://article.gmane.org/gmane.comp.telephony.pbx.asterisk.user/185537)
I would like to do this, but I am having trouble figuring out how. I have
2003 Oct 09
2
Not able to invoke swat
Hi
I have configured samba (version 2.2.7a) on Linux 9. Now I am facing a
problem like
I am able to invoke the swat in the local machine (http://localhost:901
<http://localhost:901/> ), But I am not able to invoke the swat from
other machine.
Let us consider
Localhost name is moon (linux machine)
Another machine is mars (Win 2k)
I am able to invoke swat from
2003 Aug 04
2
Fix for Redhat 9 zombie AGI processes
Hi all-
Thanks to Mark Spencer for finding this patch:
If you are experiencing leftover zombie processes from your AGI scripts that
have terminated, this is apparently due to a RedHat 9 threading issue
introduced in a recent update....
To get rid of this, try entering the following line before you start
asterisk:
export LD_ASSUME_KERNEL=2.4.1
It works for me - I'm still checking to
2003 Aug 02
1
Asterisk agi interface leaves zombie processes?
Hi-
Asterisk (CVS 7/30/03) seems to leave my AGI processes (written in Perl) as
"zombies", even though they exit normally with exit(0). I am running Red
Hat 9.
I tried the same AGI etc with an older CVS (7/1/03) and this does not
happen.
I think a zombie process is a process that doesn't release some resource
(shared memory, etc), so I'm worried about this since I call my AGI
2008 Jan 17
2
SIP Proxy Issues
I've set up plenty of Asterisk boxes but never one that had to deal with a
proxy server to be able to use a line. Using "X-Lite" I have no issue with
settings as follows:
Display Name: Any Name
User name: 00575000010XXXX
Password: 00575000010XXXX
Authorization user name: <blank>
Domain: directnationalloan.com
Checked "Register with domain" and "Send outbound