lines callback #
Demo
Returns number of calls. Can be filtered with parameter lines:connected. valid argument: connected, offered, offhook, auto_redial, holding, ringing, calling, invalid, on_hold, closed, ringback.
Example: Show all the number of lines in various state. When no argument given, the callback will give the sum of lines in various state
<?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/><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>