Hello,<br><br>For each incoming or outgoing call, sip hardphones I'm using, turn BLF on and off like this:<br>the first call (after leaving idle status) turns 1st BLF on,<br>the second one turns 2nd BLF and so on,<br>when a call is hanged, its BLF is turn off.
<br><br>My first question is : do you think such behaviour is general ?<br><br>My 2nd question is : using AMI, how can I tell for a given extension :<br>1. the number of ongoing calls (both incoming or outgoing ones),<br>
2. classify them by time of creation (so that I can be somehow be certain to tie each call with each BLF)<br><br>I've seen AMI ExtensionState Action (<a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+ExtensionState">
http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+ExtensionState</a>) but it won't tell the number of calls.<br><br>To complete my request, I must add that when I'm requesting an extension ongoing calls listing, I haven't previously issued any request asking Asterisk to notify calls events for that extension.
<br><br>Any hint ?<br><br>Cheers<br>