diff --git a/t/auto-daemon-tests-pubsub.pl b/t/auto-daemon-tests-pubsub.pl index f3cc5ab69..274cd0bf9 100755 --- a/t/auto-daemon-tests-pubsub.pl +++ b/t/auto-daemon-tests-pubsub.pl @@ -29,6 +29,133 @@ use_json(1); +new_call; + +offer('a=mid collision', { }, < '1', flags => ['SIPREC', 'all'] }, <{response}); is($resp->{interfaces}[0]{name}, 'default', 'intf found'); is($resp->{interfaces}[0]{address}, '203.0.113.1', 'address found'); -is($resp->{interfaces}[0]{ports}{used}, 184, 'port usage'); +is($resp->{interfaces}[0]{ports}{used}, 192, 'port usage'); is($resp->{interfaces}[1]{name}, 'default', 'intf found'); is($resp->{interfaces}[1]{address}, '2001:db8:4321::1', 'address found'); is($resp->{interfaces}[1]{ports}{used}, 2, 'port usage');