Thanks for the suggestion Markus. Here what I did:<div><br></div><div>In the logger.config I have added 'dtmf': </div><div><br></div><div>console => notice,warning,error,dtmf</div><div><br></div><div>and then in sip.conf:</div>
<div><br></div><div><div>allow=ulaw</div><div>allow=alaw</div></div><div>; <span style>allow=gsm</span>
</div><div>dtmfmode=inband</div><div><br></div><div>I've added a test to call my mobile:</div><div><br></div><div><div>exten => 123,1,Dial(SIP/+4477XXXXXXX@voipms,,D(wwwwwwww1ww2ww3ww4))</div><div>exten => 123,n,Hangup()</div>
</div><div><br></div><div>then restarted asterisk and logged into console (asterisk -r)</div><div><br></div><div>I've call my mobile using softphone, I did not see 1,2,3,4 digits being sent on the console but I can hear broken/unclear DTMF on the mobile... </div>
<div><div><br></div><div>however when I press digits on the softphone I can hear DTMF clear how it should be on my mobile and on the console it is showing DTMF:</div><div><br></div><div><div>astrisk*CLI> [May 6 14:13:06] DTMF[28559]: channel.c:3082 __ast_read: DTMF begin '4' received on SIP/test-0000001c</div>
<div>[May 6 14:13:06] DTMF[28559]: channel.c:3092 __ast_read: DTMF begin passthrough '4' on SIP/test-0000001c</div><div>[May 6 14:13:06] DTMF[28559]: channel.c:2997 __ast_read: DTMF end '4' received on SIP/test-0000001c, duration 120 ms</div>
<div>[May 6 14:13:06] DTMF[28559]: channel.c:3037 __ast_read: DTMF end accepted with begin '4' on SIP/test-0000001c</div><div>[May 6 14:13:06] DTMF[28559]: channel.c:3066 __ast_read: DTMF end passthrough '4' on SIP/test-0000001c</div>
<div>[May 6 14:13:07] DTMF[28559]: channel.c:3082 __ast_read: DTMF begin '5' received on SIP/test-0000001c</div><div>[May 6 14:13:07] DTMF[28559]: channel.c:3092 __ast_read: DTMF begin passthrough '5' on SIP/test-0000001c</div>
<div>[May 6 14:13:07] DTMF[28559]: channel.c:2997 __ast_read: DTMF end '5' received on SIP/test-0000001c, duration 120 ms</div><div>[May 6 14:13:07] DTMF[28559]: channel.c:3037 __ast_read: DTMF end accepted with begin '5' on SIP/test-0000001c</div>
<div>[May 6 14:13:07] DTMF[28559]: channel.c:3066 __ast_read: DTMF end passthrough '5' on SIP/test-0000001c</div><div>[May 6 14:13:08] DTMF[28559]: channel.c:3082 __ast_read: DTMF begin '6' received on SIP/test-0000001c</div>
<div>[May 6 14:13:08] DTMF[28559]: channel.c:3092 __ast_read: DTMF begin passthrough '6' on SIP/test-0000001c</div><div>[May 6 14:13:08] DTMF[28559]: channel.c:2997 __ast_read: DTMF end '6' received on SIP/test-0000001c, duration 120 ms</div>
<div>[May 6 14:13:08] DTMF[28559]: channel.c:3037 __ast_read: DTMF end accepted with begin '6' on SIP/test-0000001c</div><div>[May 6 14:13:08] DTMF[28559]: channel.c:3066 __ast_read: DTMF end passthrough '6' on SIP/test-0000001c</div>
</div><div><br></div><div><div>Thanks!</div><div><br><div class="gmail_quote">On Sun, May 6, 2012 at 1:03 PM, Markus <span dir="ltr"><<a href="mailto:universe@truemetal.org" target="_blank">universe@truemetal.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 06.05.2012 13:46, schrieb Shahid H:<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I am having a problem with SendDTMF - it is not sending the numbers<br>
properly during the phone call.. I want the numbers key to to be<br>
pressed/sent automatically after 3 seconds during a phone call.<br>
</blockquote>
<br></div>
Log the actual DTMF to your console, set in logger.conf:<br>
<br>
console => something,something,dtmf<br>
^^^^<br>
<br>
Then try again and check if you see the actual DTMF. If you do and it still doesn't work, try<br>
<br>
dtmfmode=inband<br>
<br>
for your voipms peer.<br>
<br>
rfc2833 has been working always unreliable for me.<br>
<br>
Also, I'm doing DTMF like this:<br>
<br>
exten => 5000,n,Dial(SIP/123456@<u></u>provider,,D(wwwwww1ww2ww3ww4))<br>
<br>
Just use more w's to generate your 3 seconds pause. No need for SendDTMF.<br>
<br>
For more debugging just call yourself on your UK mobile from a softphone and press digits and watch the console and listen on your mobile if you hear the DTMF.<br>
<br>
<br>
</blockquote></div><br></div></div></div>