tests: dial a documentation-style number in the CODECS offer scenario
This commit is contained in:
parent
37ec8660b7
commit
c5cba2e7ff
1 changed files with 1 additions and 1 deletions
|
|
@ -820,7 +820,7 @@ int main() {
|
||||||
// list names (G.711 = a landline-shaped offer toward the network)
|
// list names (G.711 = a landline-shaped offer toward the network)
|
||||||
{
|
{
|
||||||
imsd::util::Rng rng(54);
|
imsd::util::Rng rng(54);
|
||||||
CallMachine m(c, rng, "ims-call-23", "0783690354", 50004, false, false, {"PCMA", "PCMU"});
|
CallMachine m(c, rng, "ims-call-23", "0101234567", 50004, false, false, {"PCMA", "PCMU"});
|
||||||
auto start = m.Start();
|
auto start = m.Start();
|
||||||
const Action* inv = Sent(start, "INVITE ");
|
const Action* inv = Sent(start, "INVITE ");
|
||||||
Check(inv && inv->text.contains("m=audio 50004 RTP/AVP 8 0 100\r\n"), "CODECS=PCMA,PCMU: INVITE offers G.711 only");
|
Check(inv && inv->text.contains("m=audio 50004 RTP/AVP 8 0 100\r\n"), "CODECS=PCMA,PCMU: INVITE offers G.711 only");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue