diff --git a/t/auto-daemon-tests-moh.pl b/t/auto-daemon-tests-moh.pl index 0180b1878..b88b99d35 100644 --- a/t/auto-daemon-tests-moh.pl +++ b/t/auto-daemon-tests-moh.pl @@ -935,5 +935,143 @@ a=recvonly a=rtcp:PORT SDP +# test MoH for answerer with reflect + +($sock_a, $sock_b) = new_call([qw(198.51.100.1 33068)], [qw(198.51.100.3 33070)]); + +# declare that offerer is capable of moh +offer('Music on hold - answerer test, sendrecv, with reflect', { ICE => 'remove', DTLS => 'off', moh => { blob => $wav_file } }, < 'remove', moh => { 'db-id' => '123' } }, < 'remove', moh => { mode => 'reflect' }, DTLS => 'off' }, < 'remove' }, < 'remove', DTLS => 'off' }, < 'remove' }, <