[asterisk-dev] [channel] get the other peer codec

Aurele Traynard aurele.traynard at gmail.com
Tue Nov 22 03:33:52 CST 2016


that's why I couldn't find how... sory for the misunderstanding

thank you Joshua,
Aurèle

2016-11-21 16:18 GMT+01:00 Joshua Colp <jcolp at digium.com>:

> On Mon, Nov 21, 2016, at 11:16 AM, Aurele Traynard wrote:
> > thanks for your answer
> > "set your nativeformats to the negotiated codecs and let Asterisk do the
> > rest." would be great for me but I could not find how to do this
> > if transcode is not allowed and one of my codec is compatible with the
> > other side codec I would like to know which codec it is and then set my
> > nativeformats... i don't care about the phase my channel (and the
> > middleware/hardware managed) is flexible.
>
> This is not currently possible. Each side is independently negotiated
> and like I said there is no way to receive this information or to safely
> query the information.
>
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20161122/65ea0c6b/attachment.html>


More information about the asterisk-dev mailing list