[asterisk-bugs] [Asterisk 0014844]: Asterisk call file has CDR always set to NO ANSWER

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 29 11:15:10 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14844 
====================================================================== 
Reported By:                ruddy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14844
Category:                   CDR/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-07 09:48 CDT
Last Modified:              2009-04-29 11:15 CDT
====================================================================== 
Summary:                    Asterisk call file has CDR always set to NO ANSWER
Description: 
I'm having a weird behaviour with outgoing calls generated by call file
into /var/spool/asterisk/outgoing

When the callee answers the call, and the call is forward to an extension
where we answer it, we still have 'NO ANSWER' as CDR disposition
====================================================================== 

---------------------------------------------------------------------- 
 (0103940) rmartinez (reporter) - 2009-04-29 11:15
 http://bugs.digium.com/view.php?id=14844#c103940 
---------------------------------------------------------------------- 
Hello.
I'm having the exact same problem.  I'm using Asterisk version 1.4.24.1
with manager running from another machine.  The manager try to make a call
as follows

Action: Originate\r\nChannel: SIP/PRUEBA/0056233418\r\nContext:
context-PRUEBA\r\nTimeout: 10000\r\nexten: s\r\nPriority: 1\r\n\r\n

the debug from the console is as follows : 

== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'admin' logged on from 10.0.0.207
     > Channel SIP/PRUEBA-09d5c090 was answered.
 -- Executing [s at context-PRUEBA:1] Set("SIP/PRUEBA-09d5c090",
"CALLERID(name=PRUEBA") in new stack
 -- Executing [s at context-PRUEBA:2] Set("SIP/PRUEBA-09d5c090",
"CALLERID(num)=") in new stack
 -- Executing [s at context-PRUEBA:3] Set("SIP/PRUEBA-09d5c090", "IND=1") in
new stack
 -- Executing [s at context-PRUEBA:4] Answer("SIP/PRUEBA-09d5c090", "") in
new stack
 -- Executing [s at context-PRUEBA:5] SetMusicOnHold("SIP/PRUEBA-09d5c090",
"default") in new stack
 -- Executing [s at context-PRUEBA:6] BackGround("SIP/PRUEBA-09d5c090",
"oruxintro") in new stack
 -- <SIP/PRUEBA-09d5c090> Playing 'oruxintro' (language 'en')
== Spawn extension (context-PRUEBA, s, 6) exited non-zero on
'SIP/PRUEBA-09d5c090'
== Manager 'admin' logged off from 10.0.0.207

I'm pretty sure that the call was answered (in fact i'm answering the
call).  But there is no trace from the call in the CDR, if i set to "yes"
the "unanswered" field in the cdr.conf i have the CDR but with "NO
ANSWER".

+---------------------+-------------------------+--------------+-----+----------------+--------------------------+------------+------------+------------------------------+----------+---------+-------------+----------+-------------+--------------+-----------+
| calldate            | clid                    | src          | dst |
dcontext       | channel                  | dstchannel | lastapp    |
lastdata                     | duration | billsec | disposition | amaflags
| accountcode | uniqueid     | userfield |
+---------------------+-------------------------+--------------+-----+----------------+--------------------------+------------+------------+------------------------------+----------+---------+-------------+----------+-------------+--------------+-----------+
| 2009-04-29 10:01:48 | PRUEBA                  |              | s   |
context-PRUEBA | SIP/PRUEBA-09d5c090      |            | BackGround |
oruxintro                    |       14 |       0 | NO ANSWER   |        3
|             | 1241013708.3 |           |
+---------------------+-------------------------+--------------+-----+----------------+--------------------------+------------+------------+------------------------------+----------+---------+-------------+----------+-------------+--------------+-----------+


Any ideas?
Ricardo.- 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-29 11:15 rmartinez      Note Added: 0103940                          
======================================================================




More information about the asterisk-bugs mailing list