[Asterisk-Dev] You can't really prioritise choice of codec, can you?

Olle E. Johansson oej at edvina.net
Tue May 18 23:47:48 MST 2004


Eric Wieling wrote:

> On Tue, 2004-05-18 at 14:54, Olle E. Johansson wrote:
> 
>>For SIP, we're only setting a codec preference order in the GENERAL section.
>>This is used when Asterisk dials SIP calls outbound to set the preference in
>>the SDP for the INVITE.
> 
> 
> Where in the Asterisk code is the codec order honored in [general] I
> can't find it.
> 

Look for sip_pref_append in chan_sip and you'll see we're building a linked
list.

I didn't believe this either a while ago :-)

/O



More information about the asterisk-dev mailing list