Find Out Or Log Negotiated Codec For SIP Channel?
Hi, despite some searching I haven’t found an answer to this question:
Is there a way I can see in the log, or find out in the dialplan, what codec has been negotiated for a SIP channel? If possible, I’d like to do this in both Asterisk 11 and in an old 1.2 system.
What I’m specifically trying to do is to determine historically the usage of the G.729 licences installed in a system, but an answer to the more general question would be useful.
Thanks Tony
One thought on - Find Out Or Log Negotiated Codec For SIP Channel?
I believe “core show channel” or “sip show channel ” may help you.
From a log standpoint – there should be information on the codecs negotiated when you enable the DEBUG logger channel.
You probably want to read through the logging documentation on the wiki.
https://wiki.asterisk.org/wiki/display/AST/Logging https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
Thanks,