Hello,
>From http://www.voip-info.org/wiki/view/Asterisk+func+sippeer I understood I
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
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users