similar to: Obtaining billsecs in the dialplan after a call?

Displaying 20 results from an estimated 1000 matches similar to: "Obtaining billsecs in the dialplan after a call?"

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();
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
2020 Jul 10
2
Way to start CDR when call is bridged ?
Hi, in dialplan -Asterisk 16.2 from Debian Buster- we have  same = n,Dial(PJSIP/101&PJSIP/102&PJSIP/103,15,tT) If thew call is not answered after 20 seconds, we launch a new dial with same and/or other extensions  same = n,Dial(PJSIP/101&PJSIP/104&PJSIP/110,20,tT) Looking in CDR we have at the end of the call (here we called 3 extensions which where ringing, let say 110
2010 Jan 31
2
sip to dahdi and billsec
Hi, My costumers are logged in on my Asterisk PBX through XLite Softphone (SIP). My server is connected to PSTN. Problem is when SIP phone calls ordinary phone via dahdi I get DAHDI/1-1 ANSWERED SIP/number-number and billsec field from cdr is start counting. Is it normal behavior ? Can I change that ? So channel gets in ANSWERED state and billsec starts as soon as line starts to ring even if no
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
2007 Mar 20
3
wrong values in duration and billsec in CDR
Hi to all, I was looking in google and also in this mailing list, but I dont find the solution to my problem, so I subscribe me to the list in order to post this e-mail and find the solution. This is the scenario: GSM Phone ----- GSM Network ---- TDM2406E --- ASterisk 1.4.0 (*) -------- VoIP Provider ------- Sip Phone or H323 Phone The problem is that I am generating calls from SIP and also
2006 Mar 20
3
Grabbing the billsec and duration after a hangup.
Hello, I am wondering if someone has got any ideas that can help solve this problem. I have a dial plan that you call into, and depending on certain conditions it calls out on a number grabbed from a database. Something like this : exten => s,n,Do something exten => s,n,Do something else exten => s,n,Dial(ZAP/g1/${OUTBOUND},${timeout}) I need to log the time the person
2008 Oct 09
2
Asterisk 1.6.0 CDR billsec and duration not working from h extension
Can someone tell me what I am doing wrong? Why doesn't CDR(duration) or CDR(billsec) return the correct values? cdr.conf endbeforehexten=yes extensions.conf [macro-Dial] ; ${ARG1} - Dial String exten => s,1,Dial(${ARG1},,M(post-dial)) exten => h,1,NoOp(Call was hung up - ${CDR(duration)} seconds long, billed for ${CDR(billsec)} seconds) The log shows: -- Executing [h
2010 Oct 31
1
billsec=0 when using Local channel
Hi, I've got a dialplan that transfers all outgoing calls to a Local channel before dialling out via SIP. I did this because sometimes i'm dialling two numbers at the same time and need to know which call is answered for billing purposes. However, I've just noticed that billsec is always equal to 0 even though i know the calls were answered. I now have to take the cdrs from my
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
2007 Nov 07
2
Determination of billsec
How is the billsec field calculated in CDRs? I have a situation where billsec is being reported as 0 despite the call being answered and a conversation occurring. An example record follows: '2007-11-06 21:36:50', '6495566778', '6495566778', '0116495566778', '1100012_1', 'Local/0116495566778 at 1100012_1-887b,2',
2009 Oct 28
1
CDR(billsec)
Hi people, when I try to get the billsec in the dialplan, it is 0... but if after that I check the database, it is right (not 0). I'm trying to get it in the h extension, like: exten => h,1,Noop(End) exten => h,n,Noop(Time is ${CDR(billsec)}) .... Is it updated after the extension h is executed? In that case, how can I get the call duration in the h extension? Thanks, Anahi
2007 May 03
3
0 duration but non-zero billsec in mysql cdr
I was just going through my call records ( stored in mysql database by cdr_MYSQL module ) and saw a record having duration = 0 and billsec of more than 50 seconds . I did a query on cdr where duration < billsec and saw that there were infact some 250 records with duration less than billsecond ( table had around 4,00,000 records) . Did anyone came across this ? I also checked csv files and they
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
2010 Aug 11
1
billsec exceeds duration on some calls
Hi I'm having a problem with Asterisk 1.6.2.9 with the MySQL cdr addon. With some calls, the value in the `billsec` field in the CDR is exceeding the value in the `duration` field. I didn't think this was supposed to happen? Our old installation (some ancient version, sorry not available) always had `billsec` <= `duration`. The problem does not seem to be evenly distributed
2006 May 03
1
dialing FXO gives wrong billsec
Hi all, I came across a new(to me that is) issue. I want to know from others what they have done to resolve this. I have a 4 port digium card with FXO's, and connected to each FXO is a premicell. When I dial the premicell, after about two seconds is says 'ZAP/1 answered', then it takes a few more seconds for the call to hit the cellular network, before the cellphone starts to ring.
2004 Jul 02
3
CDR shows billsec=12 for all bridged calles.
Can someone help me, im using latest CVS, asterisk and cdr_mysql, when I make a bridge call (using .call files in outgoing/) I always get 'billsec=12' in the cdr, both mysql and Master file even if the call lasted longer, watching the Master file while making a call I see it updated at 12 seconds even while im still 'in' the DIAL app and the call continues on just fine. Iv looked
2006 Oct 17
2
Inaccurate CDRs
Hello, i have call time irregularites in my asterisk CDR. I a currently using a mysqly backent to save CDR records and use this to generate bills at the end of each month. However, my users are complaining that they gety charged for even uncompleted calls (i.e. calls they make whaich have already be setup but canclled). i have noticed that only 'AWNSERED' and 'Busy' show up in my
2010 Feb 08
1
billsec is set to duration if call is not answered
The behaviour of my Asterisk appears to have changed suddenly without any apparent cause. The version is use is 1.4.27.1 When a call is not answered billsec is set to duration, and calls are charged. I can't see any change I could have made to cause this problem. Is it something already known in Asterisk? /voipfc