could use SIPPEER and curcalls parameter to get the number of ongoing calls
passed of received by a given peer.
Strangely, in my system, returned value remains equal to 0, even when the
targeted peer is oncall with another one.
exten => _753X,n,Set(foo=${SIPPEER(${EXTEN}:curcalls)})
exten => _753X,n,Set(foo2=${SIPPEER(${EXTEN}:limit)})
exten => _753X,n,NoOp(${foo} ${foo2})
Replies are 0 and 5.
Am I missing something ?
Cheers
------=_Part_81517_25248639.1222873051287
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<div dir="ltr">Hello,<br><br>From <a
href="http://www.voip-info.org/wiki/view/Asterisk+func+sippeer">http://www.voip-info.org/wiki/view/Asterisk+func+sippeer</a>
I understood I could use SIPPEER and curcalls parameter to get the number of
ongoing calls passed of received by a given peer.<br>
<br>Strangely, in my system, returned value remains equal to 0, even when
the targeted peer is oncall with another one.<br><br>exten =>
_753X,n,Set(foo=${SIPPEER(${EXTEN}:curcalls)})<br>exten =>
_753X,n,Set(foo2=${SIPPEER(${EXTEN}:limit)})<br>
exten => _753X,n,NoOp(${foo} ${foo2})<br><br>Replies are 0
and 5.<br><br>Am I missing something
?<br><br>Cheers<br><br></div>
------=_Part_81517_25248639.1222873051287--