[asterisk-dev] Attended transfers in queue_log

Tomás Laureano Peralta Tormey tomas.laureano.peralta.tormey at gmail.com
Thu Jun 12 21:01:46 CDT 2008


On Thu, Jun 12, 2008 at 7:07 PM, Mark Michelson <mmichelson at digium.com> wrote:
> Atis Lezdins wrote:
>> On Thu, Jun 12, 2008 at 7:47 PM, Mark Michelson <mmichelson at digium.com> wrote:
>>> I just finished merging a change into the trunk branch which corrects a
>>> long-standing deficiency of the queue_log: the inability to log attended transfers.
>>>
>>> A bit of background: prior to the merge, a blind transfer made by a queue member
>>> would show up in the queue_log as a TRANSFER event. Attended transfers, however,
>>> due to the limitations of what information was available to app_queue, did not
>>> log a TRANSFER event. Instead, they appeared as a COMPLETECALLER event. With the
>>> recent addition of a "fixup" phase to datastores during channel masquerades, I
>>> realized that this could facilitate a means by which to correctly log an
>>> attended transfer in the queue_log. Yesterday, I created a branch to make this a
>>> reality and this morning I merged the branch into trunk.
>>>
>>> Now the question arises: should this change also be merged into 1.4? My thinking
>>> is that the majority of users would be very happy to see attended transfers
>>> properly logged in the queue_log. The big thing holding me back right now is
>>> that there are many third-party applications that use the data in the queue_log
>>> to generate statistics. While I don't know of the specifics of these
>>> applications' internals, I know that any sort of change to what is expected may
>>> cause problems. To any who have written such apps, would such a change cause a
>>> problem? Would it actually be helpful? Thanks in advance for your replies.
>>
>> Hello,
>>
>> Just saw the commit. No opinion upon merging in 1.4 (however this
>> sounds like a feature).
>>
>> I just wanted to add, that maybe it would be better to somehow
>> separate blind and attended transfers. Btw, from my understanding of
>> code, queue log entry will have duration until completion  of attended
>> transfer, wouldn't it be better to use duration until start of
>> attended transfer? Or just log both, that way it would be distinct
>> from blind transfer.
>>
>> Regards,
>> Atis
>
> It would be trivial to change the names of the TRANSFER messages in the log to
> TRANSFER(BLIND) and TRANSFER(ATTENDED) or something similar in trunk. If I were
> to backport this to 1.4 though, I would not add the clarification due to the
> third party tools which use the queue_log as their input source.

This change would involve splitting the TRANSFER event into two new
events? Or adding a new parameter to the TRANSFER event?
I would suggest the second option, to keep compatibility with older
versions and the call center statistics collectors.

Best regards, Tomás.



More information about the asterisk-dev mailing list