From 5a33dee41322a3b25a88ce67f28f20caa0f07bfc Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 2 Sep 2020 14:51:53 -0400 Subject: [PATCH] TT#91003 add tests for extra AMR options Change-Id: I61515f8282f434f461147e05dca6f0d6ce65674d --- t/auto-daemon-tests.pl | 248 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 247 insertions(+), 1 deletion(-) diff --git a/t/auto-daemon-tests.pl b/t/auto-daemon-tests.pl index 2aa14889f..bf2d7bd6f 100755 --- a/t/auto-daemon-tests.pl +++ b/t/auto-daemon-tests.pl @@ -553,8 +553,254 @@ snd($sock_b, $port_a, rtp(8, 1003, 3480, 0x1234, "\x00" x 160)); rcv($sock_a, $port_b, rtpm(96, 1002, 3560, $ssrc, "\xf0\x0c\x54\x01\x1e\x01\x14\x6c\xb0\x53\xa3\x87\x8d\x76\x75\xd0\x30\x76\x70\x10\x24\x6a\x10\x62\x00")); -} +($sock_a, $sock_b) = new_call([qw(198.51.100.10 3028)], [qw(198.51.100.10 3030)]); + +($port_a) = offer('mode-change-neighbor', + { ICE => 'remove', replace => ['origin'], codec => { transcode => ['PCMA'], + 'set' => ['AMR-WB/16000/1/23850'] } }, < 'remove', replace => ['origin'] }, < 'remove', replace => ['origin'], codec => { transcode => ['PCMA'], + 'set' => ['AMR-WB/16000/1/6600'] } }, < 'remove', replace => ['origin'] }, < 'remove', replace => ['origin'], codec => { transcode => ['PCMA'], + 'set' => ['AMR-WB/16000/1////CMR-interval=200'] } }, < 'remove', replace => ['origin'] }, <