Content
This callback returns number of calls. It can be filtered using parameter lines.
Valid arguments: connected, offered, offhook, auto_redial, holding, ringing, calling, invalid, on_hold, closed, ringback.
When no argument is given, the callback will give the sum of lines in various states.
To test the following example, it is recommended to have some active calls.
<?xml version="1.0" encoding="UTF-8"?> <SnomIPPhoneText> <Text> $(lines):no argument<br/> $(lines:connected):connected<br/> $(lines:holding):holding<br/> $(lines:on_hold):on_hold<br/> $(lines:offered):offered<br/> $(lines:ringing):ringing<br/> $(lines:closed):closed<br/> $(lines:offhook):offhook<br/> $(lines:calling):calling<br/> $(lines:ringback):ringback<br/> $(lines:auto_redial):auto_redial<br/> $(lines:invalid):invalid </Text> </SnomIPPhoneText>
Example result during an active call:
Further Information
Related articles