beautypg.com

Attribute state – Grandstream GXP21xx XML Application Guide User Manual

Page 34

background image

FIRMWARE VERSION 1.0.4.23 GXP21xx XML APPLICATION GUIDE Page 34 of 36

ATTRIBUTE state

Attribute state is used for element. This attribute is mandatory.

state

Details

callStateStarted

When phone is switching to call state (e.g., offhook to dialing

state, or an incoming phone call) from idle

callStateEnded

When phone is switching to idle from call state

resumeFromCallEnded

Resume XML application from Call Ended state

resumeFromCallConnected

Resume XML application from Call Connected state

resumeFromCallFailed

Resume XML application from Call Failed state

resumeFromCallOnhold

Resume XML application from Call On Hold state

resumeFromCallRinging

Resume XML application from Call Ringing state

onhook

When phone is onhook

offhook

When phone is offhook