similar to: Accumulated call time

Displaying 20 results from an estimated 1000 matches similar to: "Accumulated call time"

2009 Feb 21
2
DIAL() application 'g' option
Hi All, Asterisk 1.4.12 on CentOS 5 I'm trying to increment an AstDB key with the length of the last outgoing call. Here's what I've got for "01" UK geographical numbers: exten => _01.,1,Dial(${UKGeographical}/${EXTEN},,g) exten => _01.,n,Log(NOTICE,Call to ${EXTEN} lasted ${DIALEDTIME}) exten => _01.,n,Set(CALLTIME=${DIALEDTIME}) exten =>
2009 Feb 05
6
Newbie query: how to write priority n+101
Hi All, Asterisk 1.4.12 on CentOS 5 Sorry for a question that I'm guessing is obvious to most of you. I'm trying to revamp my dialplan. When I first created it, I had something like: exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})}) exten => s,2,Dial(${rgMain},${RINGTIME},t) exten => s,3,VoiceMail(main at default) exten => s,103,VoiceMail(main at default)
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,
2017 Dec 26
4
Answered time on channel
Hi, I have a dial plan where I need to notify an external system when a call was answered and when the call hung up. In both requests the start time needs to be the same. My Dialplan looks something like this: [outbound] Exten => _X.,1,Dial(SIP/${EXTEN}@1.1.1.1,,U(call-answer-from-carrier)) Exten => h,1,NoOp(ANSWERED_TIME: ${ANSWEREDTIME} >>> DIAL_TIME: ${DIALEDTIME}
2017 Dec 27
3
Answered time on channel
It seems that what ever I set in my answer handler does not show up in the hangup handler. In order to do billing I can't rely on the g option where the caller hangs up the call. Looks like I can either use h or a hangup handler along with the shared function. On Tue, Dec 26, 2017 at 4:40 PM, Eric Wieling <ewieling at nyigc.com> wrote: > Don't use an 'h' extension, use
2009 Dec 15
2
member (In use)
Hello list. We just upgraded to 1.6.1.11. We are using real time information stored on mysql databases. That is all running fine. Now, since we upgraded, some member don't get calls from queues. In CLI: "queue show" shows something like: 611 (Local/611 at agents) with penalty 20 (realtime) (*In use*) has taken no calls yet We use the extension 611 in different computers, in the
2015 Feb 22
2
dialplan contexts syntax and terminology
I'm looking into the dialplan specifics: tleilax:~ # tleilax:~ # cat /etc/asterisk/extensions.conf [general] static=yes writeprotect=no [globals] CONSOLE=Console/dsp ; Console interface for demo TRUNK=DAHDI/r1 ; Trunk interface TRUNKX=DAHDI/r2 ; 2nd trunk interface TRUNKIAX=IAX2/ASTtest1:test at 10.10.10.16:4569 ; IAX trunk
2023 May 05
0
Calls running forever / CDRs inaccurate
Hi list! Running Asterisk 20.0.0 on CentOS 7, logging CDRs using cdr_adaptive_odbc to mariadb-server-5.5.68 (via mariadb-connector-odbc-3.1.7-ga-rhel7) Using chan_sip. I'm facing the problem when there is a sudden spike of calls, some of the calls that are being made during those spikes hang forever basically. This looks like this: [root at voip]# asterisk -rx 'core show channels
2010 Jun 08
3
Limit total length of calls to a specifig SIP peer
Hi, I'm currently using a cheap SIP provider for outbound calls. I do have 6 channels to them. In their terms of service there is the following limit: The total duration of calls during one single day should not exceed 24 hours or we do have the right to terminate the contract...blah blah What is the best way to use this provider as long as we are below let's say 22h in a single day
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
2007 Jul 20
2
priorityjumping not working, Dial goes to n+1 not n+101
Priorityjumping is totally ignored by my asterisk (tested 1.4.4 and 1.4.7.1 on FreeBSD 6.2) [general] priorityjumping=yes With n+101: exten => 1337,1,Dial(SIP/zytek,5,Ttj) exten => 1337,102,Dial(SIP/zytek,${RINGTIME},${OPTIONS}) exten => 1337,n,Hangup -- Executing [1337 at firma:1] Dial("SIP/113-087a3000", "SIP/zytek|5|Ttj") in new stack -- Called zytek
2011 Sep 07
4
(no subject)
Hi team, I am trying to find solution to hangup b-party call after 1 min with out disconnecting the call of a-party but following dial plan which is disconnect both the calls. Please suggest me the solution. [TB] exten => _X.,1,Wait(${INCOMING_WAIT}) exten =>_X.,2,Verbose(TB) exten =>_X.,3,Answer() exten => _X.,4,Set(mainLoop=0) exten =>
2007 Nov 01
3
Outgoing PRI CID?
We have now got our new PRI line (10 channels, 100 numbers) connected and everything is working except the outgoing caller ID. Whatever SIP phone I'm using, the CID that's shown is the very first number... ----- s n i p ----- [default] include => outgoing include => priin [outgoing] exten => _NXXXXX.,1,Macro(dial,08${EXTEN},${RINGTIME}) ; Local number (w/o areacode) -
2012 Dec 19
1
Dialplan - working out when users answer
Hey guys, I've got a part of my dialplan that dials multiple people: exten => direct,n,Dial(${QUEUEEXTS},${RINGTIME}) Multiple extensions are in the ${QUEUEEXTS} from an external script - e.g. SIP/100&SIP/101&SIP/105 etc This works great, however I want to see if I can find a way to work out (and run an AGI script) when the call is picked up by someone. Thanks all!
2005 Jul 10
0
Time out not working from php agi...
Here i am doing a dial command from a php agi... EXEC DIAL H323/123456789@xx.xx.xx.xx:1720|40|HL(585000:61000:30000) But asterisk is not disconnecting the connection after 585 secs... the result is ... answered time is 1926n but thing is time out is working some time and some time not.... LOG: 2005-06-28 20:26:13 VERBOSE[19094] logger.c: callcard.php: string(111) "app_callingcard:
2005 May 30
0
perl agi : get_variable problem
Hi, I'm developping some AGI in perl (5.8.6) on i386 using Asterisk 1.0.5. I want to get some variables such as DIALSTATUS and ANSWEREDTIME after a $AGI->exec("Dial", "dial_string"); but here is what i get actually: DIALSTATUS= DIALEDTIME=ANSWER ANSWEREDTIME=18 I searched the archives and saw that $AGI->verbose could mess the access to variables, but I don't use
2005 Jul 11
1
ASterisk@home + Broadvoice = Almost working installation...
Hello Guys, I'm somewhat of a newbie and am desperately seeking for some help... I've managed to get asterisk up and running on my server, and signed up with a broadvoice account... I'm having no problem dialing and communicating between extensions, but whenever anyone tries to call my broadvoice account, they are greeted by no ring or anything, but rather simply a direct to
2009 Jan 15
6
Call Stealing
Hi All, I'd appreciate some help on how to implement "call stealing". That is, where you dial a code to redirect any call on the system to your handset. I'm getting rid of my BRI service and I'm trying to replace the functionality of my existing ISDN2e PBX (Cybergear Gold) with VOIP and Asterisk. On my ISDN PBX, the short-code *46 does this. For example, if I take a call on
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