[asterisk-bugs] [Asterisk 0010471]: Prompts can not be interrupted with DTMF when using ZAP-Channels

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Sep 14 04:08:06 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10471 
====================================================================== 
Reported By:                Worfinator
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10471
Category:                   Applications/app_meetme
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:            1.4.10  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-16-2007 13:39 CDT
Last Modified:              09-14-2007 04:08 CDT
====================================================================== 
Summary:                    Prompts can not be interrupted with DTMF when using
ZAP-Channels
Description: 
I recognised the following problem:
“Please enter your conference call number followed by the…“ I think
users which are familiar with the system do not necessarily need to wait
for this prompt to
end. It’s just annoying for them…Is there a solution for this? So that
users can interrupt the playback of the voice file by entering the
number…At the moment they have to wait till the playback for the prompt
ends till they can enter their conference id.

I heart this has been working in older releases. It also does not work
with Web-MeetMe (cbmysql) which seems to use the same methods as
app_meetme.

 


====================================================================== 

---------------------------------------------------------------------- 
 Worfinator - 09-14-07 04:08  
---------------------------------------------------------------------- 
Sorry, for the delay.

I now did some fourther testing.

The valid conference code in this example is 5555:

    -- Accepting overlap call from '' to '17902' on channel 0/1, span 1
    -- Starting simple switch on 'Zap/1-1'
[Sep 14 11:23:08] DTMF[950]: channel.c:2346 __ast_read: DTMF end '9'
received on Zap/1-1, duration 0 ms
[Sep 14 11:23:08] DTMF[950]: channel.c:2382 __ast_read: DTMF begin
emulation of '9' with duration 100 queued on Zap/1-1
[Sep 14 11:23:08] DTMF[950]: channel.c:2465 __ast_read: DTMF end emulation
of '9' queued on Zap/1-1
[Sep 14 11:23:08] DTMF[950]: channel.c:2346 __ast_read: DTMF end '9'
received on Zap/1-1, duration 0 ms
[Sep 14 11:23:08] DTMF[950]: channel.c:2363 __ast_read: DTMF end '9' put
into dtmf queue on Zap/1-1
[Sep 14 11:23:08] DTMF[950]: channel.c:2215 __ast_read: DTMF begin
emulation of '9' with duration 100 queued on Zap/1-1
[Sep 14 11:23:08] DTMF[950]: channel.c:2465 __ast_read: DTMF end emulation
of '9' queued on Zap/1-1
[Sep 14 11:23:08] DTMF[950]: channel.c:2346 __ast_read: DTMF end '8'
received on Zap/1-1, duration 0 ms
[Sep 14 11:23:08] DTMF[950]: channel.c:2382 __ast_read: DTMF begin
emulation of '8' with duration 100 queued on Zap/1-1
[Sep 14 11:23:08] DTMF[950]: channel.c:2465 __ast_read: DTMF end emulation
of '8' queued on Zap/1-1
    -- Executing [17902998 at external_in:1] Answer("Zap/1-1", "") in new
stack
    -- Executing [17902998 at external_in:2] MeetMe("Zap/1-1", "") in new
stack
    -- <Zap/1-1> Playing 'conf-getconfno' (language 'en')
  == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'MeetMe' logged on from 145.228.61.150
  == Manager 'MeetMe' logged off from 145.228.61.150
