Displaying 20 results from an estimated 2000 matches similar to: "macro error "exited non-zero""
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 =>
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 =>
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 =>
2004 Jun 25
3
Using Soxmix on extensions.conf
Hi, i want to use soxmix to record some calls in my PBX. If i use soxmix on my linux shell it works so i can mixed two calls into one consolidated call. I want to do the process automatically since extensions.conf but it doesnt work. My extensions.conf looks like this:
exten => 407,1,SetVar(MONITORDIR=/var/spool/asterisk/monitor)
exten => 407,2,Monitor(wav,${TIMESTAMP}.${CALLERIDNUM}.wav)
2004 Sep 15
3
call recording and CDR "feature" discovered?
Hi Folks,
I've been playing with call recording for our support department which was
kinda going ok until I spotted something odd in the CDR. None of the
support calls are being entered into the CDR properly.
I'm using mysql as the back end and Areski's web based front end and all
was going fine.
The problem seems to be that the CDR doesn't get populated with the
destination
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
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 =>
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"
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 Jan 12
2
GUI client for windows for live monitoring/barge
I've seen a few but can't get them to work. I need one where I can drop a
call into a conference without them knowing it to us it as a live monitor
and barge function, anyone doing this are know of a gui client for windows I
can use?
Thanks,
2004 Jan 15
2
hardware requirements - asterisk
In relation to voice degradation when having 2 or more connection to
Asterisk.
The comment on the network setup is quite possible.
I am not too familiar with linux. How do I check whether the asterisk
server's nic is running at full-duplex mode.
Does Asterisk use the sound card on the box to do voice processing?
I am running xlite on 2 pc and making calls through iax, FWD and back to
my
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",
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,
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 =>
2004 Dec 19
1
Make asterisk launch script after completing call.
OK. I now have call recording working for both incoming and outgoing
calls.
Now I want to make those wavs into mp3. I could launch a script from
cron that checks for new wavs and converts them. But that wouldn't be
so elegant.
Launching it from * on hangup would be nicer. How is it done?
[outgoing]
exten => _0.,1,SetVar(CALLFILENAME=${EXTEN:1}-${TIMESTAMP})
exten =>
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
--
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 =>