aboutsummaryrefslogtreecommitdiffstats
path: root/src/anetz/anetz.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2016-07-20 11:58:12 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2016-07-24 12:31:07 +0200
commit4745b291158fd5b10255f5cb18fed838c2125af0 (patch)
tree5ad44b8852287010b7eb230709b85ae84151b333 /src/anetz/anetz.c
parentba8bf0e9d535f1c9a4848a243ac1d5c700fbb3e6 (diff)
NMT: Caller ID support
Diffstat (limited to 'src/anetz/anetz.c')
-rw-r--r--src/anetz/anetz.c4
1 files changed, 2 insertions, 2 deletions
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;