Score:0

asterisk - what's difference between format_* and codec_*?

cn flag

When building Asterisk, there is two different entities related to audio formats - formats and codecs. What's difference?

For example, I need a support only for alaw+ulaw+g.729 on voice traffic itself, and only plain wav + mp3 for announces and other sounds played to subscribers. What modules should I enable?

Thanks.

Score:0
za flag

format_ are modules for working with mediafiles, and codec_* are modules for transcoding human speech.

In general, if we're talking modules, you should enable all codec_ and format_ modules that you have (and then you will enforce the needed codecs via peer configs), because when not used - they basically do nothing. The modules that you shouldn't enable in a bunch are various app_, cel_, cdr_, pbx_ and res_ that you don't use (because these are doing much of unneeded stuff when loaded but not enabled); but you want to have the widest compatibility with incoming/outgoing speech codecs along with on-disk mediafiles formants that you can provide.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.