Re: [Freeswitch-users] AMR Codec for A-leg and GSM Codec for B-leg
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@lists.freeswitch.org wrote:
Send FreeSWITCH-users mailing list submissions to freeswitch-users@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@lists.freeswitch.org
You can reach the person managing the list at freeswitch-users-owner@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@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@lists.freeswitch.org" <freeswitch-users@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@10.1.0.5 <mailto: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/${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@entropysolution.com <mailto:ron.menez@entropysolution.com>
From: Peter Steinbach <lists@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@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@telefaks.de <mailto:lists@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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.org <mailto:brian@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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (1)
-
Ron Menez