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