updated API with new properties for voip_carriers that require outbound registration

This commit is contained in:
Dave Horton
2020-12-11 10:34:34 -05:00
parent c578757dd2
commit 484fa7841a
5 changed files with 68 additions and 14 deletions
+5 -1
View File
@@ -50,7 +50,11 @@ test('voip carrier tests', async(t) => {
json: true,
resolveWithFullResponse: true,
body: {
name: 'robb'
name: 'robb',
requires_register: true,
register_username: 'foo',
register_sip_realm: 'bar',
register_password: 'baz'
}
});
t.ok(result.statusCode === 204, 'successfully updated voip carrier');