similar to: AGI get full variable

Displaying 20 results from an estimated 3000 matches similar to: "AGI get full variable"

2006 May 30
1
Asterisk::AGI and DIALEDTIME
Hi List, In one of my AGIs (using DeadAGI) I grab the answered time using: my $res = $agi->exec ("DIAL $dialstring"); my $answeredtime = $agi->get_variable ("ANSWEREDTIME"); However this information differs from what's written in the Master.csv file (which happens to be the correct value!) Any ideas why? I'm using asterisk 1.2.7.1 and the
2008 Aug 21
3
After Dial execution, using DIALEDTIME, ANSWEREDTIME
Hi, I noticed that when dial terminates it does not return to the dialplan, and therefore can not execute any entry after Dial(). Is there any trick to overcome this limitation ? How I am supposed to handle the returned vales DIALEDTIME, ANSWEREDTIME if I can not execute anything after Dial()? I made a workaround with DeadAGI (below) but it is unreliable: if 2 calls end
2006 Jun 20
1
AGI: Dial and Recording my own CDR
Hi folks -- I have a FastAGI Perl script running, handling calls. It works great. At one point I have a Dial() command. If the called party hangs up, Dial() returns 0, and when I call my own recordCdr() function using the channel variables ANSWEREDTIME, DIALEDTIME and DIALSTATUS, everything is fine. However, if the called party picks up, and then the dialing party hangs up Dial() returns -1,
2012 Jun 29
2
Samba with Active directory integration problem
Hi, I have followed the all the steps given, in https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto. to integrate the samba with active directory. I have the following configuration file, [global] workgroup = ASSURANCE security = ads realm = ASSURANCE.LOCAL encrypt passwords = yes winbind separator = + idmap backend = lwopen idmap uid =
2007 May 31
1
Passing call duration to an AGI Script
Hi, I'm trying to find a way of passing the actual call duration (something like ANSWEREDTIME) to an AGI script that runs periodically during a call. Any ideas? Thanks, Adi. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070531/115b0aee/attachment.htm
2009 Aug 03
1
User Authentication in sip.conf
Dear all, I want to setup the incoming calls, that don't use authentication in sip.conf file. My configurations as follows, [2000] type=peer host=dynamic insecure=port,invite ; (both) context=Testing But when I call '2000', I noticed the following message in Asterisk console, "NOTICE[5702]: chan_sip.c:10543 handle_request_invite: Failed to authenticate user
2007 Sep 17
1
Problem with asterisk-perl-0.08 and Asterisk >= 1.2.20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've been using for a long time asterisk-perl-0.08 for prepaid card applications, and I've identified a problem with the last releases of asterisk-1.2, installed with Trixbox. The command get_variable() raises a signal SIGPIPE when it is called (whatever the variable to get). I made tests with Asterisk 1.2.20, 1.2.21 and 1.2.22, and I
2012 Mar 08
1
Using the h and DeadAGI
Hi All; Really I need to know why when using the "h" in the exten =>, then we use DeaAGI with it? I am using vicidial and I see this line alot, so I need to know how it work (when it will be executed): exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}) The question is: When
2009 Aug 01
1
how to setup incoming calls not to use authentication
Dear all, In Sip.conf file how to setup incoming calls not to use authentication? Please provide some steps to do it.. Thanks... Regards, Velusamy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090801/d6c39afc/attachment.htm
2004 Dec 28
0
Two problems with the Perl AGI
Hi, I have a * 1.0.3 running on a Gentoo box and I installed Perl AGi from http://asterisk.gnuinter.net/files/asterisk-perl-0.08.tar.gz. When I write this : >#!/usr/bin/perl >use Asterisk::AGI; >my $AGI = new Asterisk::AGI; >$AGI->exec ('Dial SIP/kphone1|30|tTr'); >my $duration = $AGI->get_variable('ANSWEREDTIME'); >print STDERR "\n duration :
2007 Aug 28
1
deadagi and billsec or answeredtime
Hello, I want to create php rate script and I'm using Deadagi. But I allways get billsec 0 , or nothing. Can you help me to solve this problem... My extension.conf: exten => _123,1,DeadAgi(rate.php) exten => _123,2,hangup And my simple test php script rate.php #!/usr/local/bin/php -q <?php include_once (dirname(__FILE__)."/phpagi.php"); $AGI = new AGI();
2009 May 12
1
enum agi interesting problem
Hi, I am having a strange problem with enum and AGI. Here is what happens: I have in my agi something like that: foreach my $resolver ("e164.arpa", "e164.info", "e164.org") { my @enums = get_enums($phone, $resolver); foreach my $enum (@enums) { $dialstring = $enum .
2006 Nov 12
0
Trixbox dialout problems
Hello All. I am trying to use RAGI the ruby agi framework with trixbox. I am having a problem with the dialout part. The RAGI framework creates a file in the /var/spool/asterisk/outgoing directory and routes the call to an extension (I have listed the relevent portion of the file below). The problem is that the initial dial command does not execute properly in trixbox. I am hoping somebody who
2011 Apr 09
1
Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?
Hi Everyone, Trying to run a php script after DeadAGI for A2Billing does it's magic. This is the dialplan: [a2billing] exten => _X.,1,System(php pre-call.php ${CALLERID(num)} ${EXTEN} ${UNIQUEID}) exten => _X.,n,AGI(a2billing.php,1) exten => _X.,n,Hangup() *exten => h,1,Wait(5)* *exten => h,n,System(php post-call.php ${CALLERID(num)} ${UNIQUEID})* As you can see above, I even
2010 May 31
3
Read and set the UUI in asterisk
Dear all, How do I set the UUI informations for outgoing calls and read the UUI information for incoming call in asterisk? Thanks in advance.. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100531/ffcceeee/attachment.htm
2009 Jul 14
3
Help in oh323 Gatekeeper
Dear All, I have installed GNU gatekeeper in my machine. I tested the calls using gatekeeper successfully. Now I have tried to Disable the gatekeeper in oh323.conf file gatekeeper=DISABLE Now I have tried to call, but the connection is not established. I have got following warning message in console. " WARNING[8446]: chan_oh323.c:3555
2005 Jul 23
2
ASTCC gives me only the time, but no cost
I try to track down an error that causes that Astcc just reports the time, but not the costs. I could narrow the problem down into this sub routine: sub calccost() { my ($adjconn, $adjcost, $answeredtime, $increment) = @_; eval { my $adjtime = int(($answeredtime + $increment - 1) / $increment) * $increment }; my $cost; print STDERR "Adjusted time is $adjtime, cost is $adjcost with
2009 Mar 09
3
problem with an agi in PHP
Hello, I need to execute an agi in php. I have that: == Using SIP RTP CoS mark 5 -- Executing [0170725000 at mnupprx1:1] Answer("SIP/33179977999-b6c18478", "") in new stack -- Executing [0170725000 at mnupprx1:2] GotoIf("SIP/33179977999-b6c18478", "0?6:3)") in new stack -- Goto (mnupprx1,0170725000,3) -- Executing
2007 Sep 15
2
AGI/PHP: missing arguments
hi folks, I've built a simple PHP-script utilizing the AGI-interface. in extensions.conf I trigger the script and pass a single value as first argument: exten => h,1,DeadAGI(process.php|${Enter}) On the Asterisk-console, I can actually see that the script is called correctly (something like "DeadAGI(process.php|1234)"). However, when I read stdin in the PHP script, I receive
2009 Nov 09
1
How to know AMI status
Dear All, I have installed Asterisk 1.6.1.9 to use Bridge Application in AMI. After inatallation I have tried to connect the AMI via telnet. But it didn't connected. I used netstat to know the listening socket. But it was not available. How to start the AMI server socket. Please any one help me....... Thanks, Velusamy. -------------- next part -------------- An HTML attachment was