QueueMetrics > Outbound and QueueMetrics

Problem in outbound queue

<< < (6/6)

arturohg:
I think i fixed the problem.
I hardcoded the variable to the context. 


--- Quote ---exten => 20,1,Answer
exten => 20,2,NoOp( "QM: Logging on Agent/${AGENTCODE} to extension ${AGENT_EXT}@druid-user-telemarketing made by '${QM_LOGIN}'" )
exten => 20,3,AgentCallBackLogin(${AGENTCODE}||${AGENT_EXT}@druid-user-telemarketing)
exten => 20,4,Set(AGENTBYCALLERID_${AGENTCODE}=${AGENT_EXT},g)
exten => 20,5,System( echo "${EPOCH}|${UNIQUEID}|NONE|Agent/${AGENTCODE}|AGENTCALLBACKLOGIN|${AGENT_EXT}@druid-user-telemarketing" >> /var/log/asterisk/queue_log )
exten => 20,6,Hangup

--- End quote ---

but I also had to clear the variable with the logoff


--- Quote ---exten => 21,1,Answer
exten => 21,2,NoOp( "QM: Logging off Agent/${AGENTCODE} made by '${QM_LOGIN}' with ${AGENT_EXT}" )
exten => 21,3,System(asterisk -rx "agent logoff Agent/${AGENTCODE}")
exten => 21,4,Set(AGENTBYCALLERID_${AGENTCODE}=,g)
exten => 21,5,System( echo "${EPOCH}|${UNIQUEID}|NONE|Agent/${AGENTCODE}|AGENTCALLBACKLOGOFF|${AGENT_EXT}@druid-user-telemarketing|${LOGONTIME}|CommandLogoff" >> /var/log/asterisk/queue_log )
exten => 21,6,Hangup

--- End quote ---

I hope this helps

QueueMetrics:
 ;D

Navigation

[0] Message Index

[*] Previous page

Go to full version