mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-20 10:26:51 +00:00
mod_sofia: Add support to reboot Yealink phone remotely - FS-2897
This commit is contained in:
parent
5d7c09ed77
commit
fdc31908fa
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user