Page tree

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"?>
        $(lines):no argument<br/>

Example result during an active call: