<div id="RTEContent"> <br> Hello all,<br> <br> We are facing a problem trying to pass faxes between two gateways configured this way (we have tested with Quintum and Cisco gws):<br> <br> GW1 -------> Asterisk (1.2)-------> GW2<br> <br> Both gateways and asterisk support g729 and g711, we want to use g729 for voice and fallback to g711 when a fax is detected.<br> <br> The call goes like this:<br> <br> - GW1 initiates the call using g729 (at this time, no one knows that the call is a fax)<br> <br> - Once the call is answered, GW2 detects a fax tone, it sends an INVITE to * to change the media to g711, Asterisk relies the INVITE correctly to GW2 and GW2 switches to g711, the problem seems to be that * replays to the INVITE coming from GW2 with an OK with codec g729 as prefered codec, this fools GW2 and chooses g729 again.<br> <br>
The codec that Asterisk uses in the OK seems to be the codec sent by GW1 when the call was established instead of sending the codec that GW2 sent in the (RE)INVITE.<br> <br> Can anyone comment if this is a bug or simply we are missunderstanding something?<br> <br> Thank you,<br> <br> A</div><p>
                <hr size=1> <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/">Yahoo! Music Unlimited - Access over 1 million songs. Try it free.</a>