codec support - speex? transcoding?

72 views
Skip to first unread message

JamesR

unread,
Jul 7, 2010, 5:01:59 PM7/7/10
to OpenACD
Maybe this is more for the freeswitch forum, but I'm curious if
OpenACD / Freeswitch supports speex voice codec. I'm also interested
in knowing if there is any ability for transcoding between codecs
between the agent call leg and the inbound call.

I'd really like to take a g.729 or g.711 call into the ACD, then send
a speex call to the agent.

how far fetched is this?

thanks,
James

Andrew Thompson

unread,
Jul 7, 2010, 5:10:13 PM7/7/10
to ope...@googlegroups.com

Freeswitch supports all those codecs and more:

http://wiki.freeswitch.org/wiki/Codecs#Codec_List

However, you'll need g729 licenses ($10 per channel) if you want to do
anything but passthrough g729 (like transcode it to speex).

Andrew

JamesR

unread,
Jul 8, 2010, 1:14:04 PM7/8/10
to OpenACD
On Jul 7, 5:10 pm, Andrew Thompson <and...@hijacked.us> wrote:
>
> Freeswitch supports all those codecs and more:
>
> http://wiki.freeswitch.org/wiki/Codecs#Codec_List
>
> However, you'll need g729 licenses ($10 per channel) if you want to do
> anything but passthrough g729 (like transcode it to speex).
>
> Andrew


Ok I was able to sign an agent in and out using the dialpad/DTMF using
speex, but when I place an inbound call to the ACD queue with g.711 I
get a failure "488 not acceptable here" "SDP: incompatible media
format: no common codec".

I see on the wiki ways to disable transcoding.. it seems it's enabled
by default.. but all signs seem to point to a transcoding issue here.

Andrew Thompson

unread,
Jul 8, 2010, 1:23:57 PM7/8/10
to ope...@googlegroups.com

You'll probably want to take this to the FreeSWITCH lists, I don't know
offhand how to workaround that.

Andrew

James Rosenberger

unread,
Jul 8, 2010, 2:23:27 PM7/8/10
to ope...@googlegroups.com


On Thu, Jul 8, 2010 at 1:23 PM, Andrew Thompson <and...@hijacked.us> wrote:

You'll probably want to take this to the FreeSWITCH lists, I don't know
offhand how to workaround that.

Andrew


Thanks!  will do

Jerry Browne

unread,
Jul 21, 2010, 8:45:45 PM7/21/10
to OpenACD
It could be that many of you out there may be well aware of this but
just in case this is something of use to some of you I figured that I
would post the results of what we found to resolve this issue.

There is some configuration that we were missing in the vars.xml file
in the ~/freeswitch/conf directory. These config pararms are
referenced in the internal and external.xml files in the conf
directory and need to be set with the codecs that you want to allow
globally on the freeswitch installation.

Specifically, the following was what was in the vars.xml file:

<X-PRE-PROCESS cmd="set"
data="global_codec_prefs=G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM"/
>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA,GSM"/>

We need additional codecs such as:

<X-PRE-PROCESS cmd="set"
data="global_codec_prefs=G7221@32000h,speex@8000h@20i,speex@16000h@20i,speex@32000h@20i,G7221@16000h,G722,PCMU,PCMA,iLBC@30i,GSM"/
>
<X-PRE-PROCESS cmd="set"
data="outbound_codec_prefs=G7221@32000h,speex@8000h@20i,speex@16000h@20i,speex@32000h@20i,G7221@16000h,G722,PCMU,PCMA,iLBC@30i,GSM"/
Reply all
Reply to author
Forward
0 new messages