Given I am
authenticated as
Admin
and there
is a Pbx Group with name
Pbx1
And
there is a Sip Server with:
- ID: 100
- name: sipServerName
- externalIp: 192.168.1.1
- externalIp: 192.168.1.2
- location: Location
- pbxGroup with name Pbx1
- description: 4xE5504-2GHZ;4GB
- partition: P01
- maxSubscribers: 1000
- maxSubscribers: 500
When I send
/api/sip-servers/100
Then I should receive
HTTP/1.1 200 OK
with body:
{
"href": "/api/sip-servers/100",
"links": [{
"rel": "pbxGroup",
"href": "/api/pbx-groups/Pbx1"
}, {
"rel": "availablePbxGroup",
"href": "/api/pbx-groups"
}],
"data": [{
"name": "name",
"value": "sipServerName"
}, {
"name": "externalIp",
"value": "192.168.1.1"
}, {
"name": "internalIp",
"value": "192.168.1.2"
}, {
"name": "maxSubscribers",
"value": 1000
}, {
"name": "subscribersLimit",
"value": 500
}, {
"name": "location",
"value": "Location"
}, {
"name": "partition",
"value": "P01"
}, {
"name": "description",
"value": "4xE5504-2GHZ;4GB"
}]
}