Skinny: stop media on early media hangup (ring-out)

This commit is contained in:
Mathieu Parent 2010-08-31 08:39:50 +02:00
parent 70331e88bd
commit ce352bccc5
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ int channel_on_hangup_callback(void *pArg, int argc, char **argv, char **columnN
default:
send_display_prompt_status(listener, 0, switch_channel_cause2str(helper->cause), line_instance, call_id);
}
if((call_state == SKINNY_PROCEED) || (call_state == SKINNY_CONNECTED)) { /* calling parties */
if((call_state == SKINNY_PROCEED) || (call_state == SKINNY_RING_OUT) || (call_state == SKINNY_CONNECTED)) { /* calling parties */
skinny_session_stop_media(helper->tech_pvt->session, listener, line_instance);
}