Re: [asterisk-users] Logging codec used in CDR

2010-07-09 Thread Philipp von Klitzing
Hi! > Is there a way to log the negotiated codec that was used for each call > in CDR or in a separate log file? Use CHANNEL(audionativeformat) - and do the same with the help of the M option to Dial() for the remote call leg. Store that info in the CDR "userfield", or create your own field if

[asterisk-users] Logging codec used in CDR

2010-07-09 Thread Steve Johnson
Happy Friday everyone, Is there a way to log the negotiated codec that was used for each call in CDR or in a separate log file? This is for SIP-based calls, if that matters. Perhaps there is some variable that can be queried as part of the dialing script; Or is it possible to grab the codec name