<div>Hello,</div><div><br></div><div>I am having a problem with SendDTMF - it is not sending the numbers properly during the phone call.. I want the numbers key to to be pressed/sent automatically after 3 seconds during a phone call.</div>
<div><br></div><div>I use software phone to test it... when I dialed 501, I cant hear anything for about 10 seconds (this is because of SendDTMF) and then I can hear the operator saying to enter the numbers but SendDTMF already did it?!</div>
<div><br></div><div>Asterisk server are connected to <a href="http://voip.ms">voip.ms</a> provider. </div><div><br></div><div>I have spent many hours trying to get to work, how to fix this issue?</div><div><br></div><div>
See the configuration and debug log below:</div><div><br></div><div>extensions.conf</div><div>================</div><div>[test]</div><div>exten => 501,1,Set(CALLERID(num)=004471XXXXXXX)</div><div>exten => 501,n,Dial(SIP/+44797XXXXXX@voipms,30,M(sendnumber)t)</div>
<div>exten => 501,n,Hangup()</div><div><br></div><div>[macro-sendnumber]</div><div>exten => s,1,Wait(3)</div><div>exten => s,n,SendDTMF(www0w7w8w8wXwXwXwXwXwX)</div><div><br></div><div>sip.conf</div><div>==========</div>
<div>[general]</div><div>context=default</div><div>tcpbindaddr=0.0.0.0</div><div>dtmfmode = rfc2833</div><div>register => <a href="http://xxxxx:vxxxxx@london.voip.ms:5060">xxxxx:vxxxxx@london.voip.ms:5060</a></div><div>
<br></div><div>[test]</div><div>type=peer</div><div>secret=2xxx</div><div>host=dynamic</div><div>context=test</div><div><br></div><div>[voipms]</div><div>canreinvite=no</div><div>host=<a href="http://london.voip.ms">london.voip.ms</a></div>
<div>secret=xxxxxx</div><div>type=peer</div><div>username=135xxx ;your account</div><div>disallow=all</div><div>allow=gsm</div><div>; allow=g729 ; Uncomment if you support G729</div><div>fromuser=135xxx</div><div>insecure=invite</div>
<div>trustrpid=yes</div><div>sendrpid=yes</div><div>nat=yes</div><div>dtmfmode=rfc2833</div><div><br></div><div><br></div><div>debug:</div><div>=====</div><div> == Using SIP RTP CoS mark 5</div><div> -- Executing [501@test:1] Set("SIP/test-00000026", "CALLERID(num)=004471XXXXXX") in new stack</div>
<div> -- Executing [501@test:2] Dial("SIP/test-00000026", "SIP/+4479XXXXXX@voipms,30,M(sendnumber)t") in new stack</div><div> == Using SIP RTP CoS mark 5</div><div> -- Called +44797XXXXXX@voipms</div>
<div> -- SIP/voipms-00000027 is making progress passing it to SIP/test-00000026</div><div> -- SIP/voipms-00000027 answered SIP/test-00000026</div><div> -- Executing [s@macro-sendnumber:1] Wait("SIP/voipms-00000027", "3") in new stack</div>
<div> -- Executing [s@macro-sendnumber:2] SendDTMF("SIP/voipms-00000027", "www0w7w8wXwXwXwXw4wXwXwX") in new stack</div><div><br></div><div><br></div><div>If you need any more information or debug, let me know!</div>
<div><br></div><div>Thanks!</div>