Updated the copyright line
This commit is contained in:
parent
2b912aa96d
commit
dc19ff6675
|
@ -59,7 +59,8 @@ typedef enum _ModemCallStatus
|
|||
{
|
||||
MODEM_CALL_STATUS_NONE = 0,
|
||||
MODEM_CALL_STATUS_RINGING,
|
||||
MODEM_CALL_STATUS_ACTIVE
|
||||
MODEM_CALL_STATUS_ACTIVE,
|
||||
MODEM_CALL_STATUS_BUSY
|
||||
} ModemCallStatus;
|
||||
|
||||
typedef enum _ModemCallType
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* $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 program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -225,6 +225,8 @@ static int _event_modem_event(Profiles * profiles, ModemEvent * event)
|
|||
else if(direction == MODEM_CALL_DIRECTION_OUTGOING
|
||||
&& status == MODEM_CALL_STATUS_RINGING)
|
||||
_profiles_play(profiles, "ringback", 0);
|
||||
else if(status == MODEM_CALL_STATUS_BUSY)
|
||||
_profiles_play(profiles, "busy", 0);
|
||||
else if(status == MODEM_CALL_STATUS_NONE
|
||||
|| status == MODEM_CALL_STATUS_ACTIVE)
|
||||
_profiles_play(profiles, NULL, 0);
|
||||
|
|
Loading…
Reference in New Issue
Block a user