[Freeswitch-users] Generate RFC2833 DTMF from playback of a wav file with embedded (inband) tones?

Stanislav Sinyagin ssinyagin at gmail.com
Mon Dec 14 01:28:54 MSK 2015


you can send the call to your own server's port 5080, so you would
originate the call and playback, and it loops through the same
FreeSWITCH daemon for dtmf detection, and then sent out to the remote
SIP destination.

Probably the loopback endpoint would do the same, needs testing.

On Sun, Dec 13, 2015 at 11:21 PM, D D <tru083 at yahoo.com> wrote:
> Thanks!  I just wanted to clarify that we need to have FS play the file, and
> as the RTP is being sent, to substitute RFC2833 packets into the outbound
> packet stream in place of the inband tones within the wav file.
>
> Note that we are using the dptools playback function to play the file.
>
> Is spandsp able to do this kind of RTP subsitution?
>
>
>
>
> On Sunday, December 13, 2015 11:31 AM, Giovanni Maruzzelli
> <gmaruzz at gmail.com> wrote:
>
>
> Yes, use the function from.spandsp, and add the "relax" argument.
> I cannot remember the name of the function, is something like detect_tones
> detect_dtmf get_dtmf...
> Check http://confluence.freeswitch.org .
> If you cannot find it there, ask here again.
> sent from my mobile,
> Giovanni Maruzzelli
> cell: +39 347 266 56 18
> Il 13/Dic/2015 18:22, "D D" <tru083 at yahoo.com> ha scritto:
>
> Hi,
>
> We have an application that needs to play wav files.  The wav files have
> inband DTMF tones.   Can I configure FS to detect these tones and
> instead send out RFC2833 packets?
>
> I really hope there is a way, because we have an older DIalogic system
> that does this function, and I really don't want to use that!
>
> Thanks,
> David
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list