You can user siglaunchd for running your script on each incomming or outgoing call:<br><a href="http://wiki.openmoko.org/wiki/Siglaunchd">http://wiki.openmoko.org/wiki/Siglaunchd</a><br><br>It is very simple and made for :D<br>
<br><div class="gmail_quote">2009/7/10 Ed Kapitein <span dir="ltr"><<a href="mailto:ed@kapitein.org">ed@kapitein.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Matthias,<br>
<br>
Seems like a fine solution to me, what switches are set to what value?<br>
I would like to record both the incomming voice and my own voice.<br>
Implementing this in a script seems not to difficult too.<br>
<br>
Kind regards,<br>
<font color="#888888">Ed<br>
</font><div><div></div><div class="h5"><br>
On Fri, 2009-07-10 at 15:15 +0200, Matthias Felsche wrote:<br>
> Actually Dictator does not manipulate any state-file.<br>
> It provides its own. One for playing files that has been recorded, one for recording.<br>
> It loads the recording-state and changes two switches, depending on what you'd like to record.<br>
> It backups the previous state and reloads it when it is done.<br>
><br>
> You have to change the state of alsa if you want to record a phonecall. I think there is no alternative!<br>
> It's easier to do with a ready state-file than by manipulating every single switch!<br>
><br>
> At all, if you want something working automatically, you just have to listen for incoming calls (via dbus?) and when one is coming, you have to start (e.g.) a script<br>
> which loads a state with which you can record a call simultaneously and start arecord and end when you hang up.<br>
><br>
> Matthias<br>
><br>
> -----Ursprüngliche Nachricht-----<br>
> Von: "The Digital Pioneer" <<a href="mailto:digitalpioneer@gmail.com">digitalpioneer@gmail.com</a>><br>
> Gesendet: 10.07.09 15:03:31<br>
> An: List for Openmoko community discussion <<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a>><br>
> Betreff: Re: Record call.<br>
><br>
> I would think it would be easy, but given how many people have tried<br>
> to do it and ended up with rather unsatisfactory solutions (sorry<br>
> Dictator folks, but manipulating the statefiles just doesn't feel<br>
> like a clean solution...), I think it is not as easy as it sounds.<br>
> But then, what in the Freerunner is?... Apparently, no-one has<br>
> figured out how to reliably do bluetooth calls yet either. :(<br>
><br>
> Also beware, if you're in the US, it's illegal to record calls<br>
> without warning the other party.<br>
> _______________________________________________ Openmoko community<br>
> mailing list <a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a> <a href="http://lists.openmoko.org/" target="_blank">http://lists.openmoko.org/</a><br>
><br>
> mailman/listinfo/community<br>
><br>
><br>
> ________________________________________________________________<br>
> Neu: <a href="http://WEB.DE" target="_blank">WEB.DE</a> Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate<br>
> für nur 19,99 Euro/mtl.!* <a href="http://produkte.web.de/go/02/" target="_blank">http://produkte.web.de/go/02/</a><br>
><br>
><br>
> _______________________________________________<br>
> Openmoko community mailing list<br>
> <a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
> <a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
><br>
<br>
<br>
</div></div>_______________________________________________<br>
<div><div></div><div class="h5">Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br>