search for: monitor_exec

Displaying 20 results from an estimated 23 matches for "monitor_exec".

2008 Jun 21
0
asterisk v1.6 monitor_exec
Hi all, can anybody tell me how I get asterisk calling an executable after a queue call? only setting MONITOR_EXEC and MONITOR_FILENAME does not work anymore! We use normal monitor to record _in and _out files. does work perfectly. But calling an exec does not do anything. We also tried setting MONITOR_OPTIONS=b Can anybody tell us, how we can get that running? We would like to call something like: /us...
2009 Aug 20
1
Post recording command to be executed after the end of recording
Hi all Does anybody know where this command is supposed to go? Set(MONITOR_EXEC=mv /var/spool/asterisk/monitor/^{MONITOR_FILENAME} /tmp/^{MONITOR_FILENAME}) In the queues.conf file it talks about it. So I naturally thought after I set up my monitor with monitor-format = wav monitor-type = MixMonitor That I could put a lame command in there to convert and move the file elsew...
2011 Nov 09
1
ConfBridge 1.6.20 user count
...so in the example below, for example, how can I get the current user count in ConfBridge 3000? [conferences] ;authenticated conference (ext C-O-N-F = 2663) exten => 2663,1,Answer same => n,Wait(1) same => n,Authenticate(143382) ;Record conference callscount: ${count} --) same => n,Set(MONITOR_EXEC=/etc/asterisk/monitor_exec.sh) same => n,Set(DATETIME=${STRFTIME(${EPOCH},,%C%y-%m%d-%H%M)}) same => n,ExecIf($[${count}=2]?Monitor(wav,conf-${CALLERID(num)}-${DATETIME},bm)) <-- count? same => n(conf),ConfBridge(3000,Ms) same => n,Playback(goodbye) same => n,Hangup Thanks for a...
2009 Aug 20
0
thanks!
Hey Matt I wonder if it is possible that it doesn't work with AEL, does this seem ok to you? s => { Ringing(); wait(2); Answer(); Set(MONITOR_EXEC=/etc/asterisk/lameconvert.php /var/spool/asterisk/monitor/^{MONITOR_FILENAME}); Queue(MyTestQ,ni,,,18); Hangup(); } I have debug mode on but no errors, yet the recording works perfect with mixmonitor just not opened by my script yet my script works great a...
2011 May 13
1
Asterisk 1.6: Custom Name for Recordings file
Hi, I have latest Elastix 64 bit setup and running fine (Asterisk 1.6.2.13) I would like to customize the file name of call recordings: /var/spool/asterisk/monitor/20110511-110858-1305126538.912.wav I would like to include the extension number in the file name. Did a lot of googling but not much help. Pls advice. Thx Sans -------------- next part -------------- An HTML attachment was
2008 Jan 14
1
Asterisk 1.4 Call Recording
I am trying to record a call into a stereo mp3 in Asterisk 1.4, but I can't seem to get it to work correct. Could someone point me to what I need to do? I have attached what I believe are the relevant parts. [globals] ; script to be executed when monitoring has been finished MONITOR_EXEC=/usr/local/bin/2wav2mp3 ; uncomment this line if you are using Ogg Vorbis ;MONITOR_EXEC=/usr/local/bin/2wav2ogg [test] exten => 555,1,SetVar(CALLFILENAME=outgoing/${TIMESTAMP:0:4}/${TIMESTAMP:4:2}/${TIMESTAMP}-${EXTEN}) exten => 555,2,Monitor(wav,${CALLFILENAME},m) exten => 555,3,Dial(IA...
2005 Sep 18
5
Monitor and sox mix quality
Hello All, I am using monitor with soxmix, however the quality seems somewhat low after sox converts to mp3. Does anyone know a way to get a higher quality file? Some of my lines are coming in on isdn. Regards, Greg
2006 Feb 10
1
2wav2mp3, monitor, mixmonitor, mpg123, queues
..., but we have some problems that still we can't resolve about it. Here they are: 1) merge in/out call recording files I also tried to use a script I found on the internet, called 2wav2mp3 In extensions.conf I added the following lines ; script to be executed when monitoring has been finished MONITOR_EXEC=/usr/local/bin/2wav2mp3 exten => 102,1,SetVar(CALLFILENAME=${TIMESTAMP}-${EXTEN}-${CALLERID}) exten => 102,2,Monitor(wav,${CALLFILENAME},m) ;exten => 102,2,MixMonitor(${CALLFILENAME}.gsm) ;exten => 102,2,MixMonitor(test.wav,W(-3)) exten => 102,3,Ringing exten => 102,4,Dial(Sip/gi...
2005 Feb 02
1
Hangup detection with TDM400 in UK
When a caller hangs up (e.g. after leaving a voicemail), my British Telecom exchange sends a continuous tone for about 15s and then silence. I can't get asterisk to recognise this tone as a hangup indication. I have tried indications.conf with both country=uk and country=us. My zapata.conf has busydetect=yes, callprogress=yes and I've tried setting busycount from 1 through 7 I am using
2005 Aug 08
0
Problems with cmd monitor
...m -f "//tmp/test-"* ) & /tmp shows test-in.wav, test-out.wav and test.wav. From what I can see above, it appears as though the last command the m option runs seems to be wrong which is why the in and out aren't being deleted. I changed it to this: exten => 1200,1,SetVar(MONITOR_EXEC=/bin/nice -n 19 /usr/bin/soxmix) exten => 1200,2,SetVar(MONITOR_EXEC_ARGS=&& /bin/rm /tmp/test-*) exten => 1200,3,Monitor(wav|/tmp/test|m) exten => 1200,4,MeetMe(37455,APM) This is what * console looks like: -- Executing SetVar("IAX2/300@300/3", "MONITOR_EXEC=...
2008 Feb 18
1
Attatch monitor recording to a voicemail
Hello All, Our old Lucent Argent system had a feature whereby when you initiate recording during a call, it would afterwards send the recording as a voicemail message to the user who initiated the recording. We use the automon *1 recording function in asterisk, which allows users to record a call if necessary on the fly. Unfortunately there doesn't appear to be an easy way for the user to
2010 May 25
1
How to get ConfBridge user count
...up. How can you determine how many are already in the conference bridge? [conferences] exten => 66,1,Answer exten => 66,n,Wait(1) exten => 66,n,Authenticate(123456) ; exten => 66,n,NoOp(-- ConfBridge 66 user count: ${count} --) ;<-- WHAT VARIABLE TO USE HERE? ; exten => s,n,Set(MONITOR_EXEC=/etc/asterisk/monitor_exec.sh) exten => s.,n,Set(DATETIME=${STRFTIME(${EPOCH},,%C%y-%m%d-%H%M)}) exten => s,n,ExecIf($[${count} = 1]?Monitor(wav,record-${CALLERID(num)}-${DATETIME},bm)) ; exten =>66,n,ConfBridge(66,Ms) exten => 66,n,Playback(goodbye) exten => 66,n,Hangup Thanks for...
2006 Apr 04
2
queueue recording and what to do next
Guys, if you define recording on queues.conf and also define a monitor_filename var on your dialplna, you can record a queue call but, isthere a way to do something with the file after the call ends? I need to move the file to some other place but I cant find where to define a command to run after a queue call finishes. Any hints?
2008 Jun 30
4
Voicemail- Recorded Mesage Low Volume
> Hi Daniel, > > I'm intrigued by this and wanted to try it out - but I'm wondering how > you get Asterisk to call sox at all during Voicemail()? Our server > doesn't even have sox installed, so I'm not sure how to go about > tricking Asterisk into running a different one. To do anything useful you would have to get sox installed on your server. But to get
2005 Sep 20
4
SUCCESS - 512 Simultaneous Calls with Digital Recording
...rded calls without having call quality issues including dropped calls. We identified an I/O bottleneck and rectified it by digitally recording to a RAM disk. Using this method, we were able to digitally record 512 simultaneous SIP-to-SIP calls with 100% call completion. Our plan is to use the MONITOR_EXEC hook to call a custom program that will copy files to the hard disk at call completion. This should be no problem when calling Monitor directly from the dialplan, but I need to know if there are any complications when digitally recording from app_queue or chan_agent. If anyone has experience...
2012 Jan 25
3
Executing Script after MixMonitor is called
Hello Guys, I am trying to convert files that are .wac to mp3 after mixmonitor command is called but it doesnt execute the command, I tried the command in terminal it worked, any help please ... below is my dial plan exten=6500,n,Set(MIXMONITOR_EXEC=&& nice -n 19 /usr/local/bin/lame -b 8 -t -F -m m --bitwidth 8 --quiet "/var/spool/asterisk/monitor/${CALLFILENAME}.wav" "/var/spool/asterisk/monitor/${CALLFILENAME}.mp3" && rm -f "/var/spool/asterisk/monitor/${CALLFILENAME}.wav") exten=6500,n,MixMonito...
2009 Feb 12
1
After Monitor() files disappear
Hello list, Using Asterisk 1.2.29 I use the Monitor() application. In extensions.conf I have set MONITOR_EXEC to my script (for mixing files together and convert to mp3) and I set TOUCH_MONITOR on every new channel which has to be recorded. But sometimes I'm missing the recording files. I had a look to the Asterisk-Log and saw those lines: Feb 10 15:18:57 NOTICE[16772] res_monitor.c: monitor executing...
2007 Mar 08
1
Call recording and archiving
Does anyone have a good suggestion for a automated solution to record calls on certain interfaces and easily archiving them in a way which is easily matched against CDRs? Also can someone suggest the appropriate protocol to archive the recording when the conversations are transpiring in ulaw. Basically a nice cost effective trade off between CPU and disk space for medium call load. Thanks Miles
2023 May 05
0
Calls running forever / CDRs inaccurate
...MS= DIALEDTIME= ANSWEREDTIME_MS= ANSWEREDTIME= DIALEDPEERNAME= DIALEDPEERNUMBER= DIALSTATUS= SIPADDHEADER02=X-Something: something AUTO_MONITOR=wav,/var/spool/asterisk/monitor/20230505110016-customer-DE-EXTEN-49xxxxxxx-CLINUM-49xxxxxxxxx-CLINAME--PAICLEAN--CLICLEAN-49xxxxxxxxx-OCLINUM--OCLINAME-,mX MONITOR_EXEC=/var/lib/asterisk/2wav2mp3.sh CALLFILENAME=20230505110016-customer-DE-EXTEN-49xxxxxxx-CLINUM-49xxxxxxxx-CLINAME--PAICLEAN--CLICLEAN-49xxxxxxxxxx-OCLINUM--OCLINAME- SIPADDHEADER01=P-Asserted-Identity: <sip:+49xxxxxxxx at x.x.x.x> CLICLEAN=49xxxxxxxxxx CLILEN=12 SIPCALLID=85b9164eeb2211eda29c00...
2009 Aug 18
2
Monitor-join not joining files in the queues.conf file
Hi everyone Has anybody ever come across this, I want it to join automatically the recording files for me but it creates the wav files as I expect but it doesn't join them sadly, so eg: ls 1250623104.10-in.wav 1250628672.23-in.wav 1250630411.30-in.wav 1250623104.10-out.wav 1250628672.23-out.wav 1250630411.30-out.wav Here is my queues.conf snippet [testQ]