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't in that list.
Hey,I tried to establish audio call between two clients having different codec supports . I expected that transcoding would take place.But I am getting a codec negotiation error .Here is the information about client I am usingleg A :suppoerted codec : speexleg B:supported codec : G722,PCMU,PCMA,GSM,OPUSHere is some lines from my freeswitch logs2013-10-22 10:31:12.795786 [INFO] switch_ivr_originate.c:1190 Sending early media2013-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]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]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]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]2013-10-22 10:31:12.795786 [DEBUG] switch_core_media.c:3064 No 2833 in SDP. Disable 2833 dtmf and switch to INFO2013-10-22 10:31:12.795786 [ERR] mod_sofia.c:2122 CODEC NEGOTIATION ERROR. SDP:v=0o=Zoiper 0 0 IN IP4 120.63.38.94s=Zoiperc=IN IP4 120.63.38.94t=0 0m=audio 11525 RTP/AVP 110a=rtpmap:110 speex/8000Here is some info about my freeswitch
version - 1.4 betacodecs supported - codec,ADPCM (IMA),mod_spandspcodec,AMR,mod_amrcodec,B64 (STANDARD),mod_b64codec,G.711 alaw,CORE_PCM_MODULEcodec,G.711 ulaw,CORE_PCM_MODULEcodec,G.722,mod_spandspcodec,G.723.1 6.3k,mod_g723_1codec,G.726 16k,mod_spandspcodec,G.726 16k (AAL2),mod_spandspcodec,G.726 24k,mod_spandspcodec,G.726 24k (AAL2),mod_spandspcodec,G.726 32k,mod_spandspcodec,G.726 32k (AAL2),mod_spandspcodec,G.726 40k,mod_spandspcodec,G.726 40k (AAL2),mod_spandspcodec,G.729,mod_g729codec,GSM,mod_spandspcodec,H.261 Video (passthru),mod_h26xcodec,H.263 Video (passthru),mod_h26xcodec,H.263+ Video (passthru),mod_h26xcodec,H.263++ Video (passthru),mod_h26xcodec,H.264 Video (passthru),mod_h26xcodec,LPC-10,mod_spandspcodec,PROXY PASS-THROUGH,CORE_PCM_MODULEcodec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULEcodec,RAW Signed Linear (16 bit),CORE_PCM_MODULEcodec,Speex,mod_speexcodec,VP8 Video (passthru),mod_vp8My sip_profile configurations<param name="disable-transcoding" value="false"/><param name="inbound-late-negotiation" value="true"/>I also tried with inbound-late-negotiaion=false . But still getting codec negotiation error.Please help .Regards,Neeraj