]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
spa uses reboot the last way so linksys still will work
authorBrian West <brian@freeswitch.org>
Wed, 13 Jan 2010 15:57:58 +0000 (15:57 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 13 Jan 2010 15:57:58 +0000 (15:57 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16276 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_reg.c

index 41df09fdb14dd763dcf88ee50831f360d1f213f6..e8f4f4fe75313223d88bfe7bc83a83964f208252 100644 (file)
@@ -458,10 +458,10 @@ void sofia_reg_send_reboot(sofia_profile_t *profile, const char *user, const cha
 
        if (switch_stristr("snom", user_agent)) {
                event = "check-sync;reboot=true";
-       } else if (switch_stristr("spa", user_agent)) {
-               event = "reboot";
        } else if (switch_stristr("linksys", user_agent)) {
                event = "reboot_now";
+       } else if (switch_stristr("spa", user_agent)) {
+               event = "reboot";
        }
 
        sofia_glue_send_notify(profile, user, host, event, contenttype, body, contact, network_ip);