[Freeswitch-users] G723 usage - need something special for transcoding?
ib-freeswitch at bzsolutions.it
ib-freeswitch at bzsolutions.it
Wed Dec 21 17:27:56 MSK 2011
Usually G729 it's the standard, if you phone support it, you don't need to do transcoding, test it in dialplan:
<condition field="destination_number" expression="^5([0-9#]+)$">
<action application="set" data="custom_leg=ALEG"/>
<action application="set" data="disable-transcoding=true"/>
<action application="set" data="late-negotiation=true"/>
<action application="set" data="inherit_codec=true"/>
.... bridge bla bla bla....
http://wiki.freeswitch.org/wiki/Variable_inherit_codec
Set on the phone only the codecs supperted by providers and it will work...
An usefull tools to debug what happen it's SIPGREP
You can find it in __WHERE_YOU_HAVE_FS_SOURCES/freeswitch/scripts/trace/sipgrep
----- Original Message -----
From: "Avi Marcus" <avi at avimarcus.net>
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Sent: Wednesday, December 21, 2011 3:06:37 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: Re: [Freeswitch-users] G723 usage - need something special for transcoding?
Ah, well, that would explain it then.. are there any other common open licenses other than pcmu/pcma for PSTN interconnects? e.g. they don't offer speex.. heck, the underlying carrier doesn't have g711.
-Avi Marcus
On Wed, Dec 21, 2011 at 3:54 PM, < ib-freeswitch at bzsolutions.it > wrote:
Hi,
freeswitch supports G.723 only in pass through, if you want to transcode, there is a sangoma card that can do it, commercial license is avaiable only for G.729.
G723 / G729 / AMR are patented, and you can't use use the algorithm without permission of patent holders.
If ALEG and BLEG support G.723 you can change codec negotiation mode in freeswitch.
You can found usefull info here on WiKi:
http://wiki.freeswitch.org/wiki/Codec_negotiation
----- Original Message -----
From: "Avi Marcus" < avi at avimarcus.net >
To: "FreeSWITCH Users Help" < FreeSWITCH-users at lists.freeswitch.org >
Sent: Wednesday, December 21, 2011 10:41:19 AM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: [Freeswitch-users] G723 usage - need something special for transcoding?
Is g723 supposed to work out of the box?
I added G723 to the codec negotiation.. and I see it chose it on leg B: Set Codec sofia/external/551137119355 G723/8000 30 ms 240 samples 6300 bits
Leg A is... Set Codec sofia/internal/ 1000 at sip.domain.com PCMU/8000 20 ms 160 samples 64000 bits
Leg A can't hear leg B... I don't know about leg B. Is the ptimes an issue..? Shouldn't FS just transcode the call?
-Avi Marcus
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list