]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3794 zig zag mismatch contd
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 23 Feb 2012 01:27:02 +0000 (19:27 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 23 Feb 2012 01:27:02 +0000 (19:27 -0600)
src/mod/endpoints/mod_sofia/sofia_presence.c

index aad3caad5fe000539bf64da33f4c9ace2f3c813f..5dc57c6908a00907e8841d338bcc8aa6e14f31a8 100644 (file)
@@ -2676,7 +2676,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
 
                                                rpid = "on-the-phone";
                                                force_status = 1;
-                                       } else if (!strcmp(astate, "terminated")) {
+                                       } else if (!strcmp(astate, "terminated") || !strcmp(astate, "hangup")) {
                                                rpid = "online";
                                                dialog_rpid = "";
                                                force_event_status = "Available";