[asterisk-bugs] [Asterisk 0012442]: pri loop TestClient/TestServer fails: server SEND DTMF 8

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 26 16:07:34 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12442 
====================================================================== 
Reported By:                tzafrir
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   12442
Category:                   Applications/app_test
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.19 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-04-14 16:31 CDT
Last Modified:              2009-03-26 16:07 CDT
====================================================================== 
Summary:                    pri loop TestClient/TestServer fails: server SEND
DTMF 8
Description: 
I connect a loop between two PRI ports (one is net and one is CPE). The
channels in the "net" part go into a context in which extension 224 runs
TestServer() . Channel 35 is one of the channels of the CPE port.

I run:

originate Zap/35/224 application TestClient 35

Expected result: a successful test.

Actual result: TestClint succeds. TestServer fails at 'SEND DTMF 8'. It
seems that the channel is hung up before the DTMF is properly sent.

Workaround: add a sleep of one second in testclient_exec right after
identifying the DTMF 8 and efore hanging up. This seems to work, but I'm
not sure why the whole thing suddenly broke. Hence I don't consider it a
patch (yet?).
====================================================================== 

---------------------------------------------------------------------- 
 (0102262) svnbot (reporter) - 2009-03-26 16:07
 http://bugs.digium.com/view.php?id=12442#c102262 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 184388

U   branches/1.4/apps/app_test.c

------------------------------------------------------------------------
r184388 | dvossel | 2009-03-26 16:07:33 -0500 (Thu, 26 Mar 2009) | 8 lines

pri loop TestClient/TestServer fails: server SEND DTMF 8

app_test was failing when sending the last DTMF digit, 8, because of the
100ms pause issued after DTMF is sent.  During this pause the other side
would hang up causing the test to look like it failed. Now the other side
waits a second before hanging up.

(closes issue http://bugs.digium.com/view.php?id=12442)
Reported by: tzafrir


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=184388 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-26 16:07 svnbot         Checkin                                      
2009-03-26 16:07 svnbot         Note Added: 0102262                          
======================================================================




More information about the asterisk-bugs mailing list