[Home]

Summary:ASTERISK-19635: Hangup is always recorded in queue_log as COMPLETECALLER when 'h' extension is present
Reporter:Shipitsin Igor (shipitsin)Labels:Regression
Date Opened:2012-04-04 06:56:37Date Closed:2013-01-15 09:14:09.000-0600
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:CDR/General
Versions:1.8.11.0 Frequency of
Occurrence
Related
Issues:
duplicatesASTERISK-20743 Queue Log - All Calls End With COMPLETECALLER When h Extension Is Present
Environment:Attachments:( 0) debug_bug.txt
( 1) debug_rem_h.txt
Description:AsteriskNOW 2.0 ( 1.8.10 and above, FreePBX 2.10 )

Completion of any call in the queue is recorded in the queue_log as COMPLETECALLER.
Correct operation is restored if we exclude from the context [ext-queues] processing exten - "h".

[ext-queues]
exten => 4599,1,Macro(user-callerid,)
exten => 4599,n,Answer
exten => 4599,n,Macro(blkvm-set,reset)
exten => 4599,n,ExecIf($["${REGEX("(M[(]auto-blkvm[)])" ${DIAL_OPTIONS})}" != "1"]?Set(_DIAL_OPTIONS=${DIAL_OPTIONS}M(auto-blkvm)))
exten => 4599,n,Set(__NODEST=${EXTEN})
exten => 4599,n,Set(__MIXMON_FORMAT=wav)
exten => 4599,n,Gosub(sub-record-check,s,1(q,4599,always))
exten => 4599,n,Set(__MOHCLASS=default)
exten => 4599,n,QueueLog(4599,${UNIQUEID},NONE,DID,${FROM_DID})
exten => 4599,n,Queue(4599,t,,)
exten => 4599,n,Macro(blkvm-clr,)
exten => 4599,n,Gosub(sub-record-cancel,s,1())
exten => 4599,n,Set(__NODEST=)
exten => 4599,n,Goto(app-blackhole,hangup,1)
exten => 4599*,1,Macro(agent-add,4599,)
exten => 4599**,1,Macro(agent-del,4599)
exten => *454599,1,Set(QUEUENO=4599)
exten => *454599,n,Goto(app-queue-toggle,s,start)
;!!!! exten => h,1,Macro(hangupcall,)!!!!!!!
;--== end of [ext-queues] ==--;


If use exten - "h" ,procedure - "channel.c: Soft-Hanging up channel" is performed before writing to the queue_log.
if not, after.

on the version asterisk-1.8.7 it worked well.
what could be the reason?
Thank you!
Comments:By: Matt Jordan (mjordan) 2013-01-15 09:14:09.159-0600

Duplicate of ASTERISK-20743.