I also just tried adding this:

 same => n,Set(SIP_CODEC_INBOUND=g722)

On Sat, Jun 16, 2018 at 4:36 PM David P <davidswalkab...@gmail.com> wrote:

> We want to record inbound channels at 16kHz, but send only 8kHz to our
> peers. I've set our default profile in sip.conf to disallow all but g722,
> and the peers disallow all but ulaw. We have a proxy in front of Asterisk
> that is configured to disallow all but G722 also.
>
> My test calls show inbound to the proxy is recorded at 16kHz, inbound in
> Asterisk is only 8kHz, and the peers receive 8kHz. So the only thing not
> working is Asterisk's sampling rate on inbound, and it seems to be
> downsampling.
>
> After a lot of web searching, I can't find any explanation of why we're
> not getting 16kHz for G722. We're using Asterisk 14.7.6.
>
> Cheers,
> David
>
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to