[asterisk-bugs] [Asterisk 0013793]: app_dial doesn't report back DIALSTATUS, ANSWEREDTIME and DIALEDTIME
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Oct 28 10:32:24 CDT 2008
The following issue requires your FEEDBACK.
======================================================================
http://bugs.digium.com/view.php?id=13793
======================================================================
Reported By: greenfieldtech
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13793
Category: Applications/app_dial
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 152286
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-10-28 09:58 CDT
Last Modified: 2008-10-28 10:32 CDT
======================================================================
Summary: app_dial doesn't report back DIALSTATUS,
ANSWEREDTIME and DIALEDTIME
Description:
When performing a dial from the dialplan, upon disonnection the normal
termination status variables are not set on the channel.
Following below is a dumpchan showing that the variables are missing:
-- Executing [s at macro-hangupcall:11]
Hangup("Local/0732555999 at from-internal-93e6,2", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'Local/0732555999 at from-internal-93e6,2' in macro 'hangupcall'
== Spawn h extension (macro-hangupcall, s, 11) exited non-zero on
'Local/0732555999 at from-internal-93e6,2'
== Spawn extension (macro-hangupcall, s, 19) exited non-zero on
'Local/0732555999 at from-internal-93e6,2' in macro 'dialout-trunk'
== Spawn extension (macro-hangupcall, s, 19) exited non-zero on
'Local/0732555999 at from-internal-93e6,2'
-- Channel 0/23, span 1 got hangup request, cause 16
-- Executing [h at seocfwd_dial_extension:1] DumpChan("Zap/23-1", "") in
new stack
Dumping Info For Channel: Zap/23-1:
================================================================================
Info:
Name= Zap/23-1
Type= Zap
UniqueID= 1225207506.2
CallerID= 0546982826
CallerIDName= 0546982826
DNIDDigits= 0732557741
RDNIS= (N/A)
State= Up (6)
Rings= 1
NativeFormat= 0x48 (alaw|slin)
WriteFormat= 0x48 (alaw|slin)
ReadFormat= 0x48 (alaw|slin)
1stFileDescriptor= 31
Framesin= 388
Framesout= 95
TimetoHangup= 0
ElapsedTime= 0h0m7s
Context= seocfwd_dial_extension
Extension= h
Priority= 1
CallGroup=
PickupGroup=
Application= DumpChan
Data= (Empty)
Blocking_in= (Not Blocking)
Variables:
BRIDGEPEER=Zap/1-1
DIALEDPEERNUMBER=0732555999 at from-internal
DIALEDPEERNAME=Local/0732555999 at from-internal-93e6,1
did_exten=0
AGISTATUS=SUCCESS
DID_EXTEN_0=0732555999
VIP_ACTIVE=1
id_session=4073a9b0d366bc7fb733a11b884b3835
OUT_PREFIX=
OUT_TRUNK=g2
OUT_TECH=ZAP
INBOUND_DID=0732557741
CALLINGPRES_SV=allowed
FAX_RX=disabled
LOOKUPBLSTATUS=NOTFOUND
FROM_DID=0732557741
MACRO_DEPTH=1
CHAN=23
DID=0732557741
CALLEDTON=65
ANI2=0
TRANSFERCAPABILITY=SPEECH
================================================================================
-- Executing [h at seocfwd_dial_extension:2] Set("Zap/23-1",
"CDR_LastState=EXTEN_SET_0732555999_") in new stack
-- Executing [h at seocfwd_dial_extension:3] DeadAGI("Zap/23-1",
"agiWrapper.agi|SEO_CFWD^db_registerCDR") in new stack
In previous versions, DIALSTATUS, ANSWEREDTIME and DIALEDTIME were
reported back to the channel structure, allowing for processing in the "h"
extension upon hangup.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2008-10-28 10:32 blitzrage Status new => feedback
======================================================================
More information about the asterisk-bugs
mailing list