[asterisk-bugs] [Asterisk 0016664]: [patch] Random DTMF duplicate emulation on bridged OOH323 channel on outgoing calls

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Feb 21 16:48:40 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16664 
====================================================================== 
Reported By:                vmikhelson
Assigned To:                may213
====================================================================== 
Project:                    Asterisk
Issue ID:                   16664
Category:                   Addons/chan_ooh323
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0.20 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-21 00:44 CST
Last Modified:              2010-02-21 16:48 CST
====================================================================== 
Summary:                    [patch] Random DTMF duplicate emulation on bridged
OOH323 channel on outgoing calls
Description: 
In majority of cases DTMF tones are duplicated by Asterisk when bridging a
SIP or DAHDI channel with OOH323 channel on outgoing calls.

In case of a normal DTMF processing the following sequence is observed:

[Jan 20 19:59:56] DTMF[21084]: channel.c:2855 __ast_read: DTMF begin '9'
received on SIP/464-00000012
[Jan 20 19:59:56] DTMF[21084]: channel.c:2865 __ast_read: DTMF begin
passthrough '9' on SIP/464-00000012
[Jan 20 19:59:56] DTMF[21084]: channel.c:2783 __ast_read: DTMF end '9'
received on SIP/464-00000012, duration 120 ms
[Jan 20 19:59:56] DTMF[21084]: channel.c:2823 __ast_read: DTMF end
accepted with begin '9' on SIP/464-00000012
[Jan 20 19:59:56] DTMF[21084]: channel.c:2839 __ast_read: DTMF end
passthrough '9' on SIP/464-00000012

In case of a problematic DTMF processing it looks like that:

[Jan 20 19:18:54] DTMF[20916]: channel.c:2855 __ast_read: DTMF begin '9'
received on SIP/464-00000011
[Jan 20 19:18:54] DTMF[20916]: channel.c:2865 __ast_read: DTMF begin
passthrough '9' on SIP/464-00000011
[Jan 20 19:18:54] DTMF[20916]: channel.c:2783 __ast_read: DTMF end '9'
received on OOH323/172.17.135.2:1720-9915, duration 0 ms
[Jan 20 19:18:54] DTMF[20916]: channel.c:2809 __ast_read: DTMF begin
emulation of '9' with duration 100 queued on OOH323/172.17.135.2:1720-9915
[Jan 20 19:18:54] WARNING[20916]: chan_ooh323.c:1054 ooh323_indicate:
Don't know how to indicate condition 20 on ooh323c_o_21
[Jan 20 19:18:54] WARNING[20916]: chan_ooh323.c:1054 ooh323_indicate:
Don't know how to indicate condition 20 on ooh323c_o_21
[Jan 20 19:18:54] DTMF[20916]: channel.c:2932 __ast_read: DTMF end
emulation of '9' queued on OOH323/172.17.135.2:1720-9915
[Jan 20 19:18:54] WARNING[20916]: chan_ooh323.c:1054 ooh323_indicate:
Don't know how to indicate condition 20 on ooh323c_o_21
[Jan 20 19:18:54] DTMF[20916]: channel.c:2783 __ast_read: DTMF end '9'
received on SIP/464-00000011, duration 120 ms
[Jan 20 19:18:54] DTMF[20916]: channel.c:2823 __ast_read: DTMF end
accepted with begin '9' on SIP/464-00000011
[Jan 20 19:18:54] DTMF[20916]: channel.c:2839 __ast_read: DTMF end
passthrough '9' on SIP/464-00000011
[Jan 20 19:18:55] WARNING[20916]: chan_ooh323.c:1054 ooh323_indicate:
Don't know how to indicate condition 20 on ooh323c_o_21

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

---------------------------------------------------------------------- 
 (0118321) vmikhelson (reporter) - 2010-02-21 16:48
 https://issues.asterisk.org/view.php?id=16664#c118321 
---------------------------------------------------------------------- 
May213,

Tried the patch, ran into problems with 'make'.

Here are my steps:
1. wget
http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-addons-1.6.0-current.tar.gz
2. ungzipped/untarred to /usr/src/asterisk-addons-1.6.0.4
3. cd /usr/src/asterisk-addons-1.6.0.4
4. wget
'https://issues.asterisk.org/file_download.php?file_id=25367&type=bug' -O -
| patch -p0
5. make
6. received an error, details below.

Please advise.

I will submit h323_log with 394 sec. disconnect details later.

Thank you,
Vladimir



[root at pbx asterisk-addons-1.6.0.4]# wget
'https://issues.asterisk.org/file_download.php?file_id=25367&type=bug' -O -
| patch -p0
--2010-02-21 16:32:57-- 
https://issues.asterisk.org/file_download.php?file_id=25367&type=bug
Resolving issues.asterisk.org... 76.164.171.231
Connecting to issues.asterisk.org|76.164.171.231|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1105 (1.1K) [text/plain]
Saving to: `STDOUT'

100%[======================================>] 1,105       --.-K/s   in 0s

2010-02-21 16:32:58 (3.83 MB/s) - `-' saved [1105/1105]

patching file channels/ooh323c/src/ooq931.c
[1]+  Exit 127               
https://issues.asterisk.org/file_download.php?file_id=25367
[root at pbx asterisk-addons-1.6.0.4]# make
make[1]: Entering directory `/usr/src/asterisk-addons-1.6.0.4/channels'
   [CC] chan_ooh323.c -> chan_ooh323.o
   [CC] ooh323c/src/ooCmdChannel.c -> ooh323c/src/ooCmdChannel.o
   [CC] ooh323c/src/ooLogChan.c -> ooh323c/src/ooLogChan.o
   [CC] ooh323c/src/ooUtils.c -> ooh323c/src/ooUtils.o
   [CC] ooh323c/src/ooGkClient.c -> ooh323c/src/ooGkClient.o
   [CC] ooh323c/src/context.c -> ooh323c/src/context.o
   [CC] ooh323c/src/ooDateTime.c -> ooh323c/src/ooDateTime.o
   [CC] ooh323c/src/decode.c -> ooh323c/src/decode.o
   [CC] ooh323c/src/dlist.c -> ooh323c/src/dlist.o
   [CC] ooh323c/src/encode.c -> ooh323c/src/encode.o
   [CC] ooh323c/src/errmgmt.c -> ooh323c/src/errmgmt.o
   [CC] ooh323c/src/memheap.c -> ooh323c/src/memheap.o
   [CC] ooh323c/src/ootrace.c -> ooh323c/src/ootrace.o
   [CC] ooh323c/src/oochannels.c -> ooh323c/src/oochannels.o
   [CC] ooh323c/src/ooh245.c -> ooh323c/src/ooh245.o
   [CC] ooh323c/src/ooports.c -> ooh323c/src/ooports.o
   [CC] ooh323c/src/ooq931.c -> ooh323c/src/ooq931.o
ooh323c/src/ooq931.c:43: error: conflicting types for 'ooQ931Decode'
ooh323c/src/ooq931.h:338: error: previous declaration of 'ooQ931Decode'
was here
make[1]: *** [ooh323c/src/ooq931.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-addons-1.6.0.4/channels'
make: *** [channels] Error 2 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-21 16:48 vmikhelson     Note Added: 0118321                          
======================================================================




More information about the asterisk-bugs mailing list