mod_sofia: Add support to reboot Yealink phone remotely - FS-2897

This commit is contained in:
Marc Olivier Chouinard 2010-12-03 18:58:39 -05:00
parent 5d7c09ed77
commit fdc31908fa
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ void sofia_reg_send_reboot(sofia_profile_t *profile, const char *user, const cha
const char *contenttype = "application/simple-message-summary";
const char *body = "";
if (switch_stristr("snom", user_agent)) {
if (switch_stristr("snom", user_agent) || switch_stristr("yealink", user_agent)) {
event = "check-sync;reboot=true";
} else if (switch_stristr("linksys", user_agent)) {
event = "reboot_now";