From: Brian West Date: Wed, 19 Sep 2012 19:44:42 +0000 (-0500) Subject: fix 7960/40 reboot X-Git-Tag: v1.3.0~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08e95e6ee134ecef4774d0eb20653720db992bf9;p=thirdparty%2Ffreeswitch.git fix 7960/40 reboot --- diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index d710602107..1142534401 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -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";