summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-17 19:30:01 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-17 19:30:01 +0100
commit535fc124686c212be2ce6f1a646505a58879b190 (patch)
tree5ecfce28e01bda1bcfc3ed562a295d970ba5eae1 /test
parent67829d86c4c2d173807b532e97c09402415341c5 (diff)
call: add call_id accessor
Diffstat (limited to 'test')
-rw-r--r--test/call.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/call.c b/test/call.c
index 34c5fd5..73f3ebd 100644
--- a/test/call.c
+++ b/test/call.c
@@ -176,6 +176,8 @@ static void event_handler(struct ua *ua, enum ua_event ev,
case UA_EVENT_CALL_ESTABLISHED:
++ag->n_established;
+ ASSERT_TRUE(str_isset(call_id(call)));
+
/* are both agents established? */
if (ag->n_established >= f->exp_estab &&
ag->peer->n_established >= f->exp_estab) {