MythPhone

http://www.zen13655.zen.co.uk/mythphone.html - Author's site, currently link dead.
http://www.mythtv.org/wiki/MythPhone - Current website

From website:

Mythphone uses a SIP stack to allow voice and/or video calls to be placed to other SIP clients. This includes other MythFrontends on your system, Mythfrontends over the Internet, or other standard SIP clients. I have verified SIP support against a couple of standards-based devices for voice calls but video has some caveats (see below).

Features
  • Contact database for click-dialling
  • Voice calls at G.711 20ms
  • Video calls at H.263
  • Pan and Zoom for video calls, useful if your web-cam captures at a higher resolution than you transmit
  • Voicemail
  • Send/receive DTMF (RFC 2833)
  • VXML scripting with Text-To-Speech engine allows you to call in and hear the TV Guide / set recording etc
  • Full screen video
  • Call history
  • Popup whilst watching TV shows a call is coming in; though currently you have to navigate to mythphone to answer it.
  • NAT and Firewall handling (see below)


Setting up MythPhone to work with Asterisk is fairly straight forward:

Note: I assume the Mythfrontend is on the same LAN as the Asterisk box and no NAT is required.


1. First, with AAH (Asterisk At Home) web configuration utility, create a SIP extension just like you would for a regular phone. In my case I used extension 203 and my password was "yoursecretcode"
2. In the Codecs section make sure you have disallow - all, allow ulaw,h263
3. Then on the box where your Mythfrontend is running, make sure you have MythPhone installed which can be done by using yum:
  1. yum install mythphone
4. Then starting up the MythTV Frontend, navigate to Utilites/Setup -> Setup -> Phone settings (at the bottom) and enter the IP address of your Asterisk box, enter your extension number as your username (i.e. 203), and the password you used in Asterisk (i.e. "yoursecretcode").
Note: On the third or fourth configuration page in the MythPhone setup, I also changed the NAT
type to "Manual" and entered the local IP address of the box, 192.168.0.4 for example. I'm not
sure this was necessary for it to work, but I'm guessing it was.
5. Then "Finish" and restart Mythfrontend.
6. To test if the Mythfrontend is registering correctly, when you enter "Phone" under the "Information Center", it will show "Registered 192.168.xxx.xxx SIP 203" where xxx is the IP address of your Asterisk box.


Notes:

  • MythPhone is hard coded to connect to the default port of 5060 on the server

The benefit of registering Mythphone even if you don't intend to use it as a phone, is that it announces the caller-ID on the TV when watching Live-TV or Recordings. Of course, there are simpler ways, for example using "mythvosd" to display the Caller-ID, but having MythPhone register with the Asterisk box can be useful when you have two Asterisk boxes on the same network. That way, you can include that MythPhone in a ring group and have caller-ID for certain Asterisk boxes only sent to certain Mythfrontends. "mythvosd" can't specify which Mythfrontends to use because it is a broadcast.

http://www.zen13655.zen.co.uk/mythphone.html - Author's site, currently link dead.
http://www.mythtv.org/wiki/MythPhone - Current website

From website:

Mythphone uses a SIP stack to allow voice and/or video calls to be placed to other SIP clients. This includes other MythFrontends on your system, Mythfrontends over the Internet, or other standard SIP clients. I have verified SIP support against a couple of standards-based devices for voice calls but video has some caveats (see below).

Features
  • Contact database for click-dialling
  • Voice calls at G.711 20ms
  • Video calls at H.263
  • Pan and Zoom for video calls, useful if your web-cam captures at a higher resolution than you transmit
  • Voicemail
  • Send/receive DTMF (RFC 2833)
  • VXML scripting with Text-To-Speech engine allows you to call in and hear the TV Guide / set recording etc
  • Full screen video
  • Call history
  • Popup whilst watching TV shows a call is coming in; though currently you have to navigate to mythphone to answer it.
  • NAT and Firewall handling (see below)


Setting up MythPhone to work with Asterisk is fairly straight forward:

Note: I assume the Mythfrontend is on the same LAN as the Asterisk box and no NAT is required.


1. First, with AAH (Asterisk At Home) web configuration utility, create a SIP extension just like you would for a regular phone. In my case I used extension 203 and my password was "yoursecretcode"
2. In the Codecs section make sure you have disallow - all, allow ulaw,h263
3. Then on the box where your Mythfrontend is running, make sure you have MythPhone installed which can be done by using yum:
  1. yum install mythphone
4. Then starting up the MythTV Frontend, navigate to Utilites/Setup -> Setup -> Phone settings (at the bottom) and enter the IP address of your Asterisk box, enter your extension number as your username (i.e. 203), and the password you used in Asterisk (i.e. "yoursecretcode").
Note: On the third or fourth configuration page in the MythPhone setup, I also changed the NAT
type to "Manual" and entered the local IP address of the box, 192.168.0.4 for example. I'm not
sure this was necessary for it to work, but I'm guessing it was.
5. Then "Finish" and restart Mythfrontend.
6. To test if the Mythfrontend is registering correctly, when you enter "Phone" under the "Information Center", it will show "Registered 192.168.xxx.xxx SIP 203" where xxx is the IP address of your Asterisk box.


Notes:

  • MythPhone is hard coded to connect to the default port of 5060 on the server

The benefit of registering Mythphone even if you don't intend to use it as a phone, is that it announces the caller-ID on the TV when watching Live-TV or Recordings. Of course, there are simpler ways, for example using "mythvosd" to display the Caller-ID, but having MythPhone register with the Asterisk box can be useful when you have two Asterisk boxes on the same network. That way, you can include that MythPhone in a ring group and have caller-ID for certain Asterisk boxes only sent to certain Mythfrontends. "mythvosd" can't specify which Mythfrontends to use because it is a broadcast.

Created by: jht2, Last modification: Thu 11 of Jun, 2009 (18:31 UTC) by savaticus
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+