similar to: Can't get ANSWEREDTIME after hangup using ZAP

Displaying 20 results from an estimated 3000 matches similar to: "Can't get ANSWEREDTIME after hangup using ZAP"

2007 Feb 20
2
Help! How to get ANSWEREDTIME after DIAL a ZAP channel?
Dear all, I tried to make a call with extensions.conf. exten=> _00[1-9].,1,Dial(zap/g1/${EXTEN}) exten=> _00[1-9].,2,NoOP(ANSWEREDTIME=${ANSWEREDTIME}) exten=> _00[1-9].,102,Hangup But the 2 and 102 will not be executed. So I can get the correct answered time via 2. Is any idea about it? Is it the problem of my ZAP channel's configuration? My zapata.conf is as below:
2007 Feb 24
0
Call was hangup when LIMIT_WARNING_FILE was playing
Dear All, I tried to use 'L' option on my dial command. I set the x to 65000(65 seconds), y to 60000(60 seconds), z to 30000(30 seconds). The max calltime should be 65 seconds, and it will play "beep.gsm" at 60 seconds left. And repeat the beep at 30 seconds left. But the call will be hangup by system at 60 seconds left. In another word, when it plays warning file, the call
2010 May 05
0
BAD ROUND TIME FOR ANSWEREDTIME
Hello, I saw that Asterisk don't calcultate fine the ANSWEREDTIME for me. I want that when ANSWEREDTIME =~ 5.6 become 6 and if ANSWEREDTIME= 10.3 become 10 because, now, if ANSWEREDTIME =~ 15.9, it become 15! it isn't correct I could manipulate the app_dial.c to have my own result. But do you think that my idea is correct because, If a call is 15.999999 Sec it become 15Sec. For a
2010 May 03
1
BADTIME FOR ANSWEREDTIME
Hello, I saw that Asterisk don't calcultate fine the ANSWEREDTIME. I want that when ANSWEREDTIME =~ 5.6 become 6 and if =~10.3 become 10 because, now, if ANSEREDTIME =~ 15.9, it become 15! it isn't correct How can I have a rounded ANSWEREDTIME ? Where have I to manipulate the sources? thank you -- Francois -------------- next part -------------- A non-text attachment was scrubbed...
2007 May 05
1
${ANSWEREDTIME} Broken on 1.2.13?
No matter what I do, ${ANSWEREDTIME} is always 0, even on the most simplest dial plan such as: Using Asterisk 1.2.13 exten => 77,1,Answer exten => 77,2,Playback(custom/dax/S300) ; one minute file exten => 77,3,Noop(${ANSWEREDTIME}) exten => 77,4,Hangup -- Executing Answer("SIP/5402-b7b45f58", "") in new stack -- Executing
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 .
2008 Jan 30
1
Queue - ${ANSWEREDTIME}
How to make ${ANSWEREDTIME} to work with Queue, so when the user hangs up, I can calculate how much time the each call lasts? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080129/b6f36622/attachment.htm
2014 Sep 17
1
${ANSWEREDTIME} returning null
Hi, I am initiating a call using call files. In 'h' extension I am trying to collect the value of ANSWEREDTIME variable but it is returning null. While It works fine when call is not generated using call files instead is generated from softphone. any idea what might be wrong? thanks Anurag Rana http://newbie42.blogspot.in/ -------------- next part -------------- An HTML attachment was
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
2009 Jan 16
0
No subject
Dialing out If the AGI application dials outward by executing Dial, control over the call returns to the dialplan and the script loses contact with the Asterisk server. The script continues to run in the background by itself and is free to clean up and do post-dial processing. If you want your application to initiate a call out without being started through the dialplan: * Asterisk auto-dial
2009 Jan 16
0
No subject
Dialing out If the AGI application dials outward by executing Dial, control over the call returns to the dialplan and the script loses contact with the Asterisk server. The script continues to run in the background by itself and is free to clean up and do post-dial processing. If you want your application to initiate a call out without being started through the dialplan: * Asterisk auto-dial
2005 Oct 07
1
ASTCC -- semantic note of 'callstart' in cdrs?
Looking at the code, it would appear that the 'callstart' column of the cdrs table should really be called 'callend': $dialstr = "IAX2/$res->{path}/$phone|30|HL(" . ($maxtime * 60 * 1000) . ":60000:30000)"; $res = $AGI->exec("DIAL $dialstr"); $answeredtime =
2003 Nov 28
2
Deltathree icomming problem
Hi, I have a deltathree account and I can place calls but I can't receive calls. I use Grandstram sip phones. When I call my deltathree phone # the voicemail is answer :(( I need some help and solutions from the guys who allready are using deltathree. I search on Internet and I try all types of configurations... :( This is my configurations files: - sip.conf - [general] port = 5060
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();
2006 Jan 19
0
Incoming fax on voipbuster
Hello, I'm trying to receive a fax to my inbound number from voipbuster. Asterisk receives the call and starts the rxfax application successful, but then nothing happens. The calling party is still hearing a ringing tone, or sometimes nothing. Voicecalls are working correct and without problems. For testing I've add a local number (300) to the dialplan. When I call this number
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 Aug 25
1
How to detect if the call is being answered by Voice Mail?
Hi, I am pretty new to Asterisk. I am trying to make sure some human being answers the phone not the voice mail machine. How can I programmatically identify that? Here is my Sub: sub DialPhysician { my ($self, $con, $PhysicianPhone, $call_id, $conv_id) = (@_); to_log($self, "Inside Dial Physician", 2); my $DocPhone = "1".
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
2006 Mar 07
0
a2billing problem with call duration
Regards! During the use of areski a2billing software I'm getting same problem all the time. Actually, after 15 minutes of speaking to someone over calling card, connection brakes. Installation was as smooth as it could be so I don't think I made same kind of a mess in that domain. This is the only problem in the aplication. In the logs everything seems to be fine. I'am sending You
2010 Jul 08
1
AGI get full variable
Dear All, I have "get full variable" AGI call to get the ANSWEREDTIME channel variable. I have originated the call to one extension, once answered I have called DeadAGI to control the call. I have problem that after hangup the call AGI "GET FULL VARIABLE" returns -1 for ANSWEREDTIME channel variable. What is the problem? Where I made wrong. Please suggest me..