Displaying 20 results from an estimated 10000 matches similar to: "Help getting info from caller"
2010 Jun 30
2
Return agi script.
Good afternoon list.
I'm trying to use ${AGISTATUS} after the execution of my script in PHP Agi. But
after running the script, it just returns me 0 (true). Thus:
-- <SIP/213-00000019>AGI Script check.agi completed, returning 0
I tried putting the lines "return false;" or "return 1;" but did not change
anything.
Does anyone have a clue?
Thanks,
Rodrigo Lang.
2010 Jun 15
2
a2billing for residential voip usage
Hello List.
I just installed a2billing with asterisk 1.6 and got it working. The only problem is that I'm trying to setup something to manage who's using the most minutes in the house. I noticed a2billing only works for callin cards setups, or maybe I didn't configure it correctly for what I want. Can I use a2billing for "?VoIP residential services"? if yes, how? if no,
2009 Nov 26
1
Unable to open sound file error
Hello.
I have a question regarind sound files in asterisk 1.6. I have a sound package in ulaw format and I would like to know if I have a sip extension with allow=alaw would asterisk convert that file to the codec the user is allowed to?
I am having a problem playing a file that exist in /var/lib/asterisk/sounds/es/good.ulaw
but asterisk is telling me it doesn't. Here's what I get when
2007 Feb 28
1
Run-away Asterisk
After testing some AGI's, I noticed several extra Asterisk processes. They
are not zombies, but can't be killed by safe_asterisk. Nor will they die
when CLI issues stop now. Then I read that each AGI spawns a separate
Asterisk process. But all my AGI calls have apparently completed
successfully. So there should be no reason for them to hang there.
Several questions:
1) Under
2008 Jan 14
1
AGISTATUS is SUCCESS even though my PHP script returned -1
Hi,
Using Asterisk 1.4.17. I'm calling a PHP script through AGI. No matter
what my script returns (0 or -1), AGISTATUS always appears to be 0 =
SUCCESS.
I was wanting my script to be able to return a value to the dialplan and
then test AGISTATUS but it looks like I'm going down the wrong path.
Any suggestions?
Thanks,
Brian
-------------- next part --------------
An HTML attachment
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
2007 Mar 02
1
How to fail an AGI
I mean how do I set failure condition in AGI? My script exits with code 0
upon success, and non-zero when problems occur - the standard *nix way. But
Asterisk always report "AGI Script completed, returning 0", and AGISTATUS is
always SUCCESS.
Yuan Liu
2009 May 15
2
change AGI script return result
How I can change AGI script return status to failure from within the
script?
It always return AGI Script ........ completed, returning 0
Thanks,
Hristo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090515/462d5dc3/attachment.htm
2010 Aug 03
1
chinaroby fxo card - never heard of them
Hello.
I'm looking to buy a FXO card to do some testing with two phone lines I have at home and was looking in ebay some and found some cheap ones but, the I've never heard of the brand or manufacturer: chinaroby. They run for about $99 plus shipping. Have any one used these? or please recommend one... Money IS an issue.
Thanks.
2009 Nov 16
1
can't call through voip provider
Hello.
Sorry to repost this message but, I don't have the original message in my inbox nor in my sent box.
Well, last week I posted a problem I am having trying to use an asterisk server use a voip provider and a pstn. Pstn works fine but, I cant even connect to my provider's server. I don't know what I'm doing wrong.
I tried using a soft phone and I'm able to register and
2009 Dec 12
1
how to randomly use provider?
Hello List.
I would like to know how I can use two or more service providers with asterisk to be used randomly for ei, if an user tries to make a call I would like to randomly use a provider. It doesn't matter where the call is destined to.
Thanks.
2009 Dec 13
1
Unable to open file...
Hi List.
Don't know if I already posted about this problem but, if I have I apologize for the double post.
I am trying to test a time of day extension dialing 80, all I'm trying to test is if is morning I would like asterisk to say "Good Morning" but, when I run the test I get the following error message saying that the file doesn't exist and it does:
Night..............
2005 Sep 28
3
ASTCC - INUSE Flag
I download and installed ASTCC over the weekend and I am having an issue where the INUSE flag will not get set back to 0 if the user drops a call while the balance is being played. All other times it seems to reset the flag correctly.
I have tried both AGI and DeadAGI with the same results.
Those of you using it for a while, how did you get around this?
Just for fun this is all I am doing in
2009 Dec 15
3
Best way ro run 2 or more asterisk servers?
Hello List.
I have a question regarding connecting two asterisk servers. I'm trying to learn how asterisk comunicates from server to server. I already have a server running smoothly now, I'm installing another one to test it along side the actual one.
I would like to run different scenarios:
1. Have one of the boxes at a different location outside the LAN and have them communicate.
2.
2005 Mar 21
1
ASTCC: perl / mysql or me???
I try to change something in ASTCC, but I am now totally blind, ....
I hang on one line now. I changed:
vpbx:/var/lib/asterisk/agi-bin # diff astcc-original.agi astcc.agi
22c22
< # exten => _00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN})
---
> # exten =>
_00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},${TARIFF},${EXTEN})
35c35
< # exten =>
2005 Jun 22
2
ASTCC not making calls
Hi, im trying to setup ASTCC but I'm getting it difficult. I've
correctly set up the mysql database astcc and added a brand, trunk,
route and a card as follows:
brands
+------+----------+------+--------------+------+--------+------+------+
| name | language | inc | publishednum | did | markup | days | fee |
+------+----------+------+--------------+------+--------+------+------+
| FWD
2005 Jul 17
1
* CVS-HEAD and ASTCC Intermittent issue
Hie!
I've installed Asterisk CVS-HEAD with ASTCC.
The problem i'm facing is that the astcc.agi script completes when the
recipient picks up the call.
When the astcc.agi completes is returns 0 bill time but both end still
able to talk.
It occurs intermittently, any one facing the same issue?
Asterisk Console
-----------------
== Spawn extension (sip, 7777771111, 2) exited non-zero on
2005 Jan 05
1
ASTCC Compiling Problem
I have this error compiling ASTCC:
[root@pbx astcc]# make install
mkdir -p /var/www
mkdir -p /var/www/html/_astcc
mkdir -p /var/www/cgi-bin/astcc-admin
chmod 755 ./astcc.agi
chmod 755 ./astcc-admin.cgi
echo | ./astcc.agi >/dev/null
Can't locate DBI.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
2005 May 13
1
ASTCC Compilation Error
Hi,
When trying to compile ASTCC i am getting the following error:
root@asthome:/usr/src/astcc# make install
mkdir -p /var/www
mkdir -p /var/www/html/_astcc
mkdir -p /var/www/cgi-bin/astcc-admin
chmod 755 ./astcc.agi
chmod 755 ./astcc-admin.cgi
echo | ./astcc.agi >/dev/null
Can't locate Asterisk/AGI.pm in @INC (@INC
contains: /usr/lib/perl5/5.8.6/i486-linux /usr/lib/perl5/5.8.6
2006 Mar 20
4
simple perl-agi - where's the error?
Hello!
I'm trying to setup a perl-deadagi, but my perl skills lack. can
someone tell me why the following code doesn't work:
#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
$dialstring = $AGI->get_variable("DIALSTRING");
$res = $AGI->exec("DIAL $dialstring");
the asterisk output says:
AGI Rx << GET VARIABLE DIALSTRING
AGI Tx >> 200