On Tuesday, September 18, 2012 at 9:22 PM, Oliver Saggau | Sysvision GmbH wrote:
Hi everyone,I got a strange problem with mod_conference and auto_outcall taking thewrong codec for b-leg. For what I can see from the log everything seemsfine. The a-leg calls with the following SDP:2012-09-18 08:57:47.410023 [DEBUG] sofia.c:6293 Remote SDP:v=0o=- 3556961565 3556961565 IN IP4 10.20.30.125s=pjmediat=0 0m=audio 4000 RTP/AVP 99 101c=IN IP4 10.20.30.125a=rtpmap:99 SILK/24000a=fmtp:99 useinbandfec=0a=rtpmap:101 telephone-event/8000a=fmtp:101 0-15a=rtcp:4001 IN IP4 10.20.30.125And the SILK/24000 codec is accepted according to the log file:2012-09-18 08:57:47.650018 [DEBUG] sofia_glue.c:3077 Set Codecsofia/internal/1000004@10.20.30.240 SILK/24000 20 ms 480 samples 40000 bits2012-09-18 08:57:47.650018 [DEBUG] switch_core_codec.c:111sofia/internal/1000004@10.20.30.240 Original read codec set to SILK:1202012-09-18 08:57:47.650018 [DEBUG] mod_sofia.c:836 Local SDPsofia/internal/1000004@10.20.30.240:v=0o=FreeSWITCH 1347951445 1347951446 IN IP4 10.20.30.240s=FreeSWITCHc=IN IP4 10.20.30.240t=0 0m=audio 21622 RTP/AVP 99 101a=rtpmap:99 SILK/24000a=fmtp:99 useinbandfec=0; usedtx=0; maxaveragebitrate=40000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20a=sendrecvThe conference get's created and activates the read/write codecs for thefirst member:2012-09-18 08:57:47.990021 [DEBUG] mod_conference.c:7092 Raw CodecActivation Success L16@24000hz 1 channel 20ms2012-09-18 08:57:47.990021 [DEBUG] mod_conference.c:7137 Raw CodecActivation Success L16@48000hz 1 channel 20msAfter that he's trying to do the auto_outcall and that's where thingsget weird:EXECUTE sofia/internal/1000004@freeswitch.aws.hosts.corpex.deconference_set_auto_outcall(sofia/internal/sip:1000003@10.20.30.108:63741;transport=UDP;ob)2012-09-18 08:57:47.990021 [NOTICE] switch_channel.c:951 New Channelsofia/internal/sip:1000003@10.20.30.108:63741[0236d005-1ff0-4f13-9370-bf7736087dd0]2012-09-18 08:57:47.990021 [DEBUG] sofia_glue.c:2637 Local SDP:v=0o=FreeSWITCH 1347952749 1347952750 IN IP4 10.20.30.240s=FreeSWITCHc=IN IP4 10.20.30.240t=0 0m=audio 20318 RTP/AVP 98 0 8 101 13a=rtpmap:98 SILK/8000a=fmtp:98 useinbandfec=1; usedtx=0a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=ptime:20a=sendrecv2012-09-18 08:57:52.590016 [DEBUG] mod_conference.c:7092 Raw CodecActivation Success L16@8000hz 1 channel 20ms2012-09-18 08:57:52.590016 [DEBUG] mod_conference.c:7137 Raw CodecActivation Success L16@48000hz 1 channel 20msWhy is FS only offering SILK/8000 for b-leg? My outbound_codec_prefs isconfigured like this:outbound_codec_prefs=silk@24000,silk@16000,silk@8000,PCMU,PCMA,GSMThanks for your help,Oliver_________________________________________________________________________Professional FreeSWITCH Consulting Services:FreeSWITCH-powered IP PBX: The CudaTel Communication ServerOfficial FreeSWITCH SitesFreeSWITCH-users mailing list