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">&lt;<a href="mailto:ed@kapitein.org">ed@kapitein.org</a>&gt;</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>
&gt; Actually Dictator does not manipulate any state-file.<br>
&gt; It provides its own. One for playing files that has been recorded, one for recording.<br>
&gt; It loads the recording-state and changes two switches, depending on what you&#39;d like to record.<br>
&gt; It backups the previous state and reloads it when it is done.<br>
&gt;<br>
&gt; You have to change the state of alsa if you want to record a phonecall. I think there is no alternative!<br>
&gt; It&#39;s easier to do with a ready state-file than by manipulating every single switch!<br>
&gt;<br>
&gt; 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>
&gt; which loads a state with which you can record a call simultaneously and start arecord and end when you hang up.<br>
&gt;<br>
&gt; Matthias<br>
&gt;<br>
&gt; -----Ursprüngliche Nachricht-----<br>
&gt; Von: &quot;The Digital Pioneer&quot; &lt;<a href="mailto:digitalpioneer@gmail.com">digitalpioneer@gmail.com</a>&gt;<br>
&gt; Gesendet: 10.07.09 15:03:31<br>
&gt; An: List for Openmoko community discussion &lt;<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a>&gt;<br>
&gt; Betreff: Re: Record call.<br>
&gt;<br>
&gt; I would think it would be easy, but given how many people have tried<br>
&gt; to do it and ended up with rather unsatisfactory solutions (sorry<br>
&gt; Dictator folks, but manipulating the statefiles just doesn&#39;t feel<br>
&gt; like a clean solution...), I think it is not as easy as it sounds.<br>
&gt; But then, what in the Freerunner is?... Apparently, no-one has<br>
&gt; figured out how to reliably do bluetooth calls yet either. :(<br>
&gt;<br>
&gt; Also beware, if you&#39;re in the US, it&#39;s illegal to record calls<br>
&gt; without warning the other party.<br>
&gt; _______________________________________________ Openmoko community<br>
&gt; 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>
&gt;<br>
&gt; mailman/listinfo/community<br>
&gt;<br>
&gt;<br>
&gt; ________________________________________________________________<br>
&gt; Neu: <a href="http://WEB.DE" target="_blank">WEB.DE</a> Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate<br>
&gt; 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>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Openmoko community mailing list<br>
&gt; <a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
&gt; <a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
&gt;<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>