[asterisk-dev] rtp data in an app question

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Aug 11 10:06:26 CDT 2009


On Tuesday 11 August 2009 09:13:15 Gallmeier, Jonathan wrote:
> Thanks. That makes more sense to me.
>
> Since I'm using a SIP interface, will setting the format via the
> ast_set_read_format() cause the SIP stack to re-negotiate the codec with
> the SIP phone? Or, will it simply insert a codec and translate the audio
> format by decoding and re-encoding? I'd rather re-negotiate the audio
> codec with the phone if possible.

Renegotiation of the codec is not a supported operation at this time.  When
you call that API, Asterisk sets up a transcoding path and hands you the codec
you requested.

-- 
Tilghman & Teryl
with Peter, Cottontail, Midnight, Thumper, & Johnny (bunnies)
and Harry, BB, & George (dogs)



More information about the asterisk-dev mailing list