FS-4598 reasonable req
This commit is contained in:
parent
3cf238fc9a
commit
cba999b551
|
@ -1723,6 +1723,7 @@ void sofia_event_callback(nua_event_t event,
|
||||||
private_object_t *tech_pvt = switch_core_session_get_private(session);
|
private_object_t *tech_pvt = switch_core_session_get_private(session);
|
||||||
|
|
||||||
if (status == 403) {
|
if (status == 403) {
|
||||||
|
switch_channel_set_flag(channel, CF_NO_CDR);
|
||||||
switch_channel_hangup(channel, SWITCH_CAUSE_CALL_REJECTED);
|
switch_channel_hangup(channel, SWITCH_CAUSE_CALL_REJECTED);
|
||||||
} else {
|
} else {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "detaching session %s\n", sofia_private->uuid);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "detaching session %s\n", sofia_private->uuid);
|
||||||
|
|
Loading…
Reference in New Issue