Displaying 20 results from an estimated 10000 matches similar to: "Asterisk CDR Variable"
2008 Jan 08
4
Bugs??
Good Day All,
I am facing a serious problem since I started to use asterisk. I don?t know if it is a bug or some one already solved this.
Currently I am running 120 VoIP SIP channels on my asterisk server but each day 2, 3 calls got hanged in asterisk, and on asterisk CLI ?show channels? showing us as call UP but in real there is no call.
When asterisk restarted the hanged calls removed from
2005 Oct 17
1
astcc missing to bill random calls?
Hello list,
I just came into a strange problem wth astcc. the trouble is astcc.agi does
not bill some calls. The calls are logged in the cdr-csv/Master.csv file,
but with a duration of 0, billsec of 0, an empty dstchannel, and with a
lastapp field of "hangup". I suppose that astcc.agi was not able to get the
answeredime variable from the SIP channel...
I have added a few functions to
2010 Feb 03
1
CDR / billsec / originate / local chan
Hi All,
I have been running a environment with asterisk 1.4.20.1 for some time
now with no issue but have recently added some extra functionality
(enabled call recording via MixMonitor) and ran into some deadlock
issues which seem to be well documented with earlier 1.4.x releases so
have decided to take the plunge and upgrade. I decided to start testing
with 1.6.2 but have run into a couple
2014 May 07
1
asterisk12.2.0 PJSIP2.2.0 codec translation problem
Hi!
my asterisk-12.2.0 with pjsip-2.2.0 does not translate codecs any more.
I tried every combination. silent on both sides.
I compiled pjsip with no resample in pjsip.
./configure --prefix=/usr --enable-shared --disable-sound*--disable-resample* --disable-video --disable-opencore-amr
is there a way to force asterisk back to do the codec translation?
Attachment:
sip show channel of the
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();
2014 May 02
1
CDR billsec issue with calls forwarded through the Local channel
Hi
I'm using asterisk 1.8.23.1 but I've seen this same issue in previous
versions of 1.8. I have created some work arounds but the behaviour is
incorrect.
This is the scenario:
Call comes in and goes to appropriate dialplan
In the dialplan the call is forwarded to another number using a Local
channel (and using /n ) e.g.
Dial(Local/<my-number>@outbound-context/n,60)
The number is
2008 Feb 07
5
Two Leg CDR
Hi all,
i am wondering if i can make two leg cdr in mysql cdr table.
1st Leg : Registrar the ATA which registered to the asterisk and it normally logging in cdr table.
2nd Leg : The CDR of carrier for the example if i send call like
exten => _x.,1,Dial(SIP/${EXTEN}@AT&TIP)
I this cause i can get the accrue duration of call because currently we are facing some call missing not coming
2014 Jul 18
0
How to get 2 CDR Records of 2 outgoing calls bridge
Hi all,
I need 2 CDR Records of below 2 numbers for outgoing calls, detail is given
as below:
*96XXXXXXXX88XXXXXXXX*
*=> Call file : outbound call generate through below file*
Test.call
======
Channel: local/s at outgoing/n
WaitTime: 45
Context: outgoing_ivrs
Extension: s
Priority: 1
Set: contact_no=96XXXXXXXX
extensions.conf
============
[outgoing]
exten => s,1,NoOP(----- First LEG
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 :
2004 Dec 10
0
AGI Perl
Hello,
I'm writing a AGI Perl script and use the following lines to initiate a
call :
$res = $AGI->exec("DIAL $dialstr");
And then :
$answeredtime = $AGI->get_variable("ANSWEREDTIME");
The problem is that I need to know immediately when the call has begun.
I can have the call duration & establishment time at the end of the call
but not in real time when it
2006 Mar 06
1
cdr records on transfer
Hello!
i'm trying to set up transfer without using the respective
asterisk-function but with the built-in phone functions. my goal is to
have the first callleg billed to the caller and the second callleg to the
callee, who is responsible for the forward(and i can't bill a unknown
caller anyways)
so far it's working without problems, but my cdr's are messed. with the
help of the
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".
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 =
2007 Dec 06
3
CDR Function in Hangup Channel
So... I'm trying to access CDR(duration) and CDR(billsec) inside h...
I keep getting 0. Can I access the CDR function inside a hangup extensions?
Asterisk 1.4.13
Thanks, Doug.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
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 Feb 10
2
Obtaining billsecs in the dialplan after a call?
Hi,
I'm stuck on a silly thing. I need to get the "billsec" CDR value after a
call. But I'm finding its always 0.
Here's my test code:
exten => *244*,1,Dial(Local/test@custom-tests/n,,g)
exten => *244*,n,Noop(after dial duration is ${CDR(duration)} billsec is
${CDR(billsec)})
exten => *244*,n,Hangup
[custom-tests]
exten => test,1,Answer
exten =>
2006 Nov 17
0
Understanding the CDR with forwards...
Hello,
I have a few users using Polycom 501's and some are using the "forward"
function on the phone. When a call comes in the system, he/she gets the
standard "welcome to abc inc., bla bla bla" message. When the dial an
extension, they get forward to the phone, which forwards them to a cell
phone. That much is clear.
My CDR entries look like this: (columns are
2012 Aug 01
2
Problem with callfile and CDR
Good afternoon list.
I am experiencing a problem with the CDR and callfiles. What is happening
is this: When generating a call with a callfile, everything works
perfectly, but the CDR is recorded in the table when they answer the call
destination. The field disposition is being recorded correctly, but the
duration field is marked with the ring time and billsec is marked with 0.
This just happens
2006 Nov 09
1
Problem with CDR interpretation
Hello,
I have problem with interpretation of CDR entries.
What happened?
-------------
There was:
1. at 09:00:26 we received call from unknown caller (no callerid) to
secretary with extension 17
2. secretary answered and after some conversation called to extension 18
to check if she could transfer customer call
3. at 09:02:55 extension 18 answered and call was forwarded
4. call was very long
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