mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 16:24:13 +00:00
mod_sofia: Add support to reboot Yealink phone remotely - FS-2897
This commit is contained in:
1 parent
5d7c09ed77
commit
fdc31908fa
1 file changed
+1
-1
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user