]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4404 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 9 Jul 2012 15:37:15 +0000 (10:37 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 9 Jul 2012 15:37:15 +0000 (10:37 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index af7605e6c2728f7779c2ceeecb3236fb600bd643..072d212d717e2572a5a6a378eb9800a950d0e0d4 100644 (file)
@@ -1074,6 +1074,8 @@ static void our_sofia_event_callback(nua_event_t event,
 
        case nua_i_cancel:
 
+               switch_channel_set_variable(channel, "sip_hangup_disposition", "recv_cancel");
+
                if (sip && channel && sip->sip_reason) {
                        char *reason_header = sip_header_as_string(nh->nh_home, (void *) sip->sip_reason);