From cba999b551ae77a0feb015f708f9f80bfc1f70c7 Mon Sep 17 00:00:00 2001 From: Anthony Minessale <anthm@freeswitch.org> Date: Wed, 19 Sep 2012 11:47:53 -0500 Subject: [PATCH] FS-4598 reasonable req --- src/mod/endpoints/mod_sofia/sofia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 01fe061f88..304ac668dd 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -1723,6 +1723,7 @@ void sofia_event_callback(nua_event_t event, private_object_t *tech_pvt = switch_core_session_get_private(session); if (status == 403) { + switch_channel_set_flag(channel, CF_NO_CDR); switch_channel_hangup(channel, SWITCH_CAUSE_CALL_REJECTED); } else { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "detaching session %s\n", sofia_private->uuid);