So I did a little more digging and found a real simple answer:
${CHANNEL(audionativeformat)}
tells me 'ulaw' or 'siren14' and lets me pick the right file extension
for the record function.
On Tue, Sep 13, 2011 at 5:19 PM, Tom Browning ttbrown...@gmail.com wrote:
Sorry if this is an obvious
Sorry if this is an obvious question and perhaps my Google foo isn't
right on this one:
I have calls coming into an Asterisk server that may be using 2
different codecs. I am recording audio in both cases but the
challenge is knowing which codec was negotiated at call setup. I need
to pass the
:19 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Determine negotiated codec in script
Sorry if this is an obvious question and perhaps my Google foo isn't right
on this one:
I have calls coming into an Asterisk server that may be using 2 different
codecs