iax.conf doesn't take canreinvite=no . It's only for sip . For iax2 its transfer=yes/no (1.4 ) or notransfer=yes (1.2) , there's one more parameter in 1.4 with which u can transfer only audio stream . Check voip-info wiki for all options .<br>
<br><div class="gmail_quote">On Thu, Mar 13, 2008 at 7:48 AM, Gonzalo Servat <<a href="mailto:gservat@gmail.com">gservat@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, Mar 12, 2008 at 12:58 PM, Brent Davidson <<a href="mailto:brent@texascountrytitle.com" target="_blank">brent@texascountrytitle.com</a>> wrote:<br></div><div class="gmail_quote"><div class="Ih2E3d">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Do you have canreinvite=no in the sip client configuration? If not
then the two sip phones are probably issuing a reinvite command and
taking asterisk out of the call path. If that happens and the phones
can't reach consensus on a codec then you run into audio problems. If
you're not a provider and just using asterisk as a PBX then it's
probably better to set the phones up with a matching codec set and
allow them to establish a direct connection between each other to keep
load off the Asterisk server. Otherwise set canreinvite=no and
Asterisk should transcode correctly.<br>
</div></blockquote></div><div><br>Brent,<br><br>Thank you veeeery much for replying. I thought the message went unseen but found your reply when I went to look at the thread :)<br><br>You're absolutely right. Looks like the SIP client was messing up (or something) when different codecs were used. I tried canreinvite=no and it worked perfectly, but as you said, it's best to bypass Asterisk when talking between clients on the same network. I tried a different IAX client and it had no problems using different codecs (with canreinvite=yes) so all is good.<br>
<br>Thanks again!<br><font color="#888888">Gonzalo</font></div></div>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>