From: Anthony Minessale Date: Mon, 9 Jul 2012 15:37:15 +0000 (-0500) Subject: FS-4404 --resolve X-Git-Tag: v1.2.0~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9b4db7d40159ec1b8d2a0c0f41655339daa0887;p=thirdparty%2Ffreeswitch.git FS-4404 --resolve --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index af7605e6c2..072d212d71 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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);