Updated the copyright line

This commit is contained in:
Pierre Pronchery 2014-10-21 00:06:02 +02:00
parent 2b912aa96d
commit dc19ff6675
3 changed files with 5 additions and 2 deletions

View File

@ -59,7 +59,8 @@ typedef enum _ModemCallStatus
{ {
MODEM_CALL_STATUS_NONE = 0, MODEM_CALL_STATUS_NONE = 0,
MODEM_CALL_STATUS_RINGING, MODEM_CALL_STATUS_RINGING,
MODEM_CALL_STATUS_ACTIVE MODEM_CALL_STATUS_ACTIVE,
MODEM_CALL_STATUS_BUSY
} ModemCallStatus; } ModemCallStatus;
typedef enum _ModemCallType typedef enum _ModemCallType

View File

@ -1,5 +1,5 @@
/* $Id$ */ /* $Id$ */
/* Copyright (c) 2012 Pierre Pronchery <khorben@defora.org> */ /* Copyright (c) 2012-2014 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Desktop Phone */ /* This file is part of DeforaOS Desktop Phone */
/* This program is free software: you can redistribute it and/or modify /* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -225,6 +225,8 @@ static int _event_modem_event(Profiles * profiles, ModemEvent * event)
else if(direction == MODEM_CALL_DIRECTION_OUTGOING else if(direction == MODEM_CALL_DIRECTION_OUTGOING
&& status == MODEM_CALL_STATUS_RINGING) && status == MODEM_CALL_STATUS_RINGING)
_profiles_play(profiles, "ringback", 0); _profiles_play(profiles, "ringback", 0);
else if(status == MODEM_CALL_STATUS_BUSY)
_profiles_play(profiles, "busy", 0);
else if(status == MODEM_CALL_STATUS_NONE else if(status == MODEM_CALL_STATUS_NONE
|| status == MODEM_CALL_STATUS_ACTIVE) || status == MODEM_CALL_STATUS_ACTIVE)
_profiles_play(profiles, NULL, 0); _profiles_play(profiles, NULL, 0);