Save caller ID list after each call.
This commit is contained in:
parent
22bcb08ceb
commit
ec8dde8299
|
@ -8,6 +8,7 @@ ant-phone 0.2.0, 2007-11-25, Ivan Schreter <schreter@gmx.net>
|
||||||
* Add tray icon and minimize to tray instead of close
|
* Add tray icon and minimize to tray instead of close
|
||||||
* Added --sleep and --wakeup remote commands to facilitate release
|
* Added --sleep and --wakeup remote commands to facilitate release
|
||||||
and re-acquire of CAPI connection
|
and re-acquire of CAPI connection
|
||||||
|
* Save caller ID after each call
|
||||||
* Code documentation (partial)
|
* Code documentation (partial)
|
||||||
|
|
||||||
ant-phone 0.1.13, 2007-04-29, Roland Stigge <stigge@antcom.de>
|
ant-phone 0.1.13, 2007-04-29, Roland Stigge <stigge@antcom.de>
|
||||||
|
|
|
@ -1084,6 +1084,9 @@ static void isdn_hangup_callback(void *context, void *error)
|
||||||
session_set_state(session, STATE_READY);
|
session_set_state(session, STATE_READY);
|
||||||
cid_set_duration(session, reason);
|
cid_set_duration(session, reason);
|
||||||
|
|
||||||
|
settings_history_write(session); /* write history */
|
||||||
|
settings_callerid_write(session); /* write callerid history */
|
||||||
|
|
||||||
if (!session->isdn_active) {
|
if (!session->isdn_active) {
|
||||||
/* we were asked to deactivate ISDN */
|
/* we were asked to deactivate ISDN */
|
||||||
activate_isdn_device(&session->isdn, 0);
|
activate_isdn_device(&session->isdn, 0);
|
||||||
|
|
Loading…
Reference in New Issue