[Freeswitch-users] AMR Codec for A-leg and GSM Codec for B-leg

Brian West brian at freeswitch.org
Thu Aug 17 14:38:34 UTC 2017


Did you bother to read the README in the mod_amr folders?

On Wed, Aug 16, 2017 at 8:54 PM, Steven Ayre <steveayre at gmail.com> wrote:

> 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
>>
>
>
> _________________________________________________________________________
> 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
>



-- 

*Brian West*
brian at freeswitch.org

*Twitter: @FreeSWITCH , @briankwest*

http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Book a phone call (CST) <https://freeswitch.com/appointment>

Allison prompts for FreeSWITCH:

*https://www.gofundme.com/allison-prompts-for-freeswitch*
<https://www.gofundme.com/allison-prompts-for-freeswitch>

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170817/b9264525/attachment.html>


More information about the FreeSWITCH-users mailing list