<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Hello list,<br>
<br>
I'm having DTMF-troubles with a Snom phone. I want to know if it's the
Snom or Asterisk that makes the trouble.<br>
<br>
<br>
I'm playing a prompt, then make a choice for "2" :<br>
<br>
[Jan 5 17:06:38] VERBOSE[29172] file.c: [Jan 5 17:06:38] --
<SIP/test1-00000701> Playing
'/var/lib/asterisk/sounds/vprompts/109001/prompt5040.slin' <br>
(language 'nl')<br>
[Jan 5 17:06:39] VERBOSE[29172] pbx.c: [Jan 5 17:06:39] --
Executing [s@sub-routing:52] WaitExten("SIP/test1-00000701", "15") in
new stack<br>
<b>[Jan 5 17:06:41] DTMF[29172] channel.c: DTMF begin '2' received on
SIP/test1-00000701<br>
[Jan 5 17:06:41] DTMF[29172] channel.c: DTMF begin ignored '2' on
SIP/test1-00000701<br>
[Jan 5 17:06:41] DTMF[29172] channel.c: DTMF end '2' received on
SIP/test1-00000701, duration 160 ms<br>
[Jan 5 17:06:41] DTMF[29172] channel.c: DTMF end passthrough '2' on
SIP/test1-00000701</b><br>
<br>
What follows is a prompt again, and it automatically chooses option 2 :<br>
<br>
[Jan 5 17:06:41] VERBOSE[29172] file.c: [Jan 5 17:06:41] --
<SIP/test1-00000701> Playing
'/var/lib/asterisk/sounds/vprompts/109001/prompt5041.slin' (language
'nl')<br>
<b>[Jan 5 17:06:41] DTMF[29172] channel.c: DTMF end '2' received on
SIP/test1-00000701, duration 160 ms<br>
[Jan 5 17:06:41] DTMF[29172] channel.c: DTMF end passthrough '2' on
SIP/test1-00000701</b><br>
<br>
Even without pressing "2" on the Snom phone, option 2 is chosen in the
menu.<br>
<br>
<br>
The above is different when I do the same with a Grandstream device :<br>
<br>
[Jan 5 17:14:15] VERBOSE[29384] file.c: [Jan 5 17:14:15] --
<SIP/test6-00000714> Playing
'/var/lib/asterisk/sounds/vprompts/109001/prompt5040.slin' (<br>
language 'nl')<br>
[Jan 5 17:14:17] VERBOSE[29384] pbx.c: [Jan 5 17:14:17] --
Executing [s@sub-routing:52] WaitExten("SIP/test6-00000714", "15") in
new stack<br>
[Jan 5 17:14:18] VERBOSE[4582] dnsmgr.c: [Jan 5 17:14:18] >
doing dnsmgr_lookup for 'ssw4.brussels.weepee.org'<br>
[Jan 5 17:14:18] VERBOSE[4582] dnsmgr.c: [Jan 5 17:14:18] >
doing dnsmgr_lookup for 'ssw4.brussels.weepee.org'<br>
<b>[Jan 5 17:14:21] DTMF[29384] channel.c: DTMF begin '2' received on
SIP/test6-00000714<br>
[Jan 5 17:14:21] DTMF[29384] channel.c: DTMF begin ignored '2' on
SIP/test6-00000714<br>
[Jan 5 17:14:21] DTMF[29384] channel.c: DTMF end '2' received on
SIP/test6-00000714, duration 100 ms<br>
[Jan 5 17:14:21] DTMF[29384] channel.c: DTMF end passthrough '2' on
SIP/test6-00000714</b><br>
<br>
</font><font face="Helvetica, Arial, sans-serif">[Jan 5 17:14:38]
VERBOSE[29384] file.c: [Jan 5 17:14:38] --
<SIP/test6-00000714> Playing
'/var/lib/asterisk/sounds/vprompts/109001/prompt5041.slin' (language
'nl')<br>
[Jan 5 17:14:39] VERBOSE[29384] pbx.c: [Jan 5 17:14:39] --
Executing [s@sub-routing:52] WaitExten("SIP/test6-00000714", "15") in
new stack<br>
<b>[Jan 5 17:14:44] DTMF[29384] channel.c: DTMF begin '2' received on
SIP/test6-00000714<br>
[Jan 5 17:14:44] DTMF[29384] channel.c: DTMF begin ignored '2' on
SIP/test6-00000714<br>
[Jan 5 17:14:44] DTMF[29384] channel.c: DTMF end '2' received on
SIP/test6-00000714, duration 100 ms<br>
[Jan 5 17:14:44] DTMF[29384] channel.c: DTMF end passthrough '2' on
SIP/test6-00000714</b></font><font face="Helvetica, Arial, sans-serif"><br>
<br>
<br>
Here I explicitly chose option "2" by pressing on button "2".<br>
<br>
What is going on with the Snom ? There is a difference in duration
(160ms vs 100ms). Is that the problem ??<br>
<br>
<br>
Kind regards,<br>
Jonas.<br>
</font>
<br>
</body>
</html>