HOWTO: MythTV CallerID OSD
MythTV CallerID OSD
The basic idea is to have callerID information pop up on the TV
when someone calls. It's suitable for a home setup where you have a
mythtv-based media center and are using asterisk for your phones.
This was tested on FreePBX 2.1 and Mythtv 0.19.
You need the mythtvosd executable on your system. In 0.19, this has some templates built-in, and that's what we'll be using.
If your asterisk and mythtv systems are different, you'll probably
also need to use mythudprelay. See the README included with
mythudprelay for more information (in the mythplugins
You'll need to use a ring group to dial this. You can probably also do it with follow-me, but I didn't test that.
First, create a context in extensions_custom.conf:
exten => 99999,1,System(/usr/local/bin/mythtvosd --template=cid
(that should be two lines)
Note you can use anything you want for the "99999" part, just be sure it doesn't conflict with anything.
Now, in the ring group that you want to have display callerid, add:
This works by adding the 99999 to the from-internal context (where
all internal calls are originated from). The # instructs the
dialparties script to dial the call externally, so it actually calls
"Local/99999@from-internal" (like it would if it was calling an
external number) to let the asterisk dialplan logic take care of
matching it (normally performing outbound routing).
Note: it's actually possible to use a word (like "ciddisplay")
in place of the 99999, EXCEPT that the freepbx web interface won't
allow that in the ring group extension list.
q. Why not?