From 66f9cb6f0d886c7aedd70626ddec507ae208bb47 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 13 Jan 2010 15:57:58 +0000 Subject: [PATCH] spa uses reboot the last way so linksys still will work git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16276 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_reg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 41df09fdb1..e8f4f4fe75 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -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);