If your using agents, just add something like...
exten => 110,1,Exec(/usr/bin/local/writelog LOGIN ${EXTEN} ${TIMESTAMP})
exten => 110,2,AgentCallbackLogin(${CALLERIDNUM}|[EMAIL PROTECTED])
exten => 120,1,Exec(/usr/bin/local/writelog LOGOUT ${EXTEN} ${TIMESTAMP})
exten => 120,2,AgentCallbackLogin(${CALLERIDNUM})
110 is the login exte, 120 is the logout extension
Write a simple script writelog to do the writing, pass some agruments
with the data when they login. You could use an AGI script as well.
Adjust as needed for your situation.
--johann
Kyle Hagan wrote:
We have 60+ members loged into the queue and talking to 5-10k people a day.
I need a better way to track them loggin in and out. The queue_log gets
really big fast. And has data we dont need. Is there anyother way to
track when someone loges in and out. I can write to a different file
when they dial the number to login in the dial plan, but I dont see a
way to write to a file when they hangup, it doesnt continue in the dial
plan.
Kyle
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users