[Freeswitch-users] Tone Stream and G729

Alexey Sibyakin alex at freeswitch.com
Mon May 14 01:44:29 UTC 2018


Hi,

"mod_g729" works only passthrough, you can't play tones or files with it.
You need "mod_com_g729" if you want to decode media stream.

Also inband DTMF with g729 is not good idea overall. Use RFC2833.

Regards,

Alex

On Tue, May 8, 2018 at 2:38 AM, Guillermo Ruiz Camauer <grcamauer at gmail.com>
wrote:

> Inline (audible tones in the audio stream) tones will not work with
> G.729.  You need to use RFC2833 for best results.
>
> Try with
>
> send_dtmf <dtmf digits>[@<tone_duration>]
>
> If your tones are not standard DTMF, you can try to record them in a file,
> convert it to G.729 offline, and then play the file back in the call.
> There is a file conversion utility in FS calles fs_convert if I recall
> correctly which you can use to convert the file.  You will need one G.729
> license to do this, or find some other program to convert your file.
>
>
>
> Regards,
>
> Guillermo
>
> On Mon, May 7, 2018 at 1:35 PM, Alexander Perkins <
> alexanderhenryperkins at gmail.com> wrote:
>
>> Hi All.  I am wondering if somebody can point me in the right direction.
>> I am playing back tone_stream on my call, but noticed that if the codec is
>> in G729, the call fails because of a codec negotiation error (I am loading
>> the G729 mod).
>>
>> Does anybody know how tone_stream can work with G279?  Here's the line
>> from my dialplan (NumberOfLoops depends on how long it takes us to find the
>> user, historical average):
>>
>>  <load module="mod_g729"/>
>>
>> <action application="playback" data="tone_stream://%(2000,400
>> 0,440.0,480.0);loops=${NumberOfLoops}" />
>>
>> Thanks,
>> Alex
>>
>> _________________________________________________________________________
>> 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
>>
>
>
>
> --
> Guillermo Ruiz Camauer
>
> _________________________________________________________________________
> 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
>



-- 
Alex Sibyakin | Support Engineer
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: alex at freeswitch.com
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
Need commercial support? Contact sales at freeswitch.com for details.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180514/505bfd02/attachment.html>


More information about the FreeSWITCH-users mailing list