Get Phone Calls Answered With The Moshi Moshi

Moshi Moshi

Have a significant other that isn’t the best at picking up the phone? [Aaron] was having a hard time reaching his wife, so he hacked up a solution. The Moshi Moshi detects calls from [Aaron], and plays music to get her attention.

A remote server running Asterisk picks up the call and uses a Ruby script to log the call. Every ten seconds, an Arduino Due with an Ethernet shield polls a Sinatra web server to see if a call has arrived. If a new call has come in, a music loop is played. Getting the Due to loop audio was a bit of a challenge, but the end result sounds good.

Quite a bit of tech is brought together to make the Moshi Moshi, and all the code is provided in the write up. This could be helpful to anyone looking to combine hardware with the Asterisk PBX. After the break, [Aaron] shows us how the system works.

28 thoughts on “Get Phone Calls Answered With The Moshi Moshi

  1. Umm, can’t she just plug the phone into a dock and change the ring tone to whatever special music she notices? Seems a long way to go just to play music when the phone rings, aren’t those the same thing?

    1. ZING!

      In other news, I think I’m getting to old to play with electronics. I work in electronics and honestly, by the time I get home, I don’t even want to flip a light switch because its got electronics flowing through it, This is after 30 some years of a fruitful electronics hobby. Now, when everyone else electronics projects start sounding like transcripts of some messed up japanese anime “moshi moshi causes Asterisk to cause a Ruby Script to log the call while arduninioonio with a shield polls a server and when the server sees that it is him that is calling it plays a song? I get the jest of it, it sounds way overly complex from my own KISS ways…

      how about GET A LOUDER RINGER? Or use a ringtone that is loud and unique to him.

      Some of you kids make me wonder if we would have gotten to the moon today instead of the 1960s.

      1. I dislike the trend of giving stupid projects Japanese sounding names.. It wouldn’t be so bad if the imagination of people that did it stretched past calling stuff chibi something or other. To be fair to this guy moshi moshi is a phrase used when answering the phone and his wife is apparently Japanese so it’s not as bad as calling it chibi denwa onigiri pantsu DX 2.0.

      1. I don’t get it. Why not just set a custom ringtone? It could even be his voice yelling “Pick up the phone, it’s me, Aaron!” If it’s not loud enough, why not run a script on the phone that connects to a larger speaker via bluetooth? Concocting a way to do something that is a thousand times more difficult than it was before is not hacking. It’s just electronic masturbation.

        Next up on Hackaday, [Random Doofus] replaces the inside half of his front door knob with a kinect so it only opens when he correctly dances the Macarena in the foyer.

  2. I did not get the part where the cell-phone can talk to the Arduino. And I did not either get the part where it’s easier for his wife to hear the Arduino than the cell-phone, besides when she has it on vibrate only, which there might be a reason for.
    But I’m surprises how something that sounds fairly complex, looks so simple when you look at the authors page.

  3. Why is he doing it the hard way? if he has an asterisk server, simply write the script to play the song out the soundcard. 15 seconds of scripting and if you use a wireless speaker, you are all done.

  4. That’s just oh so sad on many many many many levels.

    Get one of those invisible fence dog collars, then make the “reminder shock” trigger on the inbound cell call for his number. Make the wife wear the collar 24/7 until she can rub enough brain cells together to figure out how to answer a freaking phone.

    No clue why the OP is babying a grown women.

  5. Clearly the issue here is that she leaves her cell phone on mute, making her unreachable. Clearly the solution is a simple app which unmutes the phone when a specific person calls…

  6. Clearly the problem is that she leaves her phone on mute, rendering her unreachable. Clearly the solution is a simple app that unmutes the phone when a specific number calls…

  7. Is this a common problem with people? My phone just sits snugly in my pocket where I can hear and feel it when it rings. Why would you leave your phone on a counter in another room with mute on in the first place? Sure seems like a complex system that has no real world use, maybe if you’d add some kind of indicator lights for deaf people? I don’t know….

  8. This is way too complicated. I simply turn on SSH on my home computer running OSX, leave the speakers at full blast, log in remotely and type:

    say “Honey, can you please pick up the damn phone?”

  9. PreventionThe best approach to treating pimples is to prevent them from happening in the first place. Wash your face daily with a mild facial soap, and avoid touching your face in order to prevent the oils and dirt on your fingers from becoming trapped in the pores. Clean the frames of glasses and sunglasses to remove any excess oil. Only use oil-free makeup, and keep your hair off your face and shampoo often. It should not be used as a substitute for professional medical advice, diagnosis or treatment. LIVESTRONG is a registered trademark of the LIVESTRONG Foundation. Moreover, we do not select every advertiser or advertisement that appears on the web site-many of the advertisements are served by third party advertising companies.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.