ListExtensionTypes
The ListExtensionTypes command lists available extension types in the system. It is useful for GetConfig and ListExtensions commands to specify the extension type.
Example HTTP request:
http://192.168.115.131:7780/?command=ListExtensionTypes
Example HTTP response:
<?xml version="1.0"?> <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Code>200 <Message>Command successfully executed</Message> <ExtensionTypes> <Type>ConferenceRoom</Type> <Type>SQLAuthenticator</Type> <Type>SQLLogger</Type> <Type>SQLReporter</Type> <Type>SQLSMS</Type> <Type>SQL</Type> <Type>EchoSoundTest</Type> <Type>EmailService</Type> <Type>ExeLauncher</Type> <Type>ISDNProvider</Type> <Type>APIExtension</Type> <Type>RingingGroup</Type> <Type>SIP</Type> <Type>PSTNDevice</Type> <Type>SMPPConnection</Type> <Type>SMSModem</Type> <Type>Voicemail</Type> <Type>VoIPProvider</Type> <Type>ChatConsole</Type> <Type>Webphone</Type> </ExtensionTypes> </Response>
Request parameters
Parameter name | Value | Description | Mandatory |
command | string value, ListExtensionTypes | Specifies the type of the HTTP API command. | Yes |
These parameters are only required if office user authentication is set in the HTTP API: | |||
Parameter name | Value | Description | |
Username | string value, e.g. user1000 |
This is the username of an Ozeki Phone System office user. | |
Password | string value, e.g. mypassword12 |
This is the password belonging to the username. |
Response parameters
Parameter name | Value | Description |
Code | int value (200, 300, 301, 302, 303) |
Returns the status code of the response. For more infromation go to the status code reference page |
Message | string value, e.g. Command successfully executed |
Returns the description of the response code. For more infromation go to the status code reference page |
ExtensionTypes | string value, e.g. <Type>SIP</Type> |
Returns the available extension types in <Type>extension type</Type> format. |
More information
- ListActiveCalls HTTP API command of Ozeki Phone System PBX
- Call HTTP API command of Ozeki Phone System PBX
- Forward HTTP API command of Ozeki Phone System PBX
- Hold HTTP API command of Ozeki Phone System PBX
- Unhold HTTP API command of Ozeki Phone System PBX
- BlindTransfer HTTP API command of Ozeki Phone System PBX
- AttendedTransfer HTTP API command of Ozeki Phone System PBX
- SendDTMF HTTP API command of Ozeki Phone System PBX
- Play HTTP API command of Ozeki Phone System PBX
- Speak HTTP API command of Ozeki Phone System PBX
- SendSMS HTTP API command of Ozeki Phone System PBX
- Hangup HTTP API command of Ozeki Phone System PBX
- AddConfig HTTP API command of Ozeki Phone System PBX
- GetConfig HTTP API command of Ozeki Phone System PBX
- ListExtensions HTTP API command of Ozeki Phone System PBX
- ListExtensionTypes HTTP API command of Ozeki Phone System PBX
- ModifyConfig HTTP API command of Ozeki Phone System PBX
- RemoveConfig HTTP API command of Ozeki Phone System PBX
- SendEmail HTTP API command of Ozeki Phone System PBX
- Record HTTP API command of Ozeki Phone System PBX
- GetCallHistory HTTP API command of Ozeki Phone System PBX