[Sep 14 11:23:13] DTMF[950]: channel.c:2346 __ast_read: DTMF end '5'
received on Zap/1-1, duration 0 ms
[Sep 14 11:23:13] DTMF[950]: channel.c:2382 __ast_read: DTMF begin
emulation of '5' with duration 100 queued on Zap/1-1
[Sep 14 11:23:13] DTMF[950]: channel.c:2465 __ast_read: DTMF end emulation
of '5' queued on Zap/1-1
[Sep 14 11:23:13] DTMF[950]: channel.c:2346 __ast_read: DTMF end '5'
received on Zap/1-1, duration 0 ms
[Sep 14 11:23:13] DTMF[950]: channel.c:2382 __ast_read: DTMF begin
emulation of '5' with duration 100 queued on Zap/1-1
[Sep 14 11:23:14] DTMF[950]: channel.c:2465 __ast_read: DTMF end emulation
of '5' queued on Zap/1-1
[Sep 14 11:23:14] DTMF[950]: channel.c:2346 __ast_read: DTMF end '5'
received on Zap/1-1, duration 0 ms
[Sep 14 11:23:14] DTMF[950]: channel.c:2382 __ast_read: DTMF begin
emulation of '5' with duration 100 queued on Zap/1-1
[Sep 14 11:23:14] DTMF[950]: channel.c:2465 __ast_read: DTMF end emulation
of '5' queued on Zap/1-1
[Sep 14 11:23:14] DTMF[950]: channel.c:2346 __ast_read: DTMF end '#'
received on Zap/1-1, duration 0 ms
[Sep 14 11:23:14] DTMF[950]: channel.c:2382 __ast_read: DTMF begin
emulation of '#' with duration 100 queued on Zap/1-1
[Sep 14 11:23:14] DTMF[950]: channel.c:2465 __ast_read: DTMF end emulation
of '#' queued on Zap/1-1
  == Parsing '/etc/asterisk/meetme.conf': Found
[Sep 14 11:23:14] DEBUG[950]: app_meetme.c:2413 find_conf: 555 isn't a
valid conference
    -- <Zap/1-1> Playing 'conf-invalid' (language 'en')
    -- <Zap/1-1> Playing 'conf-getconfno' (language 'en')
    -- <Zap/1-1> Playing 'conf-getconfno' (language 'en')
    -- Channel 0/1, span 1 got hangup request, cause 16
  == Spawn extension (external_in, 17902998, 2) exited non-zero on
'Zap/1-1'
[Sep 14 11:23:34] DEBUG[950]: chan_zap.c:2964 zt_setoption: Set option
AUDIO MODE, value: ON(1) on Zap/1-1
[Sep 14 11:23:34] DEBUG[950]: chan_zap.c:2603 zt_hangup: Not yet hungup...
 Calling hangup once with icause, and clearing call
[Sep 14 11:23:34] DEBUG[950]: chan_zap.c:2960 zt_setoption: Set option
AUDIO MODE, value: OFF(0) on Zap/1-1
    -- Hungup 'Zap/1-1'
[Sep 14 11:23:34] DEBUG[950]: cdr_addon_mysql.c:211 mysql_log: cdr_mysql:
inserting a CDR record.
[Sep 14 11:23:34] DEBUG[950]: cdr_addon_mysql.c:227 mysql_log: cdr_mysql:
SQL command as follows: INSERT INTO cdr_asterisk
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield)
VALUES ('2007-09-14 11:23:07','','','17902998','external_in',
'Zap/1-1','','MeetMe','',27,23,'ANSWERED',3,'','1189761787.2','')

As you can see the first 5 is missing. The extension for reachin meetme is
17902998

And another try, in this case only two of the 4 digits arrive:
    -- Accepting overlap call from '' to '17902' on channel 0/1, span 2
    -- Starting simple switch on 'Zap/32-1'
[Sep 14 11:24:54] DTMF[962]: channel.c:2346 __ast_read: DTMF end '9'
received on Zap/32-1, duration 0 ms
[Sep 14 11:24:54] DTMF[962]: channel.c:2382 __ast_read: DTMF begin
emulation of '9' with duration 100 queued on Zap/32-1
[Sep 14 11:24:54] DTMF[962]: channel.c:2465 __ast_read: DTMF end emulation
of '9' queued on Zap/32-1
[Sep 14 11:24:54] DTMF[962]: channel.c:2346 __ast_read: DTMF end '9'
received on Zap/32-1, duration 0 ms
[Sep 14 11:24:54] DTMF[962]: channel.c:2363 __ast_read: DTMF end '9' put
into dtmf queue on Zap/32-1
[Sep 14 11:24:54] DTMF[962]: channel.c:2215 __ast_read: DTMF begin
emulation of '9' with duration 100 queued on Zap/32-1
[Sep 14 11:24:54] DTMF[962]: channel.c:2465 __ast_read: DTMF end emulation
of '9' queued on Zap/32-1
[Sep 14 11:24:54] DTMF[962]: channel.c:2346 __ast_read: DTMF end '8'
received on Zap/32-1, duration 0 ms
[Sep 14 11:24:54] DTMF[962]: channel.c:2382 __ast_read: DTMF begin
emulation of '8' with duration 100 queued on Zap/32-1
[Sep 14 11:24:54] DTMF[962]: channel.c:2465 __ast_read: DTMF end emulation
of '8' queued on Zap/32-1
    -- Executing [17902998 at external_in:1] Answer("Zap/32-1", "") in new
