QueueMetrics > Running QueueMetrics

Agents currently logged in not parsed correctly

<< < (2/2)

QueueMetrics:
As you can see, names for SIP channels are like SIP/g-000040-0a338b80 and they do work; the problem is that in ADDMEMBER/REMOVEMEBER you have SIP/g-000040 so the last part is stripped off. How do you do the logins?

o.polterauer:
Hi,

the strange thing is, that in "Calls being processed" our accounts seam to work


This is why I think there must be some type of difference in the code parsing the account.

Here is our extension for login/logout


exten => _*77-.,n,System( echo "${EPOCH}|${UNIQUEID}|NONE|SIP/${SIPCHANINFO(peername)}|AGENTLOGOFF|-|${RV}" >> /var/log/asterisk/queue_log )

exten => _*77-.,n,System( echo "${EPOCH}|${UNIQUEID}|${queue${num}}|SIP/${SIPCHANINFO(peername)}|ADDMEMBER|-" >> /var/log/asterisk/queue_log )

Best regards,

Oliver

QueueMetrics:
Try to do the logins/logoffs as g-1234-1 instead of g-1234. Qm will stripo off the final "-1" and yiou should be OK.

o.polterauer:
Perfekt! Thank you for your help!


--- Quote from: QueueMetrics on January 18, 2011, 16:00:12 ---Try to do the logins/logoffs as g-1234-1 instead of g-1234. Qm will stripo off the final "-1" and yiou should be OK.


--- End quote ---

QueueMetrics:
 ;D

Nice to know it's fixed.

Navigation

[0] Message Index

[*] Previous page

Go to full version