]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix 7960/40 reboot
authorBrian West <brian@freeswitch.org>
Wed, 19 Sep 2012 19:44:42 +0000 (14:44 -0500)
committerBrian West <brian@freeswitch.org>
Wed, 19 Sep 2012 19:44:55 +0000 (14:44 -0500)
src/mod/endpoints/mod_sofia/sofia_reg.c

index d71060210731fb3f7a5e3de1b3975966011895a4..1142534401f71ff963a36074a39412c5f24a1e30 100644 (file)
@@ -588,6 +588,8 @@ void sofia_reg_send_reboot(sofia_profile_t *profile, const char *callid, const c
                event = "reboot_now";
        } else if (switch_stristr("spa", user_agent)) {
                event = "reboot";
+       } else if (switch_stristr("Cisco-CP7960G", user_agent) || switch_stristr("Cisco-CP7940G", user_agent)) {
+               event = "check-sync";
        } else if (switch_stristr("cisco", user_agent)) {
                event = "service-control";
                contenttype = "text/plain";