Patch Phone Disable Various Call Sounds
Disable sound when you miss a call
If you're like me, you want to use the alarm clock and hear SMS alerts in case the NOC is on fire, but you don't want some random spam call to wake you up. Even though you turned the ringer volume down, the missed call alert will use the system volume setting and be as loud as your alarm/SMS. How annoying. Here is a very simple trick to make those missed call notifications silent.
- Gain access to linux.
mount -o remount rw, / cd /usr/palm/applications/com.palm.app.phone/app/controllers/ cp announcer-assistant.js announcer-assistant.sav vi announcer-assistant.js
Look for the following at line 243 (WebOS 1.1)
Now, add this same line after line 283 (webOS 1.1). So, change...
lightweight: true, applicationStylesheets: ["stylesheets/ph name: stageName, "height": height, },
lightweight: true, applicationStylesheets: ["stylesheets/ph name: stageName, "height": height, soundclass: 'none' },
Now restart the GUI. The luna rescan trick WILL NOT WORK with the phone app.
initctl stop LunaSysMgr && initctl start LunaSysMgr
Wait for the GUI to come back and then call your phone. Don't answer it, and then hang up...notice you'll still have your notification but no annoying loud ding.
Now remount read only
mount -o remount,ro /
Notes for coders
Another way you can mod this is to change the popupalert style stage, which is the 3rd, optional param to createStageWithCallback(). This 3rd param can take a variety of options. So far I've discovered: popupalert, dashboard, card, pin, emergency, activebanner, and banneralert. You can also just leave it blank. I tried them all. Some worked, some didn't. Emergency is probably best left for the 911 functionality. Banneralert, like popupalert will use a sound file by default. Dashboard is the tiny little icon tray that appears at the bottom when you have mail or missed calls. In my mind the best alternative to popupalert with sound off, would be to switch it to dashboard and then you just get a more subtle notification of a missed call. If you use dashboard, you need not add the soundClass param above.