Error in determining who is hung up in the queue_log

Get help with installing and running AsteriskNOW.

Moderators: Moderator, Support

Error in determining who is hung up in the queue_log

Postby shipitsin » Wed Apr 04, 2012 12:29 am

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".

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!
Posts: 4
Joined: Thu Aug 26, 2010 11:07 pm

Return to AsteriskNOW Support

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest