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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed May 28 03:55:25 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12694 
====================================================================== 
Reported By:                yraber
Assigned To:                
====================================================================== 
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:             05-21-2008 02:43 CDT
Last Modified:              05-28-2008 03:55 CDT
====================================================================== 
Summary:                    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.
====================================================================== 

---------------------------------------------------------------------- 
 yraber - 05-28-08 03:55  
---------------------------------------------------------------------- 
I tested the patch, here are the results :

1) On BUSY, it's working. The CDR is right.

2) There is still a problem with the NO ANSWER case, this is what I get on
the CLI (I set a WaitTime to 10sec in the call file)

*CLI> [May 28 10:59:33] NOTICE[28596]: pbx_spool.c:341 attempt_thread:
Call failed to go through, reason (0) Call Failure (not BUSY, and not
NO_ANSWER, maybe Circuit busy or down?)

The iax debug is attached. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-28-08 03:55  yraber         Note Added: 0087404                          
======================================================================




More information about the asterisk-bugs mailing list