[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:17:45 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:                     closed
Asterisk Version:           1.4.19 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-04-14 16:31 CDT
Last Modified:              2009-03-26 16:17 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?).
====================================================================== 

---------------------------------------------------------------------- 
 (0102265) svnbot (reporter) - 2009-03-26 16:17
 http://bugs.digium.com/view.php?id=12442#c102265 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 184391

_U  branches/1.6.0/
U   branches/1.6.0/apps/app_test.c

------------------------------------------------------------------------
r184391 | dvossel | 2009-03-26 16:17:45 -0500 (Thu, 26 Mar 2009) | 21
lines

Merged revisions 184389 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r184389 | dvossel | 2009-03-26 16:09:37 -0500 (Thu, 26 Mar 2009) | 14
lines
  
  Merged revisions 184388 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r184388 | dvossel | 2009-03-26 16:07:32 -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=184391 

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




More information about the asterisk-bugs mailing list