similar to: Make asterisk launch script after completing call.

Displaying 20 results from an estimated 1000 matches similar to: "Make asterisk launch script after completing call."

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"
2015 Apr 22
1
MixMonitor Files Always Empty
Hi, sorry to bump this one but I still have this problem. The file is always created but is always zero size. This is the dial plan that records the call: exten = _0[1-8]X.,1,Set(CALLFILENAME=/var/spool/asterisk/callrecordings/its/${STRFTIME(${EPOCH},,%Y/%m/%d)}/Outbound-${UNIQUEID}) exten = _0[1-8]X.,2,MixMonitor(${CALLFILENAME}.gsm,b) The dial plan then calls a macro that makes the call. I?ve
2004 Jan 11
2
macro error "exited non-zero"
On this macro I keep getting exited non-zero on s,3, but s,3 is doing what it is suppose to do but the macro stops. Is there a way to make a macro ignore errors and continue to s,4? I have the lattes ver of sox 12.17.4. Also if I just run this line from the command line I don't get an error. [root@redhat monitor]# sox in.wav in-rev.wav reverse [root@redhat monitor]# [macro-record-cleanup]
2004 Jan 20
1
help - recording both sides of a conversati on
This is what I'm doing it gets you both sides of the phone call...small size...and playable on windows through a share. My notes: On redhat 9 I have to run the following command for asterisk to start LD_ASSUME_KERNEL=2.4.1 asterisk -vvvvgc [macro-record-on] exten => s,1,SetVar(CALLFILENAME=${TIMESTAMP}-${ARG2}-${ARG1}) exten => s,2,Monitor(wav,${CALLFILENAME}) ;exten =>
2004 Oct 04
1
Macro's and Var Scope's
Hi, I am having difficulty getting my record phone call dial-plan script working. I have tried the example record call scripts but they start recording before they are actually connected to an end point, e.g. you get ringing or announcements being recorded. It seems to me that these are bugs with the Dial() command: 1) Using M(x) in a dial command does not allow argument to be passed. Using
2007 Feb 04
1
Help - Received response: "Forbidden" from '"Unknown"
I have a weird problem.... Asterisk 1.4 E100P connected to a Panasonic TDA phone system Here is what I get SIP Ext -> Panasonic Ext No Problems Panasonic Ext -> SIP Ext No Problems SIP Ext -> VOIP Provider No Problems Panasonic Ext -> VOIP Provider Errors ---------- Working SIP -> VOIP -- Executing [903........@from-sip:1] Dial("SIP/610-097aee60",
2003 Aug 17
3
Monitor application temporary hack
[apologies for no line wrap; config lines at bottom] I have mentioned on several threads here that the Monitor application doesn't do exactly what one would expect: the originating and answering legs of a call are unsynchronized by the duration of the interval that it takes for the answering leg to pick up the phone. This can be very distracting in a final mixed version of the file. Brian
2003 Aug 25
6
Syncronize Monitored Calls
I thought I would post this in case it might be of any use to anyone. Not anything special but it does work. Keep in mind you need sox and wmix. Here is some relevant exerpts of my extensions.conf using John Todds macro. [globals] CALLFILENAME=foo FOO=foo CALLERIDNUM=foo [default] exten => 287,1,Macro(dial,SIP/agent20002|20) exten => 287,2,Voicemail(u287) exten =>
2006 Dec 08
1
cal recording with email
I'm trying to set on-demand call recording. Here's a snippet of the pertinent dialplan. The purpose of this is to allow one user in particular to be able to receive an email recording of the call everytime he dials *91 + number. The problem is that the email is not going out or being generated when I use the ${CALLFILENAME} variable. When I use the actual file name of the gsm recording,
2003 Aug 07
1
MWI bug ?
Hi Lee, You need to specify the VM context that you are using.. so using your examples.. extensions.conf entry.. exten => 1000,1,Dial(SIP/1000,20) exten => 1000,2,Voicemail2(u1000) exten => 1000,102,Voicemail2(b1000) exten => 1000,103,Hangup should be.. exten => 1000,1,Dial(SIP/1000,20) exten => 1000,2,Voicemail2(u1000@sip) exten => 1000,102,Voicemail2(b1000@sip) exten
2003 Apr 20
1
Macros not working as expected with extension "h" in some circumstances
I have a question on how to handle the "h" routines. I have noticed that if the call is hung up by the side that originated the call, the "h" routine is not extendable via a macro, or at least I have been unable to do it. My tests have included only SIP->SIP calls. If the originating side hangs up first: The macro is called from "exten =>
2006 Jun 04
2
Monitor application and e-mailing attachment
Hi all, I'm trying to make a context that will monitor a call and when it's completed it would e-mail the wav to a specified mail adres. So I made a standard context that records a call, like this: exten => _*31*00[1-9].,1,Setvar(CALLFILENAME=CALL-${EXTEN:4}-$ {TIMESTAMP}) exten => _*31*00[1-9].,2,Monitor(wav,${CALLFILENAME},m}) exten =>
2005 Sep 09
1
regression with restrictions - optimization problem
Dear WizaRds! I am sorry to ask for some help, but I have come to a complete stop in my efforts. I hope, though, that some of you might find the problem quite interesting to look at. I have been trying to estimate parameters for lotteries, the so called utility of chance, i.e. the "felt" probability compared to a rational given probability. A real brief example: Given is a lottery
2004 May 26
2
Monitoring Calls
I'm trying to set up basic monitoring for a specific extension (5004) to record all outgoing and incoming calls and save them as WAV files. I've set this in the extensions.conf file: exten => 5004,1,Answer exten => 5004,2,Wait,1 exten => 5004,3,SetVar(CALLFILENAME=/var/spool/asterisk/MONITOR-${TIMESTAMP}-${CA LLERIDNUM}) exten => 5004,4,Monitor,wav|${CALLFILENAME} But it
2011 Jan 13
1
Call hung up?
I currently have in extensions.conf: exten => 106,1,Set(CALLFILENAME=${TIMESTAMP}_${CALLERID(num)}) exten => 106,n,Monitor(wav,${CALLFILENAME},m) exten => 106,hint,SIP/106 exten => 106,Macro(stdexten,106,${HINT}) When I called x106 this was logged: -- Executing [106 at voicemenu-custom-4:1] Set("DAHDI/7-1", "CALLFILENAME=_xxxxxxx") in new stack --
2005 Aug 15
2
Only single channel recorded with Monitor
We are using the following to record conversations. exten => _1XXX.,1,SetVar(CALLFILENAME=call_to_${EXTEN:1}_dated_${TIMESTAMP}) exten => _1XXX.,2,Monitor(wav,${CALLFILENAME},m) exten => _1XXX.,3,Dial(IAX2/4506:zj5S3A5a@nl.voipgate.nl/${EXTEN:1}) exten => _1XXX.,4,Congestion exten => _1XXX.,104,Congestion This was working previously to record both sides of the conversation but now
2004 Nov 28
3
soxmix
Does soxmix works with asterisk ver. 0.9? I have ver. sox-12.17.5 on Gentoo but the option "m" does not combine two WAV files (In and Out) into one file. I have two separate files in /monitor folder. exten => 711,1,SetVar(CALLFILENAME=${EXTEN:1}-${TIMESTAMP}) exten => 711,2,Monitor(wav,${CALLFILENAME},m) exten => 711,3,Dial(${sales_support},20,r) exten =>
2006 Feb 10
1
2wav2mp3, monitor, mixmonitor, mpg123, queues
Hello! I'm using Asterisk for our office telephony, 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
2007 Jan 08
1
No CDR from Outbound Call
I have a little call recording script that I am running and it works fine, but I have one problem. I get CDR when a user calls into the extension, but I do not get CDR for the call that it makes outbound on # 17. Any idea why? Here is the extensions info: [default] exten => 2211,1,Answer exten => 2211,2,Wait(1) exten => 2211,3,Playback(/etc/asterisk/recording/getshop) exten =>
2004 Sep 12
1
Monitor and AGI - doesn't record much!
I have setup as per the monitor example configuration on the wiki site and all works well for an extension dialing 8 then the number. However, if I dial from an AGI script the recording stops after a few seconds. I see an extra answer in the console and suspect that is the reason. Could any kind soul help me to get around this? Extensions.conf.. exten =>