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

Ron Menez menezer at gmail.com
Thu Aug 17 06:26:26 UTC 2017


Hi,

We also have same issue with AMR codec.

Does anyone knows how to do this?

There is no documents available regarding the AMR codec as passthrough mode.

BR,

Bob

> On Aug 15, 2017, at 6:30 PM, freeswitch-users-request at lists.freeswitch.org wrote:
> 
> Send FreeSWITCH-users mailing list submissions to
> 	freeswitch-users at lists.freeswitch.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> or, via email, send a message with subject or body 'help' to
> 	freeswitch-users-request at lists.freeswitch.org
> 
> You can reach the person managing the list at
> 	freeswitch-users-owner at lists.freeswitch.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of FreeSWITCH-users digest..."
> Today's Topics:
> 
>   1.  AMR Codec for A-leg and GSM Codec for B-leg (Ron)
>   2. Re: Answer a phone remotely via API (Peter Steinbach)
> 
> From: Ron <ron.menez at entropysolution.com>
> Subject: [Freeswitch-users] AMR Codec for A-leg and GSM Codec for B-leg
> Date: August 15, 2017 at 2:58:08 PM GMT+8
> To: "freeswitch-users at lists.freeswitch.org" <freeswitch-users at lists.freeswitch.org>
> 
> 
> 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>
> 
> 
> 
> 
> 
> 
> 
> From: Peter Steinbach <lists at telefaks.de>
> Subject: Re: [Freeswitch-users] Answer a phone remotely via API
> Date: August 15, 2017 at 6:30:19 PM GMT+8
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> 
> 
> Thanks Brian,
> 
> that worked for me.
> 
> uuid_phone_event <uuid> talk
> 
> on the Freeswitch CLI answered the tested phones (Yealink, Sangoma and Grandstream).
> 
> Best regards
> Peter
> 
> On 08/14/17 22:02, Brian West wrote:
>> depends on phone, see uuid_phone_event
>> 
>> On Mon, Aug 14, 2017 at 2:36 PM, Peter Steinbach <lists at telefaks.de <mailto:lists at telefaks.de>> wrote:
>> Hello,
>> 
>> does there exist a command to answer a phone remotely? E.g. send a
>> command via ESL to Freeswitch and then to the Phone?
>> I am not looking for some kind of autoanswer. I just want to let the
>> phone ring, then send some kind of event to the phone and then the phone
>> answers.
>> 
>> --
>> With kind regards
>> Peter Steinbach
>> 
>> Telefaks Services GmbH
>> mailto:lists <mailto:lists> (att) telefaks.de <http://telefaks.de/>
>> Internet: www.telefaks.de <http://www.telefaks.de/>
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>> http://www.cluecon.com <http://www.cluecon.com/>
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> 
>> 
>> -- 
>> Brian West
>> brian at freeswitch.org <mailto:brian at freeswitch.org>
>> Twitter: @FreeSWITCH , @briankwest
>> 
>> http://www.freeswitchbook.com <http://www.freeswitchbook.com/> 
>> http://www.freeswitchcookbook.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
>> 
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>> http://www.cluecon.com <http://www.cluecon.com/>
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> -- 
> With kind regards
> Peter Steinbach 
> 
> Telefaks Services GmbH
> mailto:lists <mailto:lists> (att) telefaks.de
> Internet: www.telefaks.de <http://www.telefaks.de/>
> 
> 
> 
> _______________________________________________
> 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/35acbc89/attachment-0001.html>


More information about the FreeSWITCH-users mailing list