Link to home
Start Free TrialLog in
Avatar of deniro1974
deniro1974

asked on

asterisk soxmix

Good day guys,
I have a problem with soxmix and asterisk, when ever i end a call and monitoring is enabled on the channel am getting this error message (nice: soxmix: No such file or directory)
any idea how-to over come this problem?
Thank you all,
Avatar of tkfast
tkfast

What are you running as a command for monitor you need to make sure you have the callfilename as the path and the name.  

exten => 1,1,CALLFILENAME=/usr/wavs/12389123789
exten => 1,2,Monitor(wav,${CALLFILENAME},m)

Also here is another example http://www.voip-info.org/wiki/index.php?page=Monitor+setup+sample
some of the commands on this page have been deprecated.

Try this our or please let me know what you have as you extention.conf line you are running.

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of bwilks99
bwilks99
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Another solution might bee to use a bash script, since sox 1.4.x or later has the same functionality like soxmix using the m parameter. So you can use it to emulate soxmix like this:

So create a simple text file named "soxmix", put it in "/usr/bin", chmod it to executable with the following content:

#!/bin/bash
sox -m %1 %2 %3