[asterisk-users] what codec is sip using?

sean darcy seandarcy2 at gmail.com
Thu Sep 18 22:32:45 CDT 2008


David Gibbons wrote:
> Sean,
> 
> Try 'sip show channels' or 'sip show channel <channelid>' for the drill down. I believe the codec in use will be displayed with either command.
> 
> Dave

Thanks that worked. Now how do I get it show the codec when I'm not at 
the CLI?

sean
> ________________________________________
> From: asterisk-users-bounces at lists.digium.com [asterisk-users-bounces at lists.digium.com] On Behalf Of sean darcy [seandarcy2 at gmail.com]
> Sent: Thursday, September 18, 2008 10:49 PM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] what codec is sip using?
> 
> If you use iax, the console will tell you what codec is being used.
> 
> But for sip, nothing is shown. With sip debug on, I get:
> 
> Capabilities: us - 0x130e (gsm|ulaw|alaw|g729|speex|g722), peer -
> audio=0x100e (gsm|ulaw|alaw|g722)/video=0x0 (nothing)/text=0x0
> (nothing), combined - 0x100e (gsm|ulaw|alaw|g722)
> 
> but I don't see anything that shows which codec was used.
> 
> How do I find out?
> 
> sean
> 
> 
> _______________________________________________
> -- 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
> 
> _______________________________________________
> -- 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
> 




More information about the asterisk-users mailing list