[Asterisk-Dev] conditional codec negotiation

Pavel Jezek pavel.jezek at i.cz
Thu May 26 07:31:00 MST 2005


Hi, I spend some time reading articles about codec negotiation problems, 
like:

sip phones (g729 or ONLY g711)--(SIPchannel)--> Asterisk 
<--(oh323)--gateway(supports g729&g711)

the call can fail, when between asterisk and h323 gw is negotiated g729 
codec and phone on other end supports only g711 (because asterisk cannot 
do g729/g711 transcoding).
but it would be possible to solve problem using conditional codec 
negotiation:
if one call leg can support only g711 try to negotiate also g711 on 
other end to achieve native bridging (if prefered) against transcoding, 
or in other words, try to negotiate only one codec through all path
it's my idea ;-)
PJ





More information about the asterisk-dev mailing list