search for: calltime

Displaying 20 results from an estimated 25 matches for "calltime".

2007 Nov 26
3
Correct syntax for IF()?
Hello I've tried a bunch of things, but still get errors/warnings when using the IF() function: ============== TEST #1 exten => h,n,Set(WAV_FILE=${IF($[ ${STAT(e,/tmp/${CALLTIME}.wav)} ]?${CALLTIME}.wav)}) [Nov 26 21:52:34] WARNING[5074]: func_logic.c:107 acf_if: Syntax IF(<expr>?[<true>][:<false>]) ============== TEST #2 exten => h,n,Set(WAV_FILE=${IF($[STAT(e,/tmp/${CALLTIME}.wav)]?${CALLTIME}.wav:"")}) [Nov 26 22:02:23] WARNING[5101]: a...
2007 Nov 21
1
[1.4 - Record] How to tell if user did leave a msg?
...() application, I need to know how it ended: Did the user leave a message, or did he hang up? If the latter, Asterisk stops right there, while I need to run some other commands before hanging up: ======== exten => _[1-4],n,Playback(/root/asterisk_sound_files/leave_msg) exten => _[1-4],n,Set(CALLTIME=${STRFTIME(${EPOCH},,%d-%b-%Y-%Hh%M)}) ;check if left message : if nothing, script ends there! exten => _[1-4],n,Record(/tmp/${CALLTIME}.wav,3,30) exten => _[1-4],n,TrySystem(mv /tmp/${CALLTIME}.wav /srv/www/lighttpd/asterisk) exten => _[1-4],n,ExecIf($[${SYSTEMSTATUS}!= SUCCESS],Verbose...
2008 Oct 20
3
The evaluation of optional function arguments
Dear R-helpers, I've got two functions; callTimes() calls times(), passing it an optional argument (bar) by name (bar=harry). times() then believes it has been passed a name, rather than a value ? but I want the value, not the name. Worse, if I evaluate the name, it is evaluated in the environment times() was defined, not where it is called. How...
2009 Feb 21
2
DIAL() application 'g' option
...;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 => _01.,n,Set(ACCUMULATED=${DB(freevoip/seconds)}) exten => _01.,n,Set(DB(freevoip/seconds)=$[${ACCUMULATED}+${CALLTIME}]) The first priority after the Dial() application is there to log the call in /var/log/asterisk/messages This extension is proving flaky at best. On...
2017 Jun 08
2
Rainbow in loop
...s not a one to one correspondence between times and index of time elements sec.time<-seq(0,100) distance<-c(rep(0, 10),rep(1,5),rep(2,20),rep(3,10),rep(4,20),rep(5,5),rep(6,31)) plot(sec.time,distance,type="l") horntime<-c(7,23,52,67,81,90) wipertime<-c(4,18,34,47,62,78,89) calltime<-c(27,58,93) abline(v=sec.time[horntime], col="red") abline(v=sec.time[wipertime], col="blue") abline(v=sec.time[calltime], col="green") what I want, in this case as there are three events, is to have horn in red, wiper in blue and call in green using rainbow with...
2017 Jun 08
0
Rainbow in loop
...mes and index of time elements > > sec.time<-seq(0,100) > > distance<-c(rep(0, > 10),rep(1,5),rep(2,20),rep(3,10),rep(4,20),rep(5,5),rep(6,31)) > plot(sec.time,distance,type="l") > horntime<-c(7,23,52,67,81,90) > wipertime<-c(4,18,34,47,62,78,89) > calltime<-c(27,58,93) > > abline(v=sec.time[horntime], col="red") > abline(v=sec.time[wipertime], col="blue") > abline(v=sec.time[calltime], col="green") > > what I want, in this case as there are three events, is to have horn in red, > wiper in blue a...
2009 Jan 19
0
How to add SipAddHeader in outgoing call file.
...; Your CallerID goes here exten => h,9,System(echo maxretries: 0 >> /tmp/${CALLERID(number)}) exten => h,10,System(echo retrytime: 3 >> /tmp/${CALLERID(number)}) exten => h,11,System(echo Set: confID=${confID} >> /tmp/${CALLERID(number)}) exten => h,12,System(echo Set: calltime=${calltime} >> /tmp/${CALLERID(number)}) exten => h,13,System(echo Set: CallBackNo=${CALLERID(number)} >> /tmp/${CALLERID(number)}) exten => h,14,System(echo Set: Leg1CallID=${Leg1CallID} >> /tmp/${CALLERID(number)}) exten => h,15,System(echo sleep 5 > /tmp/${CALLERID(...
2009 Jan 16
2
want to add SipAddHeader in call out file
How to add SipAddHeader in outgoing call file. I am implementing a Callback scenario, in which a user makes a call to Local Access Number. The system have to callback to the user. During callback a call file is generated. All I want, is to add SipAddHeader("pchargingvector","val") in outgoing Invite. How can I achieve this? regards, Asif
2009 Sep 11
2
Parser for Asterisk Queue Logs
Hello Team, Can you help me on this? I have attached here the queue logs of my asterisk. I've searching a parser for this. I do not know what are the meaning of that logs. Thank you so much. Your response is highly appreciated. Regards, Cristina -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Oct 10
1
Asterisk CDR Analyser
...ll, I'm stuck and need some help. I have installed the Asterisk CDR Analyser Version 2.0.1. It mostly works except for the CDR Report. I get the following error even though it lists the CDR details. Database error: Invalid SQL: SELECT substring(calldate,1,10) AS day, sum(duration) AS calltime, count(*) as nbcall FROM cdr WHERE UNIX_TIMESTAMP(calldate) >= UNIX_TIMESTAMP('2008-10-01') GROUP BY substring(calldate,1,10) MySQL Error: 1146 (Table 'asterisk.cdr' doesn't exist)
2014 Jan 13
0
How to get ringing sound in outbound call in asterisk
...; _91XX.,n,Dial(SIP/${EXTEN}@192.168.53.197,,tToR) exten => _91XX.,n,hangup() Server_B[192.168.53.197] for call forwarding extension.conf exten => _911X.,1,ChanisAvail(${TRUNK_GRP3}) exten => _911X.,2,gotoif($["${AVAILCHAN}" = ""]?lbl_busy:) exten => _911X.,n,Set(CALLTIME=${STRFTIME(${EPOCH},Asia/Calcutta,%d-%b-%Y-%H-%M-%S)}) exten => _911X.,n,Gotoif($["${RECORDING_ENABLED}"="Y"]?lbl_dbc:lbl_dial) exten => _911X.,n(lbl_dbc),Set(RECSUBDIR=${STRFTIME(${EPOCH},Asia/Calcutta,%d%b%Y)}) exten => _911X.,n,Set(CALLERID(num)=${IDGCLI}) exten =&gt...
2014 Feb 11
1
file.c:1160 ast_writefile: Unable to open file /var/spool/asterisk/monitor/11Feb2014/_11-Feb-2014-17-44-01.wav: No such file or directory
Dear Folks, [Test_Context] exten => _911.,1,AGI(agi://127.0.0.1:4577/call_log) exten => _911.,2,Set(CALLERID(num)=xxxxxxx) exten => _911.,3,Set(CALLTIME=${STRFTIME(${EPOCH},Asia/Calcutta,%d-%b-%Y-%H-%M-%S)}) exten => _911.,4,Set(RECSUBDIR=${STRFTIME(${EPOCH},Asia/Calcutta,%d%b%Y)}) exten => _911.,5,Set(${CALLERID}=${CALLERID(num)}) exten => _911.,6,Set(FILENAME=${CALLERID}_${CALLTIME}.wav) exten => _911.,7,Set(RECORDFILENAME=${RECSUBDIR...
2016 May 18
2
variable to get waittime of caller exiting queue
Hi all Is there anyway i could get in the dialplan the amount of time a caller waited in the queue before exiting? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160518/b3b082aa/attachment.html>
2010 Mar 04
1
No Audio on pstn call
...ling = fxs_ls callerid = asreceived group = 0 channel = 1 callerid = group = context = default #include "dahdi-channels.conf" my call plan will execute voicemail when there;s incoming call from pstn. result as shwon here -- Executing [s at from-pstn:1] Set("DAHDI/1-1", "CallTime=20100304 13:45:30") in new stack -- Executing [s at from-pstn:2] Set("DAHDI/1-1", "CallerIDString="" <01935xxxxx>") in new stack -- Executing [s at from-pstn:3] System("DAHDI/1-1", "/bin/echo "20100304 13:45:30 01935xxxxx [] - to pstn&quo...
2007 Apr 26
1
Can asterisk record the duration of users putting on hold?
Hi, Recently we got a new feature request from our customer, they want a report to list the duration that agents putting customer on hold, they want to base on this to measure the agents performance. I cannot find any events in cdr, message logs, or manager interface, only when I enable sip debug, then I can see the ReInvite Event in the cli , some thing like the attached logs, is there any
2004 Apr 09
0
app_queue dialback cdr problem
...er, get added to the queue, and the app_queue starts dialing to all the available numbers/members in that queue until one picks up The problem (or feature) is that when the application start to dial to all the available members, if one member picks up the phone, those details (nr of operator, calltime, ..) don't get recorded in cdr. Is this intentionally ? Or a bug/feature request that has to be added to the bugtracker ? Thanks in advance.
2005 Aug 02
0
New release: Queue Statistics 0.1
...he Asteriskguru developpers. The features we built into it are: * complete overview of all incoming calls to your queue * complete overview of all taken and lost calls * graphical and table based representation of the quality of service provided to your clients * overviews of calltime and holdtime * selections can be made on o any chosen period of time o any queue o agents o date o hour o weekday * and it's free! (but not open) Installation instructions will be added later on the day. (wrapping them in html...
2005 Aug 22
0
new version of asteriskguru queue statistics released
...by the Asteriskguru developpers. The features we built into it are: * complete overview of all incoming calls to your queue * complete overview of all taken and lost calls * graphical and table based representation of the quality of service provided to your clients * overviews of calltime and holdtime * selections can be made on o any chosen period of time o any queue o agents o date o hour o weekday * and it's free! (but not open) --- -------------- next part -------------- A non-text attachment was scrubbed... Name...
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 will be hangup. The answeredtime is only 5 seconds. Can anybody g...
2007 Jul 12
0
No subject
...e=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>Database error:</span></b><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'> Invalid SQL: SELECT substring(calldate,1,10) AS day, sum(duration) AS = calltime, count(*) as nbcall FROM cdr WHERE UNIX_TIMESTAMP(calldate) &gt;=3D UNIX_TIMESTAMP('2008-10-01') GROUP BY substring(calldate,1,10)<br> <b>MySQL Error</b>: 1146 (Table 'asterisk.cdr' doesn't = exist)</span><o:p></o:p></p> <p class...