From be404a4926ba076c5e2019b88e790e3f14ff11ff Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 23 May 2010 13:46:26 +0200 Subject: Added Progress messages. (receive only) --- lcradmin.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lcradmin.c') diff --git a/lcradmin.c b/lcradmin.c index c7691ee..882105b 100644 --- a/lcradmin.c +++ b/lcradmin.c @@ -1579,7 +1579,11 @@ next: goto next; case ADMIN_CALL_NOTIFY: - printf("NOTIFY\n notify=%d\n number=%s\n", msg.u.call.notify, msg.u.call.callerid); fflush(stdout); + printf("NOTIFY\n notify=%d\n number=%s\n", msg.u.call.notify_progress, msg.u.call.callerid); fflush(stdout); + goto next; + + case ADMIN_CALL_PROGRESS: + printf("PROGRESS\n progress=%d\n location=%d\n", msg.u.call.notify_progress, msg.u.call.location); fflush(stdout); goto next; case ADMIN_CALL_DISCONNECT: -- cgit v1.2.3-55-g7522