Codec Priority Order

Hello Guys,

Can I force asterisk to follow which codec priority order it should offer to my carrier ? I have in my pjsip.conf:

disallow = all
allow = alaw,g729,ulaw

then when I make a call I have this order in my invite:

image

I would like to have in my SDP the same order as I configured in pjsip.conf.

My asterisk version is: 18.14.0

Thank you in advanced.

As it says, the default is to use the A side order, to minimise the need for Asterisk to transcode.

If you are in an A-law country, you should make sure all your local devices prefer A-law, otherwise you will end up with a, very slightly lossy, unnecessary transcode.

Worked very well ! Thanks !

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.