Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. FreePBX - Users not created automatically

FreePBX - Users not created automatically

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 84 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    M
    mag
    wrote on last edited by
    #1

    I've setup a system using FreePBX 2.6 and fop2.

    Everything works fine, except that users are not created automatically on fop2.

    I have the fop2 freePBX module as well as confirmed the the line
    #exec autoconfig-users-freepbx.sh
    is in my fop2.cfg file.

    Any hints on getting these users created automatically?
    Also, any way of these new users to have different permissions than "all" - they don't have to be different for everybody, just not all.

    Thx

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Run the autoconfig-users-freepbx.sh script by hand in the linux command line and look at the output. There might be some kind of error that is preventing the users from being generated:

      /usr/local/fop2/autoconfig-users-freepbx.sh

      Best regards,

      1 Reply Last reply
      0
      • M
        M
        mag
        wrote on last edited by
        #3

        I ran autoconfig-users-freepbx.sh manually and it did not have any errors. All it did was repeat the information of an already (manually) entered user.

        marq-qbx fop2 # ./autoconfig-users-freepbx.sh
        user=100:4511400:dial,hangup,pickup,transfer,phonebook:
        buttonfile=autobuttons.cfg
        marq-qbx fop2 #
        
        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          Did you enable voicemail for your extensions? If you do not have it enabled, the users need to be entered manually as you did.

          1 Reply Last reply
          0
          • M
            M
            mag
            wrote on last edited by
            #5

            Yes, voicemail is entered for all but 2 extensions.

            I have run the initial parts of the script manually - getting the database names, credentials and they give correct values.
            Also running through the eval vociemail.conf file gives

            Fop2Clave[875]=4123;
            Fop2Clave[876]=0222842;
            Fop2Clave[878]=99878;
            Fop2Clave[879]=99879;
            Fop2Clave[899]=99899;
            Fop2Clave[268]=2495;
            Fop2Clave[880]=99880;
            Fop2Clave[426]=99426;

            The first mysql command also runs correctly, meaning that the database credentials are correct.

            I have no fop2groups created - do these need to be created before the script will work?

            1 Reply Last reply
            0
            • M
              M
              mag
              wrote on last edited by
              #6

              No solution to this? Do I have to create 70+ users manually?

              1 Reply Last reply
              0
              • N
                N
                nicolas
                wrote on last edited by
                #7

                Did you install the fop2 admin module? If that is the case, and the install was done before creating the extensions, you will have to create the users from the web gui. Anyways it is really easy, as you have to click Add User - Save - Add User - Save. So yes, you will have to create the users by hand. Or you can just add them to the fop2users mysql table by hand.

                Best regards,

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups