Update PBX Call Settings
This request changes call settings attributes.
Resource
PATCH /server/pbx
Parameters
None
Payload
Fields
Name | Patch Operations |
---|---|
asteriskTransferEnabled |
|
recordingRetentionDays |
|
savedRecordingRetentionDays |
|
doNotRecordInternalCalls |
|
disableDeleteRecording |
|
enablePauseCallRecording |
|
hideCallsOverview |
|
blindTransferSPhoneDisabled |
|
twinThroughSoftphone |
|
callInfoFormat |
|
callParkingTime |
|
maxActiveChannels |
|
externalChannelsLimited |
|
internalChannelsLimited |
|
reservedIncomingChannelsCount |
|
testNumber |
|
voicemailMenuNumber |
|
vmMenuSkipPhoneNumber |
|
vmMenuSkipMsgAnnouncement |
|
vmMenuMsgDateFormat |
|
callPickupCode |
|
callForwardingNumber |
|
pbxCallInitiationDisabled |
|
appCallApiDisabled |
|
appCallSipDisabled |
|
appCallDirectDisabled |
|
dialWithoutConfirmation |
|
defaultCallStrategy |
|
defaultMusicOnHoldCategory |
|
isPickupVisible |
|
pickupVisibleTime |
|
trafficClasses |
|
localCallForwardingNumber |
|
Master Tenant Fields
Name | Patch Operations |
---|---|
noDirectTenantDial |
|
Response
None
Context
Authorization |
Administrator |
Errors
Example
PATCH https://xelion.nl/api/v1/master/server/pbx
replace a call setting direct member
{
"operations": [
{
"op": "replace",
"path": "/testNumber",
"value": "600"
}
]
}
add new traffic class to the call settings, first add a path with a virtual id '1' and insert the oid of the traffic class as value
{
"operations": [
{
"op": "add",
"path": "/trafficClasses/1",
"value": "1756113"
}
]
}
remove a traffic class from the call settings, <OID> is the oid of the XCCTrafficClassDefaults relation object
{
"operations": [
{
"op": "remove",
"path": "/trafficClasses/321443"
}
]
}