summaryrefslogtreecommitdiffstats
path: root/lcradmin.c
diff options
context:
space:
mode:
authorAndreas Eversberg2010-05-23 13:46:26 +0200
committerAndreas Eversberg2010-05-23 13:46:26 +0200
commitbe404a4926ba076c5e2019b88e790e3f14ff11ff (patch)
tree4c2ac7cae02f5def823ac7bbdad5661f3b20d95f /lcradmin.c
parentFixed forwarding of sending-complete information. (diff)
downloadlcr-be404a4926ba076c5e2019b88e790e3f14ff11ff.tar.gz
lcr-be404a4926ba076c5e2019b88e790e3f14ff11ff.tar.xz
lcr-be404a4926ba076c5e2019b88e790e3f14ff11ff.zip
Added Progress messages. (receive only)
Diffstat (limited to 'lcradmin.c')
-rw-r--r--lcradmin.c6
1 files changed, 5 insertions, 1 deletions
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: