if REFER from FS has a hostname in the Refer-To preserve it on the outbound REFER

This commit is contained in:
Dave Horton
2022-11-28 12:29:58 -05:00
parent ebcd0ce4a2
commit c4d4d7bc0a
2 changed files with 4 additions and 3 deletions

View File

@@ -60,6 +60,7 @@ test('incoming call tests', async(t) => {
await sippUac('uac-pcap-carrier-max-call-limit.xml', '172.38.0.20');
t.pass('rejects incoming call with 503 when max calls per account reached');
/* switch off this env for remaining tests (JAMBONES_HOSTING is for Saas sts) */
delete process.env.JAMBONES_HOSTING;
await sippUac('uac-pcap-carrier-fail-ambiguous.xml', '172.38.0.40');
t.pass('rejects incoming call with 503 when multiple accounts have same carrier witrh default routing')