[Freeswitch-users] Possible to disable core codecs?
Paul Cupis
paul at cupis.co.uk
Wed Apr 11 21:53:40 MSD 2012
On 11/04/12 00:12, Malay Thakershi wrote:
> Thanks for information.
>
> But I am not able to use any other codec than PCMU/PCMA for some reason.
> I read related settings and what they mean.
>
> I am using Vitelity for now and they say they do support G722/GSM/G729
> on their end.
The far-end SDP says it supports PCMU/PCMA/GSM/G729 only, no G722.
> In vars.xml, I have
> <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G722,GSM,PCMU,PCMA"/>
> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G722,GSM,PCMU,PCMA"/>
The only matching codecs are PCMA/PCMU/GSM from what you've shown us.
You have some G726 comparisons in your log as well, but you've not
mentioned G726 at all.
> 2012-04-10 18:00:17.430961 [DEBUG] sofia.c:5572 Remote SDP:
> v=0
> o=root 15681 15681 IN IP4 IP2
> s=session
> c=IN IP4 IP2
> t=0 0
> m=audio 12860 RTP/AVP 0 8 3 18 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:3 GSM/8000
> a=rtpmap:18 G729/8000
> a=fmtp:18 annexb=no
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> a=silenceSupp:off - - - -
> a=ptime:20
>
> Audio Codec Compare [G729:18:8000:20:8000]/[LPC:7:8000:90:2400]
> Audio Codec Compare [telephone-event:101:8000:20:0]/[LPC:7:8000:90:2400]
> Set 2833 dtmf send/recv payload to 101
> Audio Codec Compare [PCMU:0:8000:20:64000]/[G726-16:124:8000:20:16000]
> Audio Codec Compare [PCMA:8:8000:20:64000]/[G726-16:124:8000:20:16000]
> Audio Codec Compare [GSM:3:8000:20:13200]/[G726-16:124:8000:20:16000]
> Audio Codec Compare [G729:18:8000:20:8000]/[G726-16:124:8000:20:16000]
> Audio Codec Compare [telephone-event:101:8000:20:0]/[G726-16:124:8000:20:16000]
> Set 2833 dtmf send/recv payload to 101
> Audio Codec Compare [PCMU:0:8000:20:64000]/[AAL2-G726-16:124:8000:20:16000]
> Audio Codec Compare [PCMA:8:8000:20:64000]/[AAL2-G726-16:124:8000:20:16000]
> Audio Codec Compare [GSM:3:8000:20:13200]/[AAL2-G726-16:124:8000:20:16000]
> Audio Codec Compare [G729:18:8000:20:8000]/[AAL2-G726-16:124:8000:20:16000]
> Audio Codec Compare [telephone-event:101:8000:20:0]/[AAL2-G726-16:124:8000:20:16000]
> Set 2833 dtmf send/recv payload to 101
> Audio Codec Compare [PCMU:0:8000:20:64000]/[PCMA:8:8000:20:64000]
> Audio Codec Compare [PCMA:8:8000:20:64000]/[PCMA:8:8000:20:64000]
> Bah HUMBUG! Sticking with PCMA at 8000h@20i
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list