How can I check if a channel is active or not?


#1

How can I check if a channel is active or not?

Is there also a way of monitoring the active calls on the channel?


#2

[quote=“obelix”]How can I check if a channel is active or not?

Is there also a way of monitoring the active calls on the channel?[/quote]

show channels
sip show channels


#3

Also available via the Manager API and ChanIsAvail if you are looking to do this programatically.


#4

In fact I am more interested in limiting the number of outbound calls through a particular terminators account.

eg if 8 calls are going through provider A 's account, skip that account and use provider Bs instead.

Is there a way of doing this, either via AGI or manager API or something?