]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
spa uses reboot
authorBrian West <brian@freeswitch.org>
Wed, 13 Jan 2010 15:47:34 +0000 (15:47 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 13 Jan 2010 15:47:34 +0000 (15:47 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16274 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_reg.c

index 86e6d0abc2e71d039fa43744a3f9d809e19c6fa6..41df09fdb14dd763dcf88ee50831f360d1f213f6 100644 (file)
@@ -458,6 +458,8 @@ 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";
        }