[mythtv] Caller ID

Tobias Blomberg blomman at ludd.luth.se
Wed Sep 17 10:23:40 EDT 2003


On Wednesday 17 September 2003 07.37, Ken Bass wrote:
> I have completed a patch for myth to add Caller ID notification capablity.
> I am unsure of how to submit a patch (this is my first myth development
> attempt). I created my patch from the official 0.11 tarball.

Great! This will open up for small, fun applications without knowledge of the 
Myth-code. I, for one, will use it for CID but not with a modem but rather a 
homebrew device.


> The XML over UDP packet looks as follows:
>
> <mythnotify version="1">
>   <container name="notify_cid_info">
>     <textarea name="notify_line">
>       <value>LINE #%CID_LINE%</value>
>     </textarea>
>     <textarea name="notify_name">
>       <value>NAME: %CID_NAME%</value>
>     </textarea>
>     <textarea name="notify_num">
>       <value>NUM : %CID_NUM%</value>
>     </textarea>
>     <textarea name="notify_dt">
>       <value>DATE: %CID_DATE% TIME : %CID_TIME%</value>
>     </textarea>
>   </container>
> </mythnotify>

A notify_image tag would be nice as well. In the CID-case, an image of the 
caller could be shown (just for fun). I the case of surveillance, a snapshot 
from a camera could be shown. The image data could for example be base64 
coded.

A notifier browser would be nice as well, so that it is possible to check who 
has called during the day or, in the surveillance case, check if the camera 
has been triggered during the day. The notifier events is of course stored in 
the database.

Sorry for all the ideas but no code. I'll try it out after work tonight.

Best regards,
Tobias



More information about the mythtv-dev mailing list