]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3444 --resolve slightly simpler way to do the same thing
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 29 Jul 2011 20:23:12 +0000 (15:23 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 29 Jul 2011 20:23:17 +0000 (15:23 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index e848266783e1f02be5f1c30f7dc30b5271e8380c..0ef6a37107c0433651ac4d1e09d6b82e2d68ee22 100644 (file)
@@ -5804,6 +5804,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                        switch_snprintf(st, sizeof(st), "%d", cause);
                        switch_channel_set_variable(channel, "sip_term_cause", st);
                        switch_channel_hangup(channel, cause);
+                       ss_state = nua_callstate_terminated
                }