Matt - Telcom Products
2005-Jan-13 07:30 UTC
[Asterisk-Users] Agentcallbackogin without any user input after extension is dialed.
Hello all, I'm trying to figure out if there is some way I can log agents in and out by just having them call an extension. Ideally I'd like to have it set up where each agent just dials an extension to log in and the same one or possibly another one to dial out. I got the logging in portion to work by not using a password in agents.conf , but the manual log out has me stumped. Any input would be appreciated. Thanks -Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050113/c4c3aade/attachment.htm
Florian Overkamp
2005-Jan-13 07:46 UTC
[Asterisk-Users] Agentcallbackogin without any user input after extension is dialed.
Hi,> -----Original Message----- > Hello all, I'm trying to figure out if there is some way I > can log agents in and out by just having them call an > extension. Ideally I'd like to have it set up where each > agent just dials an extension to log in and the same one or > possibly another one to dial out. I got the logging in > portion to work by not using a password in agents.conf , but > the manual log out has me stumped. Any input would be appreciated.Use the asterisk database with some smart dbget/dbput/dbdel statements to keep track your agents, then take a peek at http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20AgentCallbackL ogin (esp. the part 'Logging off the queue manually) and see how to automate that. Be aware: Depending on your current asterisk version agent states may or may not be valid after a restart, so after a restart your database entries might be out of sync with your agents. Florian
Todd Volz
2005-Jan-14 08:21 UTC
[Asterisk-Users] Agentcallbackogin without any user input after extension is dialed.
<html> <body> As found on the Asterisk Wiki (<a href="http://www.voip-info.org/wiki-Asterisk+cmd+AgentCallbackLogin" eudora="autourl">http://www.voip-info.org/wiki-Asterisk+cmd+AgentCallbackLogin</a>)<br><br> <font face="courier"> exten => 905,1,Dial(Local/999/n,,D(#)) <br> exten => 999,1,AgentCallbackLogin(${CALLERIDNUM}|'#') <br> exten => 999,2,Hangup <br><br> I don't understand why AgentCallbackLogin doesn't accept the "#" as a logout... <br><br> </font>It took me a while to find this also...<br><br> Todd Volz<br><br> <br> At 08:30 AM 1/13/2005, you wrote:<br> <blockquote type=cite class=cite cite=""><font face="arial" size=2>Hello all, I'm trying to figure out if there is some way I can log agents in and out by just having them call an extension. Ideally I'd like to have it set up where each agent just dials an extension to log in and the same one or possibly another one to dial out. I got the logging in portion to work by not using a password in agents.conf , but the manual log out has me stumped. Any input would be appreciated.<br> </font> <br> <font face="arial" size=2>Thanks<br> -Matt<br> </font>_______________________________________________<br> Asterisk-Users mailing list<br> Asterisk-Users@lists.digium.com<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" eudora="autourl">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br> To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" eudora="autourl">http://lists.digium.com/mailman/listinfo/asterisk-users</a> </blockquote></body> </html>