2 * transsip - the telephony toolkit
3 * By Daniel Borkmann <daniel@transsip.org>
4 * Copyright 2011, 2012 Daniel Borkmann <dborkma@tik.ee.ethz.ch>
5 * Subject to the GPL, version 2.
13 #define CALL_STATE_MACHINE_CHANGED 1
15 # define CALL_STATE_MACHINE_IDLE 0
16 # define CALL_STATE_MACHINE_CALLOUT 1
17 # define CALL_STATE_MACHINE_CALLIN 2
18 # define CALL_STATE_MACHINE_SPEAKING 3
20 extern void init_call_notifier(void);
21 extern int register_call_notifier(struct event_block
*block
);
22 extern int register_call_notifier_once(struct event_block
*block
);
23 extern int unregister_call_notifier(struct event_block
*block
);
24 extern int call_notifier_exec(unsigned long event
, const void *arg
);