Two features which may be interesting:
- The phone's onboard web server provides /CGI/StreamingStatisticsX, which is a snapshot of audio stream activity on the device. Your app can query this URL on the phone and determine if there is any audio activity. Note this URL requires user authentication.
- The CiscoIPPhoneExecute request supports the Priority attribute:
<CiscoIPPhoneExecute>
<ExecuteItem Priority=¿0¿ URL=¿Play:chime.raw¿/>
<ExecuteItem Priority=¿1¿ URL=¿http://server/textmessage.xml¿/>
</CiscoIPPhoneExecute> Which will 'queue' the HTTP URL request until any active call is finished (Priority=1). Note in the example above the Play: URI gets executed immediately (Priority is ignored for non-HTTP URLs) while the HTTP request is delayed.