Skinny: fix previous commit, define current time on hangup

This commit is contained in:
Mathieu Parent 2010-04-15 11:11:05 +02:00
parent d41f32356c
commit 93db4451d1
2 changed files with 3 additions and 3 deletions

View File

@ -651,7 +651,7 @@ int channel_on_hangup_callback(void *pArg, int argc, char **argv, char **columnN
skinny_line_set_state(listener, line_instance, call_id, SKINNY_ON_HOOK);
send_select_soft_keys(listener, line_instance, call_id, SKINNY_KEY_SET_ON_HOOK, 0xffff);
/* TODO: DefineTimeDate */
send_define_current_time_date(listener);
send_set_speaker_mode(listener, SKINNY_SPEAKER_OFF);
send_set_ringer(listener, SKINNY_RING_OFF, SKINNY_RING_FOREVER, 0, call_id);
}

View File

@ -588,8 +588,8 @@ int skinny_session_process_dest_callback(void *pArg, int argc, char **argv, char
skinny_line_set_state(listener, line_instance, helper->tech_pvt->call_id, SKINNY_IN_USE_REMOTELY);
send_select_soft_keys(listener, line_instance, helper->tech_pvt->call_id, 10, 0xffff);
send_display_prompt_status(listener, 0, "\200\037",
line_instance, tech_pvt->call_id);
skinny_send_call_info(session, listener, line_instance);
line_instance, helper->tech_pvt->call_id);
skinny_send_call_info(helper->tech_pvt->session, listener, line_instance);
}
}
return 0;