As well as loading the modules you need to list the supported incoming and outgoing codecs on the sip profile. My guess is speex isn&#39;t in that list.<div><br></div><div>&quot;sofia status profile &lt;name&gt;&quot; will show the settings in use <br>
<div><br></div><div><br></div><div><br><br>On Tuesday, October 22, 2013, neeraj.p  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">
Hey,<div><br></div><div>I tried to establish audio call between two clients having different codec supports . I expected that transcoding  would take place.</div><div>But I am getting a codec negotiation error . </div><div>
<br></div><div><font color="#0042aa">Here is the information about client I am using </font></div><div><font color="#11053b"><br></font></div><div><font color="#11053b">leg A :</font></div><div><font color="#11053b">suppoerted codec : </font>speex<span style="color:rgb(17,5,59)"> </span></div>
<div><span style="color:rgb(17,5,59)"><br></span></div><div><span style="color:rgb(17,5,59)">leg B:</span></div><div><span style="color:rgb(17,5,59)">supported codec : </span>G722,PCMU,PCMA,GSM,OPUS</div><div><br></div><div>
<br></div><div><font color="#0042aa">Here is some lines from my freeswitch logs</font></div><div><div><br></div><div><div>2013-10-22 10:31:12.795786 [INFO] switch_ivr_originate.c:1190 Sending early media</div><div>2013-10-22 10:31:12.795786 [DEBUG] switch_core_media.c:2880 Audio Codec Compare [speex:110:8000:20:0]/[G722:9:8000:20:64000]</div>
<div>2013-10-22 10:31:12.795786 [DEBUG] switch_core_media.c:2880 Audio Codec Compare [speex:110:8000:20:0]/[PCMU:0:8000:20:64000]</div><div>2013-10-22 10:31:12.795786 [DEBUG] switch_core_media.c:2880 Audio Codec Compare [speex:110:8000:20:0]/[PCMA:8:8000:20:64000]</div>
<div>2013-10-22 10:31:12.795786 [DEBUG] switch_core_media.c:2880 Audio Codec Compare [speex:110:8000:20:0]/[GSM:3:8000:20:13200]</div><div>2013-10-22 10:31:12.795786 [DEBUG] switch_core_media.c:3064 No 2833 in SDP.  Disable 2833 dtmf and switch to INFO</div>
<div>2013-10-22 10:31:12.795786 [ERR] mod_sofia.c:2122 CODEC NEGOTIATION ERROR.  SDP:</div><div>v=0</div><div>o=Zoiper 0 0 IN IP4 120.63.38.94</div><div>s=Zoiper</div><div>c=IN IP4 120.63.38.94</div><div>t=0 0</div><div>m=audio 11525 RTP/AVP 110</div>
<div>a=rtpmap:110 speex/8000</div></div></div><div><span style="color:rgb(0,86,214)"><br></span></div><div><font color="#0042aa">Here is some info about my freeswitch</font><font color="#a77b00"> </font></div><div><span style="color:rgb(0,86,214)"><br>
</span></div><div><font color="#0042aa">version - 1.4 beta</font></div><div><font color="#0042aa"><br></font></div><div><font color="#0042aa">codecs supported - </font>codec,ADPCM (IMA),mod_spandsp</div><div>codec,AMR,mod_amr</div>
<div>codec,B64 (STANDARD),mod_b64</div><div>codec,G.711 alaw,CORE_PCM_MODULE</div><div>codec,G.711 ulaw,CORE_PCM_MODULE</div><div>codec,G.722,mod_spandsp</div><div>codec,G.723.1 6.3k,mod_g723_1</div><div>codec,G.726 16k,mod_spandsp</div>
<div>codec,G.726 16k (AAL2),mod_spandsp</div><div>codec,G.726 24k,mod_spandsp</div><div>codec,G.726 24k (AAL2),mod_spandsp</div><div>codec,G.726 32k,mod_spandsp</div><div>codec,G.726 32k (AAL2),mod_spandsp</div><div>codec,G.726 40k,mod_spandsp</div>
<div>codec,G.726 40k (AAL2),mod_spandsp</div><div>codec,G.729,mod_g729</div><div>codec,GSM,mod_spandsp</div><div>codec,H.261 Video (passthru),mod_h26x</div><div>codec,H.263 Video (passthru),mod_h26x</div><div>codec,H.263+ Video (passthru),mod_h26x</div>
<div>codec,H.263++ Video (passthru),mod_h26x</div><div>codec,H.264 Video (passthru),mod_h26x</div><div>codec,LPC-10,mod_spandsp</div><div>codec,PROXY PASS-THROUGH,CORE_PCM_MODULE</div><div>codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE</div>
<div>codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE</div><div>codec,Speex,mod_speex</div><div>codec,VP8 Video (passthru),mod_vp8</div><div><br></div><div><font color="#0042aa">My sip_profile configurations </font></div>
<div></div><div></div><div><pre style="font-family:monospace,Courier;padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.3em;font-size:13px">&lt;param name=&quot;disable-transcoding&quot; value=&quot;false&quot;/&gt;</pre>
<div><pre style="font-family:monospace,Courier;padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.3em;font-size:13px">&lt;param name=&quot;inbound-late-negotiation&quot; value=&quot;true&quot;/&gt;</pre>
<div><br></div></div></div><div>I also tried with  inbound-late-negotiaion=false . But still getting codec negotiation error. </div><div><br></div><div>Please help .</div><div><br></div><div><br></div><div><br></div><div>
Regards,</div><div>Neeraj</div><div><font color="#0061ff"> </font></div><div><font color="#0056d6"><br></font></div><div><br></div><div><br></div><div><br></div></div></blockquote></div></div>