[asterisk-users] How can I get codec info on active calls

Steve Edwards asterisk.org at sedwards.com
Fri Jan 8 19:15:45 CST 2010


On Fri, 8 Jan 2010, Landy Landy wrote:

> I would like to know what codec is being used during a call. For example 
> if I have 3 channels on 3 active calls how can I find what codec is 
> beeing used by each client?

How about something like:

 	asterisk -r -x "sip show channel blah-blah-blah at a.b.c.d"\
 		| grep Format

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list