X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=lcradmin.c;h=2483a9bc42977c7d7fe40d9ef609b97b85c60f2a;hp=c7691ee9a5df6f81904c0b92fea0733d9a42ba7d;hb=e9dd99a40139791057444e745591e3568b34a445;hpb=8bb49ccb7b3eba0a3f20d3b097541304b3580f70 diff --git a/lcradmin.c b/lcradmin.c index c7691ee..2483a9b 100644 --- a/lcradmin.c +++ b/lcradmin.c @@ -1301,6 +1301,8 @@ const char *admin_portinfo(int sock, int argc, char *argv[]) else printf("\t status = unblocked\n"); printf("\t mode = %s %s%s%s\n", (m[i].u.i.ntmode)?"NT-mode":"TE-mode", (m[i].u.i.ptp)?"ptp":"ptmp", (m[i].u.i.l1hold)?" l1hold":"", (m[i].u.i.l2hold)?" l2hold":""); + printf("\t out-channel = %s\n", m[i].u.i.out_channel); + printf("\t in-channel = %s\n", m[i].u.i.in_channel); if (m[i].u.i.l1link < 0) printf("\t l1 link = unknown\n"); else @@ -1579,7 +1581,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: