summaryrefslogtreecommitdiff
path: root/modules/dtmfio/dtmfio.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/dtmfio/dtmfio.c')
-rw-r--r--modules/dtmfio/dtmfio.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/dtmfio/dtmfio.c b/modules/dtmfio/dtmfio.c
index 10fdf43..5d9534c 100644
--- a/modules/dtmfio/dtmfio.c
+++ b/modules/dtmfio/dtmfio.c
@@ -65,6 +65,9 @@ static const char *DTMF_OUT = "/tmp/dtmf.out";
static void dtmf_handler(struct call *call, char key, void *arg)
{
+ (void)call;
+ (void)arg;
+
if ( key != 0 ) {
fprintf(fd, "%c", key);
fflush(fd);
@@ -78,6 +81,10 @@ static void ua_event_handler(struct ua *ua,
const char *prm,
void *arg )
{
+ (void)ua;
+ (void)prm;
+ (void)arg;
+
if ( ev == UA_EVENT_CALL_ESTABLISHED ) {
fprintf(fd, "E");
fflush(fd);
@@ -88,8 +95,6 @@ static void ua_event_handler(struct ua *ua,
fprintf(fd, "F");
fflush(fd);
}
-
- return;
}