I guess I should answer it myself, as I was able to do it successfully.<br><br>Here is how I did it: <br>It is basically very simple, just follow the steps in the Asterisk - Future of Telephony book to download Asterisk, Zaptel and libpri souce code. Then change the DTMF duration parameter in channels.c file, which is located in the directory names 'main'.<br>
<br>Once done, stop asterisk and zaptel on the server. Then recompile zaptel, libpri and asterisk using make clean; make; make install. Don't do make samples or make config. Once this is done, restart zaptel and asterisk (I don't remember if I rebooted once or not) and everything will work. In my case doing the above didn't break anything, and DTMF digit duration was changed to 100 ms.<br>
<br><br>-- <br>Zeeshan A Zakaria<br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 12:30 PM, Zeeshan Zakaria <span dir="ltr"><<a href="mailto:zishanov@gmail.com">zishanov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>After some testing I've found out that my client's hardware recognizes DTMF only if digits are sent 50ms apart with 50ms of tone duration. This was tested using a test device which generates DTMF.<br><br>
Now asterisk doesn't do it by default because digits going out from Asterisk are not being recognized.<br><br>Using command sendDTMF, I can control inter-digit duration, and using toneduration I can control duration of tone per digit. But I can't find a way to do both at the same time<br>
<br>Application sendDTMF simply ignores the value set in toneduration and sends DTMF at some default value, which I don't know what it is, but it is obviously not 50ms because the hardware can't reliably recognized the digits.<br>
<br>Is there a way I can send digits with 50ms tone duration and 50ms gap between them?<br clear="all"><font color="#888888"><br>-- <br>Zeeshan A Zakaria<br>
</font></blockquote></div><br><br clear="all"><br>