Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk 1.4 Call Recording


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
asterisk-users at ics-...
Guest





PostPosted: Mon Jan 14, 2008 11:09 am    Post subject: [asterisk-users] Asterisk 1.4 Call Recording Reply with quote

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(IAX2/ics.iax-trunk/${EXTEN})
exten => 555,4,Hangup()

exten => 815787XXXX,1,Set(CALLFILENAME=outgoing/1815739XXXX)
exten => 815787XXXX,2,Monitor(wav,${CALLFILENAME},m)
exten => 815787XXXX,3,Dial(IAX2/ics.iax-trunk/1815739XXXX)
exten => 815787XXXX,4,Hangup()
[root at Aiur asterisk]# cat /usr/local/bin/2wav2mp3
#!/bin/sh
# 2wav2mp3 - create stereo mp3 out of two mono wav-files
# source files will be deleted
#
# 2005 05 23 dietmar zlabinger http://www.zlabinger.at/asterisk
# 2006 03 24 modified for sox 12.17.9 as of Suse9.2 by Matthias
#
# usage: 2wav2mp3 <wave1> <wave2> <mp3>
# designed for Asterisk Monitor(file,format,option) where option is "e" and
# the variable
# MONITOR_EXEC/usr/local/bin/2wav2mp3


# location of SOX and SOXMIX
# (set according to your system settings, eg. /usr/bin)
SOX=/usr/bin/sox
SOXMIX=/usr/bin/soxmix
# lame is only required when sox does not support liblame
LAME=/usr/local/bin/lame


# command line variables
LEFT="$1"
RIGHT="$2"
OUT="$3"

LTMP="asename $1 .wavmp.wav"
RTMP="asename $2 .wavmp.wav"



#test if input files exist
test ! -r $LEFT && exit
test ! -r $RIGHT && exit

# convert mono to stereo, adjust balance to -1/1
# left channel
$SOX $LEFT -t wav -c 2 $LTMP pan -1
# right channel
$SOX $RIGHT -t wav -c 2 $RTMP pan 1

# combine and compress
# this requires sox to be built with mp3-support.
# To see if there is support for Mp3 run sox -h and
# look for it under the list of supported file formats as "mp3".
#$SOXMIX -v 1 $LTMP -v 1 $RTMP -t mp3 -v 1 $OUT.mp3

# in case an old version of sox is used, encoding
# can be done afterwards
$SOXMIX -v 1 $LTMP -v 1 $RTMP -v 1 $OUT
$LAME -S -V7 -B24 --tt $OUT --add-id3v2 $OUT $OUT.mp3


#remove temporary files
test -w $LTMP && rm $LTMP
test -w $RTMP && rm $RTMP
test -w $OUT && rm $OUT

#remove input files if successfull
test -r $OUT.mp3 && rm $LEFT $RIGHT
# eof





-----
Mike Hammett
Intelligent Computing Solutions
http://www.ics-il.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080114/0574f7c8/attachment.htm
Back to top
stevej456 at gmail.com
Guest





PostPosted: Mon Jan 14, 2008 11:51 am    Post subject: [asterisk-users] Asterisk 1.4 Call Recording Reply with quote

You might take a few ideas from this combine.sh script which works for
me. It uses the combine_wave program from
http://panteltje.com/panteltje/dvd/combine_wave-0.3.tgz and the lame
program to convert to mp3.

