From 4745b291158fd5b10255f5cb18fed838c2125af0 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Wed, 20 Jul 2016 11:58:12 +0200 Subject: NMT: Caller ID support --- src/anetz/anetz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/anetz/anetz.c') diff --git a/src/anetz/anetz.c b/src/anetz/anetz.c index 0024f42..72e29a0 100644 --- a/src/anetz/anetz.c +++ b/src/anetz/anetz.c @@ -274,7 +274,7 @@ void anetz_receive_tone(anetz_t *anetz, int tone) int rc; PDEBUG(DANETZ, DEBUG_INFO, "1750 Hz signal from mobile station is gone, setup call.\n"); - rc = call_in_setup(callref, anetz->station_id, "0"); + rc = call_in_setup(callref, "", "0"); if (rc < 0) { PDEBUG(DANETZ, DEBUG_NOTICE, "Call rejected (cause %d), sending release tone.\n", -rc); anetz_release(anetz); @@ -331,7 +331,7 @@ static void anetz_timeout(struct timer *timer) } /* Call control starts call towards mobile station. */ -int call_out_setup(int callref, char *dialing) +int call_out_setup(int callref, const char *caller_id, enum number_type caller_type, const char *dialing) { sender_t *sender; anetz_t *anetz; -- cgit v1.2.3