]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3794 this one might solve more issues
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 18 Feb 2012 02:21:44 +0000 (20:21 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 18 Feb 2012 02:21:44 +0000 (20:21 -0600)
src/mod/applications/mod_spandsp/Makefile.am
src/mod/endpoints/mod_sofia/sofia_presence.c

index 551a2b560c440158fbbf9f5ee19b196c8de11419..2a63c423161552a3ab6d2b3db4be6256f87eb2df 100644 (file)
@@ -22,9 +22,3 @@ $(SPANDSP_LA): $(TIFF_LA) $(SPANDSP_DIR) $(SPANDSP_DIR)/.update
 $(TIFF_LA): $(TIFF_DIR) $(TIFF_DIR)/.update
        cd $(TIFF_BUILDDIR) && $(MAKE) -j1
        $(TOUCH_TARGET)
-
-install-exec-local: $(DESTDIR)$(libdir)/libspandsp.la
-
-$(DESTDIR)$(libdir)/libspandsp.la: $(SPANDSP_LA)
-       cd $(TIFF_DIR) && $(MAKE) -j1 install
-       cd $(SPANDSP_DIR) && $(MAKE) -j1 install
index 5a10dbfb64bf3ef69df7878b11ee50da94027b4a..719cdfcecde0928dc4bda72289d94ca37befc17b 100644 (file)
@@ -1272,8 +1272,9 @@ static void actual_sofia_presence_event_handler(switch_event_t *event)
                                                                  event->event_id == SWITCH_EVENT_PRESENCE_IN ? "IN" : "OUT", profile->name);
                        }
 
-#if 0
-                       if (hup) {
+
+                       if (hup) { 
+                               /* so many phones get confused when whe hangup we have to reprobe to get them all to reset to absolute states so the lights stay correct */
                                switch_event_t *s_event;
                                
                                if (switch_event_create(&s_event, SWITCH_EVENT_PRESENCE_PROBE) == SWITCH_STATUS_SUCCESS) {
@@ -1287,8 +1288,6 @@ static void actual_sofia_presence_event_handler(switch_event_t *event)
                                }
                        }
                        
-#endif
-
                        if (!zstr((char *) helper.stream.data)) {
                                char *this_sql = (char *) helper.stream.data;
                                char *next = NULL;