Queue Logs

Up
0
Down
  • Post
    Htun Min Myat
    Participant

    I want to show queue member name instead of extension number in queue logs.

    Example; 1589004083|1589004080.21288|Q4444|12345|ADDMEMBER|

                    1589004083|1589004080.21288|Q4444|Mr.Name|ADDMEMBER|

     

    So, I edited dial plan, that is working, but when we install some add-on, dial plan configuration file is changed to *.conf.rpmsave and auto roll back to primary.

    So, May I request this feature as default on new release.

    —————————————————————————————————————————————————————

    Dial Plan Configuration Example;

    ;CALL CENTER VER. 1.0.0
    ;——————————————————————-
    [sub-queue-agent]
    exten => s,1,Verbose(LOGIN/LOGOUT QUEUE MEMBER)
    same => n,Answer
    same => n,Wait(1)
    same => n,Set(QUEUE_NUMBER=${ARG1})
    same => n,GotoIf($[“${QUEUE_NUMBER}”=””]?:continue)
    same => n(read_q_number),Read(QUEUE_NUMBER,please-enter-the&vpbx/vital-agent-queue-number&followed_pound)
    same => n,GotoIf($[“${QUEUE_NUMBER}”=””]?read_q_number)
    same => n(continue),NoOp()
    same => n,Set(QUEUE_NAME=${DB(${TENANT}/queues/${QUEUE_NUMBER}/name)})
    same => n,GotoIf($[“${QUEUE_NAME}”=””]?read_q_number)
    same => n,GotoIf(${QUEUE_EXISTS(${QUEUE_NAME})}?:read_q_number)
    same => n,Set(MEMBER_TYPE=${DB(${TENANT}/queues/${QUEUE_NUMBER}/member/${CALL_SOURCE}/type)})
    same => n,GosubIf($[“${MEMBER_TYPE}”=”dynamic”]?:no-member,1)
    same => n,Set(QUEUE_MEMBER=${DB(${TENANT}/extensions/${CALL_SOURCE}/name)})
    same => n,Set(MEMBER_PENALTY=${DB(${TENANT}/queues/${QUEUE_NUMBER}/member/${CALL_SOURCE}/penalty)})
    same => n,Set(CoS=${DB(${TENANT}/extensions/${CALL_SOURCE}/context)})
    same => n,Set(INTERFACE=Local/${CALL_SOURCE}@${CoS})
    same => n,Set(LOGIN_STATUS=${DEVICE_STATE(Custom:QAL_${CALL_SOURCE}_${QUEUE_NUMBER})})
    same => n,GotoIf($[“${LOGIN_STATUS}”=”BUSY”]?turn_off)
    same => n,AddQueueMember(${QUEUE_NAME},Local/${CALL_SOURCE}@${QUEUE_AGENTS_CONTEXT}/n,${MEMBER_PENALTY},,${QUEUE_MEMBER},hint:${CALL_SOURCE}@${HINTS_CONTEXT})
    same => n,ExecIf($[“${AQMSTATUS}”=”ADDED”]?Set(DEVICE_STATE(Custom:QAL_${CALL_SOURCE}_${QUEUE_NUMBER})=BUSY):Goto(invalid))
    same => n,Playback(vpbx/vital-agent-login)
    same => n,Goto(end)
    same => n(turn_off),RemoveQueueMember(${QUEUE_NAME},${INTERFACE});Legacy
    same => n,RemoveQueueMember(${QUEUE_NAME},Local/${CALL_SOURCE}@${QUEUE_AGENTS_CONTEXT}/n)
    same => n,Set(DEVICE_STATE(Custom:QAL_${CALL_SOURCE}_${QUEUE_NUMBER})=NOT_INUSE)
    same => n,Set(DEVICE_STATE(Custom:QAP_${CALL_SOURCE}_${QUEUE_NUMBER})=NOT_INUSE)
    same => n,Playback(vpbx/vital-agent-logoff)
    same => n,Goto(end)
    same => n(invalid),Playback(invalid)
    same => n(end),Hangup()

    exten => no-member,1,NoOp(No Dynamic Member)
    same => n,Playback(vpbx/vital-queue-no-dyn-member)
    same => n,Hangup()

    ————————————————————————————————————————————————————————–

    Add Variable >> same => n,Set(QUEUE_MEMBER=${DB(${TENANT}/extensions/${CALL_SOURCE}/name)})

    Change AddQueueMember >> ${CALL_SOURCE} to ${QUEUE_MEMBER}

    ————————————————————————————————————————————————————————-

    Thanks.

    0
Viewing 1 replies (of 1 total)
  • Replies

    On your stats system, try to get the extensions name for VitalPBX database, instead of changing the dial plan.

    0
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.