[Freeswitch-users] AMR Codec for A-leg and GSM Codec for B-leg
Ron
ron.menez at entropysolution.com
Tue Aug 15 06:58:08 UTC 2017
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<mailto: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=GSM}sofia/internal/${destination_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!
For your kind advice please.
TIA.
Best Regard,
Ron Menez
ron.menez at entropysolution.com<mailto:ron.menez at entropysolution.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170815/209d71e6/attachment.html>
More information about the FreeSWITCH-users
mailing list