Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c (16275 => 16276)
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c 2010-01-13 15:48:34 UTC (rev 16275)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c 2010-01-13 15:57:58 UTC (rev 16276)
@@ -458,10 +458,10 @@
if (switch_stristr("snom", user_agent)) {
event = "check-sync;reboot=true";
+ } else if (switch_stristr("linksys", user_agent)) {
+ event = "reboot_now";
} else if (switch_stristr("spa", user_agent)) {
event = "reboot";
- } else if (switch_stristr("linksys", user_agent)) {
- event = "reboot_now";
}
sofia_glue_send_notify(profile, user, host, event, contenttype, body, contact, network_ip);