Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] How to relay DTMF during Early Media (Before Call Answered) ?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
hamid2kviii at hotmail...
Guest





PostPosted: Thu Dec 03, 2020 7:14 pm    Post subject: [Freeswitch-users] How to relay DTMF during Early Media (Bef Reply with quote

Hello


I have been trying to relay DTMF in Early Media (Before Call Answered), I have tried the following option. (Ref)



<extension name="other"> <condition>
<action application="export" data="nolocal:absolute_codec_string=AMR-WB,AMR"/>
<action application="export" data="nolocal:execute_on_media=start_dtmf_generate>
<action application="set" data="uuid_bridge_continue_on_cancel=true"/>
<action application="set" data="bridge_early_media=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="set" data="hangup_after_bridge=false"/>
<action application="set" data="effective_caller_id_number=${sip_from_user}"/>
<action application="set" data="hold_music=/etc/freeswitch/dialplan/Call_Hold.mp3"/>
<action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
<action application="set" data="limit_ignore_transfer=false" />
<action application="bridge" data="sofia/internal/${destination_number}@${loadbalancer}"/>
<action application="set" data="sip_copy_multipart=false"/>
<action application="log" data="1 B-leg hangup cause: ${last_bridge_hangup_cause}"/>
<action application="set" data="sip_h_X-RBT-Enabled=No"/>
<action application="transfer" data="${last_bridge_hangup_cause}"/>
</condition>
</extension>

but it didn't generate any DTMF in early media and it caused an issue of Robotic sound in transcoding from AMR-WB to G729 as well.


OS:
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS" NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"



Container:
PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"



Freeswitch:
FreeSWITCH Version 1.9.0-n20180314T133342Z-1~jessie+1+git~20180305T173609Z~dd0bb0e331~64bit (-n20180314T133342Z-1~jessie+1git dd0bb0e 2018-03-05 17:36:09Z 64bit)





PS: DTMF is working fine once the call is answered.




Regards
Hamid R. Hashmi
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services