On this page http://www.voip-info.org/wiki-Asterisk+record+calls there is "Example by Mojo". I have done everything he said and I have sox package installed. [root@pbx recordings]# sox -help sox: Version 12.17.7 ... When I open this web page http://10.0.0.26/recordings/index.php I get this: No Recordings Found And there are recordings in /var/spool/asterisk/monitor Do I have to do something more? Does it work for anybody else? Is there any other way to combine in and out soundfile when I use automon option? -- Tomislav Parcina ime.prezime@email.t-com.hr
Tomislav Parcina
2005-Dec-28 07:57 UTC
[Asterisk-Users] Re: voip-info: Asterisk record calls
In article <MPG.1e1cc4bf511042ac9896b2@news.gmane.org>, tparcina@lama.hr says...> Do I have to do something more? Does it work for anybody else? > > Is there any other way to combine in and out soundfile when I use > automon option?My error. Everything works fine... Sorry. -- Tomislav Parcina ime.prezime@email.t-com.hr
Mojo with Horan & Company, LLC
2006-Jan-03 18:31 UTC
[Asterisk-Users] voip-info: Asterisk record calls
Wow, example by me. I don't read the Wiki enough lately ;) while you are recording, are there *-in and *-out files being created? Within seconds of hanging up, do they disappear to be replaced by a single file? In my php I search for records using the following: ls -1t --color=never --almost-all $thepath | grep -v in | grep -v out > /tmp/some_list3991-0s022 (aside from the fact that this type of ugly code should NEVER be found in the wild for too many reasons to go over) so look for all files, ignore the ones that include the word in or the word out in the filenames.. The soft link bit isn't necessary to see the recordings listed, only to download them from the webpage. So the areas in which this could mess up are A) sox isn't mixing anything, so therefore no files exist that don't contain "in" or "out" in the file name. is soxmix for sure installed as part of the sox package? try typing: "soxmix filename-in.wav filename-out.wav filename.wav" and when it's done, check with the recordings php again to see if it sees anything now. B) bad permissions in the /tmp dir. I'm trying to create and then re-read a text file. "chmod 1777 /tmp"? C) Do you set your monitor filename in the asterisk dialplan? I never experimented with this but you should see recordings listed anyway, even with this option. D) Depending on what distribution you're using, maybe my ls bit isn't right. They are all pretty imperative switches for my use. There are a billion ways to skin this cat, including with cut or awk. All this is using Automon in features.conf, I assume this is the automon you speak of? Hope this helps! Moj Tomislav Parcina wrote:> On this page http://www.voip-info.org/wiki-Asterisk+record+calls there > is "Example by Mojo". I have done everything he said and I have sox > package installed. > > [root@pbx recordings]# sox -help > sox: Version 12.17.7 > ... > > When I open this web page http://10.0.0.26/recordings/index.php I get > this: No Recordings Found > > And there are recordings in /var/spool/asterisk/monitor > > Do I have to do something more? Does it work for anybody else? > > Is there any other way to combine in and out soundfile when I use > automon option? > >-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112
Mojo with Horan & Company, LLC
2006-Jan-03 18:32 UTC
[Asterisk-Users] Re: voip-info: Asterisk record calls
LOL I need to read the list completely too before I respond. happy everything and merry too! Tomislav Parcina wrote:> In article <MPG.1e1cc4bf511042ac9896b2@news.gmane.org>, tparcina@lama.hr > says... > >>Do I have to do something more? Does it work for anybody else? >> >>Is there any other way to combine in and out soundfile when I use >>automon option? > > > My error. Everything works fine... Sorry. > >-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112