Author Topic: creating agents/users from script  (Read 2687 times)

qmax

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 0
  • Asterisk-11.7.0-ubuntu, Queuemetrics-15.10.1-tgz
    • View Profile
    • Email
creating agents/users from script
« on: November 12, 2009, 13:13:33 »
Hello.
We maintain our agents in external database tables
(not asterisk).
I want to automate creating agents from these tables.

Can you please provide SQL to create agents and users directly in mysql database ?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: creating agents/users from script
« Reply #1 on: November 13, 2009, 09:08:43 »
Have a look at the agentLoader.pl script under WEB-INF\mysql-utils

qmax

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 0
  • Asterisk-11.7.0-ubuntu, Queuemetrics-15.10.1-tgz
    • View Profile
    • Email
Re: creating agents/users from script
« Reply #2 on: November 13, 2009, 11:15:22 »
thanks alot!
that's exactly what i was looking for.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: creating agents/users from script
« Reply #3 on: November 13, 2009, 17:41:33 »
 8)