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
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: