[Home]

Summary:ASTERISK-06185: Make ${SIP_CODEC} or equivalent readable
Reporter:Dan Hollis (bani)Labels:
Date Opened:2006-01-24 17:02:08.000-0600Date Closed:2011-06-07 14:10:29
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:You can set ${SIP_CODEC} but you cannot read it. Being able to read the codec would be useful for routing calls based on codec cost (bandwidth, cpu, or otherwise).

Something like ${CODEC} would be useful as it would apply for IAX, SIP, or anything else.
Comments:By: Olle Johansson (oej) 2006-01-25 01:31:48.000-0600

this would have to be added to the SIPCHANINFO function

By: Dan Hollis (bani) 2006-01-25 03:05:35.000-0600

hopefully it would be available for other channels as well eg iax, skinny etc.

By: Kevin P. Fleming (kpfleming) 2006-02-14 16:00:34.000-0600

SVN trunk now has a CHANNEL() dialplan function that exposes this information and much more.