From the dial plan, how do you get the number of calls a PJSIP endpoint is involved in without using GROUP/GROUP_COUNT functions
GROUP/GROUP_COUNT are fine but as they require me to consistently use them all over the dialplan, alternatives are welcome.
My first thoughts were to look for chan_sip/curcalls equivalent but I haven’t find a PJSIP equivalent. Did I miss somethings
Then, I can play with with CHANNELS output but it doesn’t please me either.
What would you suggest ?