mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2025-12-19 05:47:46 +00:00
Revert "feat send options ping for sip gateway (#273)"
This reverts commit a4792a521f.
This commit is contained in:
@@ -28,8 +28,7 @@ test('sip gateway tests', async(t) => {
|
||||
netmask: 32,
|
||||
inbound: true,
|
||||
outbound: true,
|
||||
protocol: 'tcp',
|
||||
send_options_ping: true,
|
||||
protocol: 'tcp'
|
||||
}
|
||||
});
|
||||
t.ok(result.statusCode === 201, 'successfully created sip gateway ');
|
||||
@@ -42,7 +41,6 @@ test('sip gateway tests', async(t) => {
|
||||
json: true,
|
||||
});
|
||||
t.ok(result.length === 1 , 'successfully queried all sip gateways');
|
||||
t.ok(result[0].send_options_ping === 1 , 'successfully queried all sip gateways');
|
||||
|
||||
/* query one sip gateway */
|
||||
result = await request.get(`/SipGateways/${sid}`, {
|
||||
|
||||
Reference in New Issue
Block a user