I use:
exten => s,1,SetVar(MONITORDIR=/var/spool/asterisk/monitor)
exten => s,2,GotoIf($[${CALLFILENAME} = ${FOO}]?6:3)
exten => s,3,System(soxmix ${MONITORDIR}/${CALLFILENAME}-in.wav ${MONITORDIR}/${CALLFILENAME}-out.wav ${MONITORDIR}/${CALLFILENAME}.gsm)
exten => s,4,System(/bin/rm ${MONITORDIR}/${CALLFILENAME}-in.wav ${MONITORDIR}/${CALLFILENAME}-out.wav)
exten => s,5,NoOp
Which records wav files, but mixes them into a single .gsm. Quality is good, no choppyness.
Michiel
David C. Troy wrote:
All --
I'm still having serious trouble mixing two gsm files together. They are generated from Monitor(gsm).
The only way I can get successful results right now is to do Monitor(wav) and then use soxmix to convert the resulting two wav files into a single gsm file, but the sound quality is warbly and the wav files unnecessarily large.
Is anyone successfully using soxmix to merge two existing gsm files into a third gsm file? If so, what version of soxmix, etc?
Cheers, Dave
===================================================================== David C. Troy [EMAIL PROTECTED] 410-384-2500 Sales ToadNet - Want to go fast? 410-544-1329 FAX 570 Ritchie Highway, Severna Park, MD 21146-2925 www.toad.net
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
