[asterisk-users] SIP Inband DTMF problem

Kalin Dikov dikov.kalin at gmail.com
Fri Jul 20 07:22:13 CDT 2012


Hi all,

I need to receive some DTMF tones by the users dialing in 1 of my DIDs. The
ITSP forwards the line directly to me without tampering it, so I need to
use the "inband" dtmf mode. The issue is that the system seems to catch the
DTMF tones only when there's an audio (IVR) playback on the channel, once
the audio (IVR) stops so does the DTMF flow. What could be the possible
solution?!

    -- Executing [024913712 at from-trunk:1] Set("SIP/CheapTalkMe-00000014",
"SIP_CODEC=alaw") in new stack
    -- Executing [024913712 at from-trunk:2] Set("SIP/CheapTalkMe-00000014",
"fuzzystart=300") in new stack
    -- Executing [024913712 at from-trunk:3] Set("SIP/CheapTalkMe-00000014",
"earlyalert=3600") in new stack
    -- Executing [024913712 at from-trunk:4]
Answer("SIP/CheapTalkMe-00000014", "") in new stack
    -- Executing [024913712 at from-trunk:5] Wait("SIP/CheapTalkMe-00000014",
"3") in new stack
    -- Executing [024913712 at from-trunk:6] Set("SIP/CheapTalkMe-00000014",
"confask_cnt=0") in new stack
    -- Executing [024913712 at from-trunk:7] Set("SIP/CheapTalkMe-00000014",
"pinask_cnt=0") in new stack
    -- Executing [024913712 at from-trunk:8]
Playback("SIP/CheapTalkMe-00000014", "conf-getconfno") in new stack
    -- <SIP/CheapTalkMe-00000014> Playing 'conf-getconfno.gsm' (language
'en')
[2012-07-20 15:19:32] DTMF[4452]: channel.c:2881 __ast_read: DTMF end '6'
received on SIP/CheapTalkMe-00000014, duration 0 ms
[2012-07-20 15:19:32] DTMF[4452]: channel.c:2926 __ast_read: DTMF end
accepted without begin '6' on SIP/CheapTalkMe-00000014
[2012-07-20 15:19:32] DTMF[4452]: channel.c:2937 __ast_read: DTMF end
passthrough '6' on SIP/CheapTalkMe-00000014
[2012-07-20 15:19:32] DTMF[4452]: channel.c:2881 __ast_read: DTMF end '5'
received on SIP/CheapTalkMe-00000014, duration 0 ms
[2012-07-20 15:19:32] DTMF[4452]: channel.c:2926 __ast_read: DTMF end
accepted without begin '5' on SIP/CheapTalkMe-00000014
[2012-07-20 15:19:32] DTMF[4452]: channel.c:2937 __ast_read: DTMF end
passthrough '5' on SIP/CheapTalkMe-00000014
[2012-07-20 15:19:32] DTMF[4452]: channel.c:2881 __ast_read: DTMF end '5'
received on SIP/CheapTalkMe-00000014, duration 0 ms
[2012-07-20 15:19:32] DTMF[4452]: channel.c:2926 __ast_read: DTMF end
accepted without begin '5' on SIP/CheapTalkMe-00000014
[2012-07-20 15:19:32] DTMF[4452]: channel.c:2937 __ast_read: DTMF end
passthrough '5' on SIP/CheapTalkMe-00000014
[2012-07-20 15:19:33] DTMF[4452]: channel.c:2881 __ast_read: DTMF end '6'
received on SIP/CheapTalkMe-00000014, duration 0 ms
[2012-07-20 15:19:33] DTMF[4452]: channel.c:2926 __ast_read: DTMF end
accepted without begin '6' on SIP/CheapTalkMe-00000014
[2012-07-20 15:19:33] DTMF[4452]: channel.c:2937 __ast_read: DTMF end
passthrough '6' on SIP/CheapTalkMe-00000014
[2012-07-20 15:19:33] DTMF[4452]: channel.c:2881 __ast_read: DTMF end '8'
received on SIP/CheapTalkMe-00000014, duration 0 ms
[2012-07-20 15:19:33] DTMF[4452]: channel.c:2926 __ast_read: DTMF end
accepted without begin '8' on SIP/CheapTalkMe-00000014
[2012-07-20 15:19:33] DTMF[4452]: channel.c:2937 __ast_read: DTMF end
passthrough '8' on SIP/CheapTalkMe-00000014
[2012-07-20 15:19:34] DTMF[4452]: channel.c:2881 __ast_read: DTMF end '7'
received on SIP/CheapTalkMe-00000014, duration 0 ms
[2012-07-20 15:19:34] DTMF[4452]: channel.c:2926 __ast_read: DTMF end
accepted without begin '7' on SIP/CheapTalkMe-00000014
[2012-07-20 15:19:34] DTMF[4452]: channel.c:2937 __ast_read: DTMF end
passthrough '7' on SIP/CheapTalkMe-00000014
    -- Executing [024913712 at from-trunk:9] Set("SIP/CheapTalkMe-00000014",
"confask_cnt=1") in new stack
    -- Executing [024913712 at from-trunk:10] Read("SIP/CheapTalkMe-00000014",
"digits,,8,,,5") in new stack
    -- Accepting a maximum of 8 digits.
    -- User entered nothing.
    -- Executing [024913712 at from-trunk:11] NoOp("SIP/CheapTalkMe-00000014",
"Digits are: ") in new stack


PS: I'm using Asterisk 1.6.0.26-FONCORE-r78 built by root @
revisor.trixbox.com on a i686 running Linux on 2010-06-08 22:01:27 UTC

Best Regards,
Kalin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120720/194aae88/attachment.htm>


More information about the asterisk-users mailing list