提交 93db4451 authored 作者: Mathieu Parent's avatar Mathieu Parent

Skinny: fix previous commit, define current time on hangup

上级 d41f3235
......@@ -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);
}
......
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论