QueueMetrics > Outbound and QueueMetrics

outboun calls

<< < (6/11) > >>

QueueMetrics:
For outbound use any piece of code that works - for LISTENING TO OUTBOUND instead add the piece of code I told you about.

emel_punk:
Sorry but it doesnt work to me..  i mean... the icon its now apperaring but if i put the extension where i want to send the call nothing happen  :'(

QueueMetrics:
That's likely because the channel name in the ChanSpy is wrong.

Try this:
- when the call is ongoing, enter a show channels; so you know how the channel is called.
- edit the ChanSpy line so that it matches said channel

emel_punk:
first of all i put  the piece of code you gave me at  context


[queuemetrics]
.
.
.
.
code...

then  i did what you told me
servidor*CLI> show channels
Channel              Location             State   Application(Data)
SIP/spa400-0951c020  (None)               Up      AppDial((Outgoing Line))
SIP/111-b7203638     76538300@from-intern Up      Dial(sip/spa400/6538300||g)


i want to spy  the channel  SIP/111-b7203638 so i guest i should change  this piece of code

exten => 14,6,ChanSpy(Local/${QM_AGENT_CODE:6}@from-internal)

for this

exten => 14,6,ChanSpy(sip/${CALLERID(num)}@from-internal)

and  if  its not wrong what i did, but  stiil not working :S ???

ohh and iim using the agi queuedial.agi like this

exten => _7XXXXXXX,1,answer
exten => _7XXXXXXX,n,set(anagent=${AGENTBYCALLERID_${CALLERID(NUMBER)}})
exten => _7XXXXXXX,n,gotoif($["${anagent}"!="")]?marcarag)
exten => _7XXXXXXX,n,goto(from-internal,${EXTEN:1}|)
exten => _7XXXXXXX,n(marcarag),DEADAGI(queueDial.agi|${EXTEN:1}|sip/spa400/${EXTEN:1}|350|Agent/${anagent})
exten => _7XXXXXXX,n,hangup


so  ???

QueueMetrics:
If in QM you see the agent as Agent/111, you should change it to:


--- Code: ---exten => 14,6,ChanSpy(sip/${QM_AGENT_CODE:6})
--- End code ---


The agent code being chanspied on is passed in the ${QM_AGENT_CODE} variable by QM.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version