[asterisk-bugs] [Asterisk 0012694]: [patch] Bad disposition on originated IAX2 calls

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 25 16:41:06 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12694 
====================================================================== 
Reported By:                yraber
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   12694
Category:                   Applications/app_cdr
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-05-21 02:43 CDT
Last Modified:              2008-11-25 16:41 CST
====================================================================== 
Summary:                    [patch] Bad disposition on originated IAX2 calls
Description: 
When using asterisk manager or a call files to originate a IAX2 call,
disposition in cdr is always FAILED on unanswered calls (BUSY, NO ANSWER or
FAILED).

* I was able to reproduce this with asterisk manager and call files, it
makes no difference.
* The problem does not appear when originating to a SIP trunk.
* The problem does not appear if the call is externally originated (a SIP
phone i.e.).

I've attached a IAX debug for the simplest case I could think about :
originating a call with a call files, and the called line was busy on
purpose. This resulted in a FAILED disposition in the CDR, who should
obviously be BUSY.
====================================================================== 

---------------------------------------------------------------------- 
 (0095520) svnbot (reporter) - 2008-11-25 16:41
 http://bugs.digium.com/view.php?id=12694#c95520 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 159316

U   branches/1.4/channels/chan_iax2.c
U   branches/1.4/main/cdr.c

------------------------------------------------------------------------
r159316 | murf | 2008-11-25 16:41:05 -0600 (Tue, 25 Nov 2008) | 15 lines

(closes issue http://bugs.digium.com/view.php?id=12694)
Reported by: yraber
Patches:
      12694.2nd.diff uploaded by murf (license 17)
Tested by: murf, laurav

Thanks to file (Joshua Colp) for his IAX fix.

the change to cdr.c allows no-answer to percolate
up into CDR's, and feels like the right place to
locate this fix; if BUSY is done here, no-answer
should be, too.



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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-25 16:41 svnbot         Checkin                                      
2008-11-25 16:41 svnbot         Note Added: 0095520                          
======================================================================




More information about the asterisk-bugs mailing list