Understood your point about G722. But if my list has GSM at higher priority over PCMU/PCMA and far-end SDP supports GSM then why isn't the call using GSM?

I don't know where G726 comparisons are coming from. If I haven't mentioned it in vars.xml and far-end SDP doesn't support it then why would it even consider that codec?

Thanks.

Malay


On Wed, Apr 11, 2012 at 12:53 PM, Paul Cupis <paul@cupis.co.uk> wrote:
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@8000h@20i

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org