<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=iso-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Robert Rozman wrote:
<blockquote cite="mid09e301c502eb$f7f9cac0$6500a8c0@Lapitopi"
 type="cite">
  <pre wrap="">----- Original Message ----- 
From: <a class="moz-txt-link-rfc2396E" href="mailto:timebandit001@gmail.com">&lt;timebandit001@gmail.com&gt;</a>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<a class="moz-txt-link-rfc2396E" href="mailto:asterisk-users@lists.digium.com">&lt;asterisk-users@lists.digium.com&gt;</a>
Sent: Tuesday, January 25, 2005 2:44 PM
Subject: Re: [Asterisk-Users] Codec mismatch between SIP (BT) and IAX Phone


  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">(IAXPhone):
      </pre>
    </blockquote>
    <pre wrap="">I suppose you're talking about Steve Sokol's phone
If so, then this phone only support gsm.

    </pre>
    <blockquote type="cite">
      <pre wrap="">Jan 25 13:52:22 NOTICE[31334]: channel.c:1314 ast_read: Dropping
incompatible voice frame on IAX2/200/1 of format gsm since our native
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->format
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">has changed to ulaw

Why is Asterisk not satisfied with gsm packets - it should transcode if
necessary ?
I have enabled gsm and ulaw in both configs, but it seems not
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->sufficient.
  </pre>
  <blockquote type="cite">
    <pre wrap="">Yes, * will transcode, but you specified in the IAX Phone config that
you allow this one tu use gsm AND ulaw, so instead of transcoding, *
just tell the IAX Phone to switch to uLaw, since the originating party
sends it in ulaw.

Just change your iax.conf to only allow gsm on the IAX Phone like this :

disallow=all
allow=gsm
    </pre>
  </blockquote>
  <pre wrap=""><!---->Oh, I see my mistake. Asterisk checks settings in iax.conf and plays
accordingly (I thought it talks to client by himself).
  </pre>
</blockquote>
<br>
I think it should, but the old version of iaxclient that iaxphone is
based on doesn't advertise it's supported codecs correctly..<br>
<br>
-SteveK<br>
<br>
</body>
</html>