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@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@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=GSM}sofia/internal/${destinatio n_number}@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!______________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-user s
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users
http://www.freeswitch.org
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@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@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@freeswitch.org
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Book a phone call (CST)
Allison prompts for FreeSWITCH:
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
Skype:briankwest