stack
    -- Executing [17902998 at external_in:2] MeetMe("Zap/32-1", "") in new
stack
    -- <Zap/32-1> Playing 'conf-getconfno' (language 'en')
[Sep 14 11:24:59] DTMF[962]: channel.c:2346 __ast_read: DTMF end '5'
received on Zap/32-1, duration 0 ms
[Sep 14 11:24:59] DTMF[962]: channel.c:2382 __ast_read: DTMF begin
emulation of '5' with duration 100 queued on Zap/32-1
[Sep 14 11:24:59] DTMF[962]: channel.c:2465 __ast_read: DTMF end emulation
of '5' queued on Zap/32-1
[Sep 14 11:24:59] DTMF[962]: channel.c:2346 __ast_read: DTMF end '5'
received on Zap/32-1, duration 0 ms
[Sep 14 11:24:59] DTMF[962]: channel.c:2382 __ast_read: DTMF begin
emulation of '5' with duration 100 queued on Zap/32-1
[Sep 14 11:24:59] DTMF[962]: channel.c:2465 __ast_read: DTMF end emulation
of '5' queued on Zap/32-1
[Sep 14 11:24:59] DTMF[962]: channel.c:2346 __ast_read: DTMF end '#'
received on Zap/32-1, duration 0 ms
[Sep 14 11:24:59] DTMF[962]: channel.c:2382 __ast_read: DTMF begin
emulation of '#' with duration 100 queued on Zap/32-1
[Sep 14 11:24:59] DTMF[962]: channel.c:2465 __ast_read: DTMF end emulation
of '#' queued on Zap/32-1
  == Parsing '/etc/asterisk/meetme.conf': Found
[Sep 14 11:24:59] DEBUG[962]: app_meetme.c:2413 find_conf: 55 isn't a
valid conference
    -- <Zap/32-1> Playing 'conf-invalid' (language 'en')
    -- Channel 0/1, span 2 got hangup request, cause 16
[Sep 14 11:25:02] WARNING[962]: file.c:626 ast_readaudio_callback: Failed
to write frame
    -- <Zap/32-1> Playing 'conf-getconfno' (language 'en')
  == Spawn extension (external_in, 17902998, 2) exited non-zero on
'Zap/32-1'
[Sep 14 11:25:02] DEBUG[962]: chan_zap.c:2964 zt_setoption: Set option
AUDIO MODE, value: ON(1) on Zap/32-1
[Sep 14 11:25:02] DEBUG[962]: chan_zap.c:2603 zt_hangup: Not yet hungup...
 Calling hangup once with icause, and clearing call
[Sep 14 11:25:02] DEBUG[962]: chan_zap.c:2960 zt_setoption: Set option
AUDIO MODE, value: OFF(0) on Zap/32-1
    -- Hungup 'Zap/32-1'
[Sep 14 11:25:02] DEBUG[962]: cdr_addon_mysql.c:211 mysql_log: cdr_mysql:
inserting a CDR record.
[Sep 14 11:25:02] DEBUG[962]: cdr_addon_mysql.c:227 mysql_log: cdr_mysql:
SQL command as follows: INSERT INTO cdr_asterisk
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield)
VALUES ('2007-09-14 11:24:54','','','17902998','external_in',
'Zap/32-1','','MeetMe','',8,5,'ANSWERED',3,'','1189761894.3','') 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-14-07 04:08  Worfinator     Note Added: 0070520                          
======================================================================




More information about the asterisk-bugs mailing list