It converts the entire directory /var/spool/asterisk/monitor/*-in.wav
files to mp3 where the mp3 file doesn't already exist.

S.
File: combine.sh
---------------------------
#!/bin/sh

cd /var/spool/asterisk/monitor

for f in *-in.wav
do
in=$f
out=`echo $f | sed -e 's/-in.wav/-out.wav/'`
tmpwav=`echo $f | sed -e 's/-in.wav/-both.wav/'`
mp3=`echo $f | sed -e 's/-in.wav/.mp3/'`

if [ -e "$mp3" ]
then
continue
fi

# combine the two tracks into one stereo file
/usr/local/bin/combine_wave -l $in -r $out -o $tmpwav 2>/dev/null

/usr/bin/lame --silent -h -b 96 $tmpwav $mp3

# Remove temporary .wav files
test -w $tmpwav && rm $tmpwav

# Remove input files if successful
test -s $mp3 && rm $in $out
done

exit 0
Back to top
asterisk-users at ics-...
Guest





PostPosted: Mon Jan 14, 2008 1:53 pm    Post subject: [asterisk-users] Asterisk 1.4 Call Recording Reply with quote

Does what I have in the dialplan look right or am I way off base with being
able to use that script?
-----
Mike Hammett
Intelligent Computing Solutions
http://www.ics-il.com


----- Original Message -----
From: "Steve Johnson" <stevej456 at gmail.com>
To: <asterisk-users at ics-il.net>; "Asterisk Users Mailing List -
Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Monday, January 14, 2008 10:51 AM
Subject: Re: [asterisk-users] Asterisk 1.4 Call Recording


Quote:
You might take a few ideas from this combine.sh script which works for
me. It uses the combine_wave program from
http://panteltje.com/panteltje/dvd/combine_wave-0.3.tgz and the lame
program to convert to mp3.

It converts the entire directory /var/spool/asterisk/monitor/*-in.wav
files to mp3 where the mp3 file doesn't already exist.

S.


File: combine.sh
---------------------------
#!/bin/sh

cd /var/spool/asterisk/monitor

for f in *-in.wav
do
in=$f
out=`echo $f | sed -e 's/-in.wav/-out.wav/'`
tmpwav=`echo $f | sed -e 's/-in.wav/-both.wav/'`
mp3=`echo $f | sed -e 's/-in.wav/.mp3/'`

if [ -e "$mp3" ]
then
continue
fi

# combine the two tracks into one stereo file
/usr/local/bin/combine_wave -l $in -r $out -o $tmpwav 2>/dev/null

/usr/bin/lame --silent -h -b 96 $tmpwav $mp3

# Remove temporary .wav files
test -w $tmpwav && rm $tmpwav

# Remove input files if successful
test -s $mp3 && rm $in $out
done

exit 0
Back to top
stevej456 at gmail.com
Guest





PostPosted: Mon Jan 14, 2008 3:20 pm    Post subject: [asterisk-users] Asterisk 1.4 Call Recording Reply with quote

Here's what I would suggest. You should insert some NoOp() statements
and watch the CLI as you dial your 555 extension so that you can see
whether it's working or not.

Your example (which you mentioned you want to run under Asterisk 1.4):
Quote:
[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(IAX2/ics.iax-trunk/${EXTEN})
exten => 555,4,Hangup()

In Asterisk 1.4 (read the UPGRADE.txt file in the source directory):
- SetVar() has been replaced by Set()
- ${TIMESTAMP} no longer exists.
- (CALLERID usage has changed in 1.4 also).

so you first have to fix that stuff, with something like:
[test]
exten => 555,1,Set(DATETIME=${STRFTIME(${EPOCH},,%C%y-%m%d-%H%M)})
exten => 555,n,NoOp(DATETIME: ${DATETIME})
;
; Tweak the callfilename until you're happy with it...
; Note that the default recording directory is /var/spool/asterisk/monitor
exten => 555,n,Set(CALLFILENAME=${CALLERID(num)}-${DATETIME}-${EXTEN})
exten => 555,n,NoOp(CALLFILENAME: ${CALLFILENAME})
;
exten => s,n,Monitor(wav,${CALLFILENAME},b)
;
; Remove this next line after the determining that you have the filename right
; by checking the console progress...
exten => 555,n,Hangup()
;
exten => 555,n,Dial(IAX2/ics.iax-trunk/${EXTEN})
exten => 555,n,Hangup()


My script assumes that the monitor files are in the default directory,
so adjust it if necessary after you get the above working. When you
run it, the .mp3 stereo files should be produced.

In a production environment, I'd imagine that you'd want to run the
combine.sh script periodically as a scheduled cron job.

Don't forget to follow the legal standards for call recording in your
jurisdiction (and be nice).

Have fun,
S.


On Jan 14, 2008 12:53 PM, Mike Hammett <asterisk-users at ics-il.net> wrote:
Quote:
Does what I have in the dialplan look right or am I way off base with being
able to use that script?


-----
Mike Hammett
Intelligent Computing Solutions
http://www.ics-il.com



----- Original Message -----
From: "Steve Johnson" <stevej456 at gmail.com>
To: <asterisk-users at ics-il.net>; "Asterisk Users Mailing List -
Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Monday, January 14, 2008 10:51 AM
Subject: Re: [asterisk-users] Asterisk 1.4 Call Recording


Quote:
You might take a few ideas from this combine.sh script which works for
me. It uses the combine_wave program from
http://panteltje.com/panteltje/dvd/combine_wave-0.3.tgz and the lame
program to convert to mp3.

It converts the entire directory /var/spool/asterisk/monitor/*-in.wav
files to mp3 where the mp3 file doesn't already exist.

S.


File: combine.sh
---------------------------
#!/bin/sh

cd /var/spool/asterisk/monitor

for f in *-in.wav
do
in=$f
out=`echo $f | sed -e 's/-in.wav/-out.wav/'`
tmpwav=`echo $f | sed -e 's/-in.wav/-both.wav/'`
mp3=`echo $f | sed -e 's/-in.wav/.mp3/'`

if [ -e "$mp3" ]
then
continue
fi

# combine the two tracks into one stereo file
/usr/local/bin/combine_wave -l $in -r $out -o $tmpwav 2>/dev/null

/usr/bin/lame --silent -h -b 96 $tmpwav $mp3

# Remove temporary .wav files
test -w $tmpwav && rm $tmpwav

# Remove input files if successful
test -s $mp3 && rm $in $out
done

exit 0



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
asterisk-users at ics-...
Guest





PostPosted: Tue Jan 15, 2008 11:57 am    Post subject: [asterisk-users] Asterisk 1.4 Call Recording Reply with quote

Are there any tricks to getting combine_wave to make?

[root at Aiur combine_wave-0.3]# ls -al
total 84
drwxr-xr-x 2 root root 4096 Jan 15 10:54 .
drwxr-x--- 6 root root 4096 Jan 15 10:54 ..
-rw-r--r-- 1 root root 351 Oct 6 2005 CHANGES
-rw-r--r-- 1 root root 1123 Oct 6 2005 combine_wave-0.3.lsm
-rw-r--r-- 1 root root 23280 Oct 6 2005 combine_wave.c
-rw-r--r-- 1 root root 449 Oct 6 2005 combine_wave.h
-rw-r--r-- 1 root root 1048 Oct 6 2005 combine_wave.man
-rw-r--r-- 1 root root 17976 Oct 6 2005 LICENSE
-rw-r--r-- 1 root root 459 Oct 6 2005 Makefile
-rw-r--r-- 1 root root 341 Oct 6 2005 README
-rw-r--r-- 1 root root 762 Oct 6 2005 wave_header.h
[root at Aiur combine_wave-0.3]# nano README
[root at Aiur combine_wave-0.3]# make
gcc -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c combine_wave.c
combine_wave.c: In function ?running_info?:
combine_wave.c:22: error: missing terminating " character
combine_wave.c:24: error: ?b? undeclared (first use in this function)
combine_wave.c:24: error: (Each undeclared identifier is reported only once
combine_wave.c:24: error: for each function it appears in.)
combine_wave.c:24: error: expected ?)? before ?toggles?
combine_wave.c:24: error: stray ?\? in program
combine_wave.c:24: error: stray ?\? in program
combine_wave.c:24: error: stray ?\? in program
combine_wave.c:24: error: stray ?\? in program
combine_wave.c:24: error: stray ?\? in program
combine_wave.c:24: error: stray ?\? in program
combine_wave.c:24: error: stray ?\? in program
combine_wave.c:24: error: stray ?\? in program
combine_wave.c:24: error: stray ?\? in program
combine_wave.c:24: error: stray ?\? in program
combine_wave.c:24: error: missing terminating " character
combine_wave.c:36: error: expected ?;? before ?}? token
combine_wave.c: In function ?usage?:
combine_wave.c:42: error: missing terminating " character
combine_wave.c:44: error: ?combine_wave? undeclared (first use in this
function)
combine_wave.c:44: error: ?a? undeclared (first use in this function)
combine_wave.c:44: error: ?d? undeclared (first use in this function)
combine_wave.c:44: error: expected ?]? before ?milli?
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: expected ?)? before ?n?
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: stray ?\? in program
combine_wave.c:44: error: missing terminating " character
combine_wave.c:62: error: expected ?;? before ?}? token
combine_wave.c: In function ?strsave?:
combine_wave.c:71: warning: implicit declaration of function ?strlen?
combine_wave.c:71: warning: incompatible implicit declaration of built-in
function ?strlen?
combine_wave.c:73: warning: implicit declaration of function ?strcpy?
combine_wave.c:73: warning: incompatible implicit declaration of built-in
function ?strcpy?
combine_wave.c: In function ?main?:
combine_wave.c:604: warning: incompatible implicit declaration of built-in
function ?strcpy?
combine_wave.c:991: warning: implicit declaration of function ?memcpy?
combine_wave.c:991: warning: incompatible implicit declaration of built-in
function ?memcpy?
make: *** [combine_wave.o] Error 1

-----
Mike Hammett
Intelligent Computing Solutions
http://www.ics-il.com


----- Original Message -----
From: "Steve Johnson" <stevej456 at gmail.com>
To: <asterisk-users at ics-il.net>; "Asterisk Users Mailing List -
Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Monday, January 14, 2008 10:51 AM
Subject: Re: [asterisk-users] Asterisk 1.4 Call Recording


Quote:
You might take a few ideas from this combine.sh script which works for
me. It uses the combine_wave program from
http://panteltje.com/panteltje/dvd/combine_wave-0.3.tgz and the lame
program to convert to mp3.

It converts the entire directory /var/spool/asterisk/monitor/*-in.wav
files to mp3 where the mp3 file doesn't already exist.

S.


File: combine.sh
---------------------------
#!/bin/sh

cd /var/spool/asterisk/monitor

for f in *-in.wav
do
in=$f
out=`echo $f | sed -e 's/-in.wav/-out.wav/'`
tmpwav=`echo $f | sed -e 's/-in.wav/-both.wav/'`
mp3=`echo $f | sed -e 's/-in.wav/.mp3/'`

if [ -e "$mp3" ]
then
continue
fi

# combine the two tracks into one stereo file
/usr/local/bin/combine_wave -l $in -r $out -o $tmpwav 2>/dev/null

/usr/bin/lame --silent -h -b 96 $tmpwav $mp3

# Remove temporary .wav files
test -w $tmpwav && rm $tmpwav

# Remove input files if successful
test -s $mp3 && rm $in $out
done

exit 0
Back to top
asterisk-users at ics-...
Guest





PostPosted: Tue Jan 15, 2008 1:13 pm    Post subject: [asterisk-users] Asterisk 1.4 Call Recording Reply with quote

I'm a newb when it comes to patch. I have a combine_wave-0.3.orig and a
combine_wave-0.3 directory. This is what I get:

[root at Aiur ~]# patch < combine_wave-0.3.patch
can't find file to patch at input line 4
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur combine_wave-0.3.orig/combine_wave.c
combine_wave-0.3/combine_wave.c
|--- combine_wave-0.3.orig/combine_wave.c 2005-10-06
14:44:10.000000000 +0200
|+++ combine_wave-0.3/combine_wave.c 2007-10-05 21:02:17.000000000 +0200
--------------------------
File to patch:

-----
Mike Hammett
Intelligent Computing Solutions
http://www.ics-il.com


----- Original Message -----
From: "Patrick" <asterisk-list at puzzled.xs4all.nl>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Tuesday, January 15, 2008 11:19 AM
Subject: Re: [asterisk-users] Asterisk 1.4 Call Recording


Quote:
Hi Mike,

On Tue, 2008-01-15 at 10:57 -0600, Mike Hammett wrote:
Quote:
Are there any tricks to getting combine_wave to make?

Patch attached. Builds fine with patch on Fedora 8.

Regards,
Patrick




--------------------------------------------------------------------------------


Quote:
diff -Naur combine_wave-0.3.orig/combine_wave.c
combine_wave-0.3/combine_wave.c
--- combine_wave-0.3.orig/combine_wave.c 2005-10-06 14:44:10.000000000
+0200
+++ combine_wave-0.3/combine_wave.c 2007-10-05 21:02:17.000000000 +0200
@@ -19,8 +19,8 @@

void running_info()
{
-fprintf(stderr,\
-" RUNNNING COMMANDS
+fprintf(stderr,
+" RUNNNING COMMANDS\n\
b toggles move both channels / move right channel delay mode.\n\
ESC exits.\n\
'z' 'x' 1 sample forward / backward.\n\
@@ -39,8 +39,8 @@

void usage()
{
-fprintf(stderr,\
-"Usage:
+fprintf(stderr,
+"Usage:\n\
combine_wave [-a] [-d milli seconds delay right channel relative to
left]\n\
[-e samples delay right channel relative to left]\n\
[-k] -l filename_left [-m] -o output_filename -r filename_right [s start
seek offset].\n\
diff -Naur combine_wave-0.3.orig/combine_wave.h
combine_wave-0.3/combine_wave.h
--- combine_wave-0.3.orig/combine_wave.h 2005-10-06 14:44:10.000000000
+0200
+++ combine_wave-0.3/combine_wave.h 2007-10-05 21:02:52.000000000 +0200
@@ -5,6 +5,7 @@
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>

#include <signal.h>
#include <errno.h>
diff -Naur combine_wave-0.3.orig/Makefile combine_wave-0.3/Makefile
--- combine_wave-0.3.orig/Makefile 2005-10-06 14:44:10.000000000 +0200
+++ combine_wave-0.3/Makefile 2007-10-05 21:00:43.000000000 +0200
@@ -6,13 +6,13 @@
CFLAGS = -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

.c.o:
- gcc $(CFLAGS) -c $<
+ $(CC) $(CFLAGS) -c $<

OBJECT =\
combine_wave.o

a.out : $(OBJECT)
- gcc -o combine_wave $(OBJECT)
+ $(CC) $(LDFLAGS) -o combine_wave $(OBJECT)

# DEPENDENCIES
combine_wave.o : combine_wave.c combine_wave.h wave_header.h



--------------------------------------------------------------------------------


Quote:
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
asterisk-users at ics-...
Guest





PostPosted: Tue Jan 15, 2008 1:15 pm    Post subject: [asterisk-users] Asterisk 1.4 Call Recording Reply with quote

Never mind, I got it. I needed a -p0
-----
Mike Hammett
Intelligent Computing Solutions
http://www.ics-il.com


----- Original Message -----
From: "Patrick" <asterisk-list at puzzled.xs4all.nl>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Tuesday, January 15, 2008 11:19 AM
Subject: Re: [asterisk-users] Asterisk 1.4 Call Recording


Quote:
Hi Mike,

On Tue, 2008-01-15 at 10:57 -0600, Mike Hammett wrote:
Quote:
Are there any tricks to getting combine_wave to make?

Patch attached. Builds fine with patch on Fedora 8.

Regards,
Patrick




--------------------------------------------------------------------------------


Quote:
diff -Naur combine_wave-0.3.orig/combine_wave.c
combine_wave-0.3/combine_wave.c
--- combine_wave-0.3.orig/combine_wave.c 2005-10-06 14:44:10.000000000
+0200
+++ combine_wave-0.3/combine_wave.c 2007-10-05 21:02:17.000000000 +0200
@@ -19,8 +19,8 @@

void running_info()
{
-fprintf(stderr,\
-" RUNNNING COMMANDS
+fprintf(stderr,
+" RUNNNING COMMANDS\n\
b toggles move both channels / move right channel delay mode.\n\
ESC exits.\n\
'z' 'x' 1 sample forward / backward.\n\
@@ -39,8 +39,8 @@

void usage()
{
-fprintf(stderr,\
-"Usage:
+fprintf(stderr,
+"Usage:\n\
combine_wave [-a] [-d milli seconds delay right channel relative to
left]\n\
[-e samples delay right channel relative to left]\n\
[-k] -l filename_left [-m] -o output_filename -r filename_right [s start
seek offset].\n\
diff -Naur combine_wave-0.3.orig/combine_wave.h
combine_wave-0.3/combine_wave.h
--- combine_wave-0.3.orig/combine_wave.h 2005-10-06 14:44:10.000000000
+0200
+++ combine_wave-0.3/combine_wave.h 2007-10-05 21:02:52.000000000 +0200
@@ -5,6 +5,7 @@
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>

#include <signal.h>
#include <errno.h>
diff -Naur combine_wave-0.3.orig/Makefile combine_wave-0.3/Makefile
--- combine_wave-0.3.orig/Makefile 2005-10-06 14:44:10.000000000 +0200
+++ combine_wave-0.3/Makefile 2007-10-05 21:00:43.000000000 +0200
@@ -6,13 +6,13 @@
CFLAGS = -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

.c.o:
- gcc $(CFLAGS) -c $<
+ $(CC) $(CFLAGS) -c $<

OBJECT =\
combine_wave.o

a.out : $(OBJECT)
- gcc -o combine_wave $(OBJECT)
+ $(CC) $(LDFLAGS) -o combine_wave $(OBJECT)

# DEPENDENCIES
combine_wave.o : combine_wave.c combine_wave.h wave_header.h



--------------------------------------------------------------------------------


Quote:
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
asterisk-list at puzzl...
Guest





PostPosted: Tue Jan 15, 2008 8:20 pm    Post subject: [asterisk-users] Asterisk 1.4 Call Recording Reply with quote

On Tue, 2008-01-15 at 12:13 -0600, Mike Hammett wrote:
Quote:
I'm a newb when it comes to patch. I have a combine_wave-0.3.orig and a
combine_wave-0.3 directory. This is what I get:

[root at Aiur ~]# patch < combine_wave-0.3.patch
can't find file to patch at input line 4
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur combine_wave-0.3.orig/combine_wave.c
combine_wave-0.3/combine_wave.c
|--- combine_wave-0.3.orig/combine_wave.c 2005-10-06
14:44:10.000000000 +0200
|+++ combine_wave-0.3/combine_wave.c 2007-10-05 21:02:17.000000000 +0200
--------------------------
File to patch:

Try this:

$ tar -xvzf combine_wave-0.3.tgz
$ patch -p1 < combine_wave-0.3.patch
$ cd combine_wave-0.3
$ make

Regards,
Patrick
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services