What is New in API 2.0
This topic describes what is new in 2.0 based on 1.0.
New interface
- Added support for the following conference interfaces:
- Query conference (conference/query)
- Query instant conference (instant_conference/query)
- Query in-session conference (conference/query_in_session)
- Edit conference (conference/update)
- Invite conference members (conference/add_member)
- Kick conference members (conference/kick_member)
- Mute or unmute conference members (conference/mute & conference/unmute)
- Added an interface to invite a member to a call (call/add_member)
Interface unification and optimization
- Interface unification
-
Unify the request URL of the following interfaces.
API 1.0 API 2.0 Unify call establishment interface extension/dial_extension call/dial extension/dial_outbound ivr/dial_extension ivr/dial_outbound queue/dial_outbound ringgroup/dial_outbound outbound/dial_outbound Unify prompt playback interface extension/playprompt call/playprompt outbound/playprompt extension/dial_number Unify call hangup interface extension/hangup call/hungup inbound/hangup outbound/hangup Unify call query interface inbound/query call/query outbound/query Unify call transfer interface calltransfer call/attended_transfer call/attended_transfer_operate
inbound/transfer_number outbound/transfer_number Unify call monitor interface extension/listen call/listen extension/whisper extension/barge
- Interface optimization
-
- Optimized prompt hangup interface:
Changed the request URL from
paginggroup/hangup_music
topaginggroup/hangup/music
. - Optimized call refuse interface: Changed the request URL from
inbound/refuse
tocall/refuse_inbound
. - Optimized call accept interface: Changed the request URL from
inbound/accept
tocall/accept_inbound
. - Optimized call mute and call unmute interfaces:
- Call mute: Changed the request URL from
extension/mute
tocall/mute
. - Call unmute: Changed the request URL from
extension/unmute
tocall/unmute
.
- Call mute: Changed the request URL from
- Optimized call hold and call resume interfaces:
- Call hold: Changed the request URL from
extension/hold
tocall/hold
. - Call resume: Changed the request URL from
extension/unhold
tocall/unhold
.
- Call hold: Changed the request URL from
- Optimized CDR download interfaces: Changed the request parameter
from
extid
tonumber
. - Optimized hotel interfaces: Changed the request parameter from
extid
tonumber
. - Optimized voicemail interfaces: Changed the request parameter from
extid
tonumber
. - Optimized paging group interfaces:
- Changed the request parameter from
extid
tonumber
. - Deleted
id
from request parameters and response parameters. - Query paging group list: Changed the request URL from
paginggrouplist/query
topaginggroup/list
.
- Changed the request parameter from
- Optimized queue interfaces:
- Changed the request parameter from
extid
toextnumber
. - Changed the request parameter from
queueid
toqueuenumber
. - Queue logout: Changed request URL from
queue/del_dynamicagent
toqueue/delete_dynamicagent
. - Queue query: Changed the request URL from
queuestatus
toqueue/query_status
. - Queue update: Removed
queueid
from the request parameters. - Queue settings query: Removed
queueid
from response parameters.
- Changed the request parameter from
- Optimized IVR interfaces:
- IVR query: Changed the request parameter from
ivrid
tonumber
; changed the response parameter fromivrnumber
tonumber
. - IVR settings update: Removed
ivrid
from request parameters; changed the request parameter fromivrnumber
tonumber
.
- IVR query: Changed the request parameter from
- Optimized trunk interfaces:
- Trunk list query: Changed the request URL from
trunklist/query
totrunk/list
; addedid
to response parameters. - Trunk settings query: Changed the request URL from
siptrunk/query
totrunk/query_siptrunk
; removedtrunkname
from request parameters. - SIP trunk creation: Changed the request URL from
siptrunk/add
totrunk/add_siptrunk
; addedid
to response parameters. - SIP trunk edit: Changed the request URL from
siptrunk/update
totrunk/update_siptrunk
. - SIP trunk deletion: Changed the request URL from
siptrunk/updat
totrunk/delete_siptrunk
; removedtrunkname
from request parameters.
- Trunk list query: Changed the request URL from
- Optimized extension interfaces:
- Extension list query: Changed the request URL from
extensionlist
toextension/list
; changed the response parameter fromextnumber
tonumber
. - Extension settings query: Changed the request parameter from
extid
tonumber
; changed the response parameter fromextnumber
tonumber
. - Extension settings update: Removed
extid
from request parameters; changed the request parameter fromextnumber
tonumber
.
- Extension list query: Changed the request URL from
- Optimized interfaces of inbound route and outbound route:
- Changed the request parameter from
name
toid
. - Inbound route and Outbound route creation: Added
id
to response parameters.
- Changed the request parameter from
- Optimized prompt hangup interface:
Changed the request URL from
API events
- Added support for sending a TCP report by keep-alive TCP flows.
- Changed the format of the following reports:
- Invite
- Incoming
- CallFailed
- PlayPromptEnd
- Transfer
- Forward
- ConferenceStatus