[Freeswitch-users] AMR Codec for A-leg and GSM Codec for B-leg
Steven Ayre
steveayre at gmail.com
Thu Aug 17 01:54:52 UTC 2017
mod_amr doesn't allow transcoding for licensing reasons. It only supports
passthrough mode where both sides support it so that the raw data can be
passed between them and the clients use their own licensed AMR codec. It
also means anything that uses media can't be used on those calls (eg
playback, eavesdrop).
On 15 August 2017 at 07:58, Ron <ron.menez at entropysolution.com> wrote:
> Hi All,
>
> Is it possible to use AMR Codec to A-leg and GSM Codec for B-leg or vice
> versa?
>
> Tried the following configuration in sip profiles:
>
> <param name="inherit_codec" value="true"/>
> <param name="inbound-late-negotiation" value="true”/>
> <param name="disable-transcoding" value="false”/>
>
> We received an error in the logs:
>
> e178024a-8180-11e7-9d17-e38b940a41a7 2017-08-15 06:13:45.955687 [DEBUG]
> switch_ivr_originate.c:3833 Originate Resulted in Error Cause: 88
> [INCOMPATIBLE_DESTINATION]
> e178024a-8180-11e7-9d17-e38b940a41a7 2017-08-15 06:13:45.955687 [INFO]
> mod_dptools.c:3418 Originate Failed. Cause: INCOMPATIBLE_DESTINATION
> e178024a-8180-11e7-9d17-e38b940a41a7 2017-08-15 06:13:45.955687 [NOTICE]
> switch_channel.c:4822 Hangup sofia/internal/09589999999 at 10.1.0.5
> [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
>
>
> We also tried to use the absolute_codec_string configuration in dialplan:
>
> <action application="bridge" data="{absolute_codec_string=G
> SM}sofia/internal/${destination_number}@10.1.0.4:5080
> <http://destination_number%7D@10.1.0.4:5080>"/>
>
>
> The error we received on this is:
>
> 2017-08-15 06:17:29.755700 [ERR] mod_amr.c:338 This codec is only usable
> in passthrough mode!
> 2017-08-15 06:17:29.755700 [ERR] switch_core_io.c:1434 Codec AMR encoder
> error!
>
>
> For your kind advice please.
>
> TIA.
>
> Best Regard,
>
> Ron Menez
> ron.menez at entropysolution.com
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170817/028008ae/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list