Re: [Alsa-user] A long shot I know: recording from a POTS phone for voicemail
> Date: Tue, 23 Feb 2016 19:06:44 -0500 > From: doug> To: p...@pricom.com.au, alsa-user@lists.sourceforge.net > > > On 02/23/2016 03:10 PM, Philip Rhoades wrote: > > People, > > > > I know this is a bit of a long shot but does anyone here have any > > experience setting up a voicemail recording system for a POTS phone? I > > thought it should be simpler than using say using Asterisk to set up a > > whole PABX but maybe it isn't . . > > > > Yhanks, > > > > Phil. > It depends on what you are trying to do. If you just want to record the > audio on a telephone line, the easiest way is > a small audio transformer and a capacitor. Say a 1 Ohm 1:1 audio > transformer and about a 0.1 microfarad capacitor > rated at 100 volts DC or better in series with the transformer on the > phone line side. Connect the secondary to the recorder > or computer line input. > > If you're trying to run voice in both directions from, say, a computer > to the phone line, you need a telephone modem, which > is explicitly designed to do that job. If you use the transformer and capacitor solution, you'll also need something to provide a DC path across the phone line or the phone company switch will hang up the call. Here's a schematic I posted to another forum: https://tech.lds.org/forum/download/file.php?id=2636 If maximum economy is required, especially for a one-time event, you can use a 1K resister instead of the choke and drop the MOV, Zener diodes, and R1. HTH Robert -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] A long shot I know: recording from a POTS phone for voicemail
Guys, On 2016-02-24 11:28, chris hermansen wrote: > Doug, Philip, list; > > On Tue, Feb 23, 2016 at 4:06 PM, doug> wrote: > >> On 02/23/2016 03:10 PM, Philip Rhoades wrote: >>> People, >>> >>> I know this is a bit of a long shot but does anyone here have any >>> experience setting up a voicemail recording system for a POTS >> phone? I >>> thought it should be simpler than using say using Asterisk to set >> up a >>> whole PABX but maybe it isn't . . >>> >>> Yhanks, >>> >>> Phil. >> It depends on what you are trying to do. If you just want to record >> the >> audio on a telephone line, the easiest way is >> a small audio transformer and a capacitor. Say a 1 Ohm 1:1 audio >> transformer and about a 0.1 microfarad capacitor >> rated at 100 volts DC or better in series with the transformer on >> the >> phone line side. Connect the secondary to the recorder >> or computer line input. >> >> If you're trying to run voice in both directions from, say, a >> computer >> to the phone line, you need a telephone modem, which >> is explicitly designed to do that job. The main reason is to simply replace my answering machine with my computer - I don't need to make calls out or record my conversations or anything like that - the setup justs needs to answer the phone when I am not around and record a message as a WAV file or something . . > Most older laptops include a modem. Or if you don't have one of those > you can buy a cheapo modem > > Here is a reference you might find useful > http://www.linuxtoys.org/answer/answering_machine.html > > Here is another http://frank.harvard.edu/~coldwell/answering_machine/ > > Another > http://askubuntu.com/questions/513004/telephone-call-answering-machine-software > > Another > http://unix.stackexchange.com/questions/44624/is-there-a-way-for-linux-to-pick-up-the-phone > > You may also be able to do the job with vgetty > http://linux.die.net/man/8/vgetty I will have a look at all that - thanks! Regards, Phil. -- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: p...@pricom.com.au -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] A long shot I know: recording from a POTS phone for voicemail
Doug, Philip, list; On Tue, Feb 23, 2016 at 4:06 PM, dougwrote: > > On 02/23/2016 03:10 PM, Philip Rhoades wrote: > > People, > > > > I know this is a bit of a long shot but does anyone here have any > > experience setting up a voicemail recording system for a POTS phone? I > > thought it should be simpler than using say using Asterisk to set up a > > whole PABX but maybe it isn't . . > > > > Yhanks, > > > > Phil. > It depends on what you are trying to do. If you just want to record the > audio on a telephone line, the easiest way is > a small audio transformer and a capacitor. Say a 1 Ohm 1:1 audio > transformer and about a 0.1 microfarad capacitor > rated at 100 volts DC or better in series with the transformer on the > phone line side. Connect the secondary to the recorder > or computer line input. > > If you're trying to run voice in both directions from, say, a computer > to the phone line, you need a telephone modem, which > is explicitly designed to do that job. > > Most older laptops include a modem. Or if you don't have one of those you can buy a cheapo modem Here is a reference you might find useful http://www.linuxtoys.org/answer/answering_machine.html Here is another http://frank.harvard.edu/~coldwell/answering_machine/ Another http://askubuntu.com/questions/513004/telephone-call-answering-machine-software Another http://unix.stackexchange.com/questions/44624/is-there-a-way-for-linux-to-pick-up-the-phone You may also be able to do the job with vgetty http://linux.die.net/man/8/vgetty -- Chris Hermansen · clhermansen "at" gmail "dot" com C'est ma façon de parler. -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] A long shot I know: recording from a POTS phone for voicemail
On 02/23/2016 03:10 PM, Philip Rhoades wrote: > People, > > I know this is a bit of a long shot but does anyone here have any > experience setting up a voicemail recording system for a POTS phone? I > thought it should be simpler than using say using Asterisk to set up a > whole PABX but maybe it isn't . . > > Yhanks, > > Phil. It depends on what you are trying to do. If you just want to record the audio on a telephone line, the easiest way is a small audio transformer and a capacitor. Say a 1 Ohm 1:1 audio transformer and about a 0.1 microfarad capacitor rated at 100 volts DC or better in series with the transformer on the phone line side. Connect the secondary to the recorder or computer line input. If you're trying to run voice in both directions from, say, a computer to the phone line, you need a telephone modem, which is explicitly designed to do that job. -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] A long shot I know: recording from a POTS phone for voicemail
People, I know this is a bit of a long shot but does anyone here have any experience setting up a voicemail recording system for a POTS phone? I thought it should be simpler than using say using Asterisk to set up a whole PABX but maybe it isn't . . Yhanks, Phil. -- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: p...@pricom.com.au -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Recording without plughw channel mixing
Hi Clemens, Am 28.01.2016 um 09:34 schrieb Clemens Ladisch: > Klaus Jaensch wrote: >> we use an M-Audio Fast Track USB device to record mono speech. >> We face the problem that for mono recordings both input channels of the >> device are mixed together. But we want to record only the left channel, >> not the mix. > Try: >arecord -D '{type plug slave.pcm "hw:Track" route_policy copy}' -f cd -c1 > mono.wav Thanks. Though the command line does not work on Ubuntu 12.04, I was able to record the left channel using the "route_policy copy" option in /etc/asound.conf by overwriting the plughw device. A drawback of this configuration is that the playback of mono files through the plughw device is routed to the left channel only, too. Not so good when we use headphones. If tried to apply the option only to capture, but I could not get it to work. Furthermore what I'm actually looking for, is a way to configure this system-wide for all applications. So I need to configure the ALSA default device which is routed to PulseAudio on our Ubuntu systems. It looks like that the PulseAudio implementation does the same mixing of capture channels as ALSA. Maybe I should ask the PulseAudio developers how to achieve this... I'm wondering if it is possible at all to configure the Linux audio system to get the same default routing as on Windows and Mac OS X. Regards, Klaus > > Regards, > Clemens -- -- Klaus Jaensch Muenchen Germany Institut fuer Phonetik und Sprachverarbeitung Schellingstr.3/II Room 223 VG 80799 München Phone (Work): +49-(0)89-2180-2806 Fax: +49-(0)89-2180-5790 EMail: kla...@phonetik.uni-muenchen.de -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] JACK fails in record modes with an Intel HDA device (by NVidia) since kernel 4.4.1
Hi, since no one replied: If it did work for older kernels, you can try to find the kernel commit that introduced the bug by bisecting between the kernel version that was working and the first kernel version that you know is broken. This will require you to build the kernel on your machine and will probably take some time to set up. - Markus On 02/22/2016 02:32 PM, Johannes Maibaum wrote: > Hi, > > just a quick follow up: I have just tested starting JACK with my Nvidia > Intel-HDA again, now on kernel 4.4.2: The issue is still present. > Capture-only and duplex modes fail, playback-only works. > > Is there anything I can do to help debugging (and finally fixing) this > regression any further? > > Best, > Johannes > > Am 10.02.2016 um 14:43 schrieb Johannes Maibaum: >> Hello, >> >> since the kernel update to 4.4.1 (I'm on Arch Linux x86_64), I cannot >> use the jack server in duplex mode or record only mode anymore (playback >> only still works) using the internal sound card (an Intel HDA >> manufactured by NVidia) of my Apple MacBook Pro 7,1. >> Up until kernel 4.3.3, this was possible without any issues. >> >> JACK seems to start formally, but fails after a multi-second timeout as >> soon as one tries to connect any client to it, giving the following >> error messages: >> >> Sun Feb 7 15:02:32 2016: Starting jack server... >> Sun Feb 7 15:02:32 2016: JACK server starting in realtime mode with >> priority 10 >> Sun Feb 7 15:02:32 2016: self-connect-mode is "Don't restrict self >> connect requests" >> Sun Feb 7 15:02:32 2016: Acquired audio card Audio0 >> Sun Feb 7 15:02:32 2016: creating alsa driver ... >> hw:NVidia|hw:NVidia|512|2|48000|0|0|nomon|swmeter|-|32bit >> Sun Feb 7 15:02:33 2016: configuring for 48000Hz, period = 512 frames >> (10.7 ms), buffer = 2 periods >> Sun Feb 7 15:02:33 2016: ALSA: final selected sample format for >> capture: 32bit integer little-endian >> Sun Feb 7 15:02:33 2016: ALSA: use 2 periods for capture >> Sun Feb 7 15:02:33 2016: ALSA: final selected sample format for >> playback: 32bit integer little-endian >> Sun Feb 7 15:02:33 2016: ALSA: use 2 periods for playback >> Sun Feb 7 15:02:38 2016: ERROR: JackPosixProcessSync::LockedTimedWait >> error usec = 500 err = Connection timed out >> Sun Feb 7 15:02:38 2016: ERROR: Driver is not running >> Sun Feb 7 15:02:38 2016: ERROR: Cannot open client name = dbusapi >> Sun Feb 7 15:02:38 2016: ERROR: failed to create dbusapi jack client >> Sun Feb 7 15:02:38 2016: ERROR: Unknown request 4294967295 >> Sun Feb 7 15:02:38 2016: ERROR: CheckSize error size = 0 Size() = 12 >> Sun Feb 7 15:02:38 2016: ERROR: CheckRead error >> >> I already filed bug reports against the JACK sound server package on >> Arch Linux... >> >> https://bugs.archlinux.org/task/48073 >> >> ...where at least one other user was able to reproduce (though he did >> not specify his hardware configuration), and I filed an issue for the >> JACK developers on Github... >> >> https://github.com/jackaudio/jack2/issues/186 >> >> ...where further investigation has shown that it seems to be related to >> the HDA hardware, as I can start JACK successfully in all modes using an >> external USB audio interface. Markus Seeber has pointed me to an older >> issue report against JACK... >> >> https://github.com/jackaudio/jack2/issues/116 >> >> ...where a genuine Intel HDA card in a Lenovo laptop showed the exact >> same symptoms, but obviously using an older kernel. >> >> Output of alsa-info.sh on the MacBook Pro is here: >> http://www.alsa-project.org/db/?f=4f288b556984d50e322fc85d2cfd73fb03b7e0cd >> >> I'm interested in getting the device to work again in all modes as it >> used to. >> >> Best, >> Johannes >> > > -- > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140 > ___ > Alsa-user mailing list > Alsa-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/alsa-user > -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user