[asterisk-dev] Changing Order of Preferences of Codecs in sip.conf

Kevin P. Fleming kpfleming at digium.com
Wed Aug 9 05:34:04 MST 2006


----- Chan Kwang Mien <kwangmien at asgent-tech.com> wrote:
> I am thinking of solving this problem by first determining the
> Callee's 
> codec when Asterisk receives a call from the
> Caller. The codecs of the Callees could be stored in a Database.

This is impossible. The Callee is not known when the call from the Caller is received, since the Caller's call has not even entered the dialplan yet and the dialplan determines who the Callee is going to be. In fact, there could be multiple Callees, with different codec settings.

-- 
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.




More information about the asterisk-dev mailing list