mgcp_client_test: also verify received conn_id

Include the parsed conn_id in the response cb printout to verify them in
mgcp_client_test.ok.

Change-Id: I6b9b18d4d0867febd75a4d29f8a2fcdf0553ae4c
This commit is contained in:
Neels Hofmeyr 2018-09-03 21:12:48 +02:00
parent b1bb1fa187
commit 40f5033cf9
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ void test_response_cb(struct mgcp_response *response, void *priv)
printf("response cb received:\n");
printf(" head.response_code = %d\n", response->head.response_code);
printf(" head.trans_id = %u\n", response->head.trans_id);
printf(" head.conn_id = %s\n", response->head.conn_id);
printf(" head.comment = %s\n", response->head.comment);
printf(" audio_port = %u\n", response->audio_port);
printf(" audio_ip = %s\n", response->audio_ip);

View File

@ -27,6 +27,7 @@ a=ptime:20
response cb received:
head.response_code = 200
head.trans_id = 1
head.conn_id = 1
head.comment = OK
audio_port = 16002
audio_ip = 10.9.1.120