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. Plugins
  3. Connect contacts/phonebook Yeastar S50 to FOP2 database

Connect contacts/phonebook Yeastar S50 to FOP2 database

Scheduled Pinned Locked Moved Plugins
17 Posts 3 Posters 367 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.
  • N
    N
    nicolas
    wrote on last edited by
    #7

    Hi,

    I posted a valid example of a file in my first reply, check your csv from excel, verify that separator fields are like the example, if not convert them, add the header on the first line indicating each field, and try again.

    1 Reply Last reply
    0
    • V
      V
      Victor_Maxx
      wrote on last edited by
      #8

      Hello Nicolas,
      The problem was that Excel used ";" as a seperator instead of ",", now the csv file could be imported. Importing them into the 'Contacts' was successfull, 132 records added but none of the imported contacts are shown in the contacts list!

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

        Do you have the 1st header line as in the example?

        1 Reply Last reply
        0
        • V
          V
          Victor_Maxx
          wrote on last edited by
          #10

          This is the first line:
          firstname,lastname,company,Address,email,Phone1,Phone2,Other Number

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

            You might want to check if you have entries in the visual_phonebook mysql table, with the command

            mysql -u root -p asterisk -e "select count(*) from visual_phonebook"
            

            You need to enter mysql root password to get the result.. does it show 132 records or similar? or zero?

            1 Reply Last reply
            0
            • V
              V
              Victor_Maxx
              wrote on last edited by
              #12

              This command gives this error:
              Error 1049 (42000): Unknown database 'asterisk'

              1 Reply Last reply
              0
              • N
                N
                nicolas
                wrote on last edited by
                #13
                mysql -u root -p fop2 -e "select count(*) from visual_phonebook"
                
                1 Reply Last reply
                0
                • V
                  V
                  Victor_Maxx
                  wrote on last edited by
                  #14

                  Hello Nicolas,
                  This is the output from that command:
                  count(*)
                  1
                  This is the user which I entered manually in fop2..
                  So, it seems that the import didn't succeed regardless of the succesfull import of 132 records (green) message

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

                    Hi,

                    Can you send me in private your csv file so I can try it myself?

                    1 Reply Last reply
                    0
                    • V
                      V
                      Victor_Maxx
                      wrote on last edited by
                      #16

                      Hello Nicolas,
                      Did you receive the file?
                      Victor

                      1 Reply Last reply
                      0
                      • J
                        J
                        Jay
                        wrote on last edited by
                        #17

                        Hello Nicolas,
                        How are you?
                        I'm sorry I have a concern why I cannot login my server http://ipaddress/fop2 with credentials created on FOP2 manager http://ipaddress/fop2/admin, I check database and it's added there. The only way to login is to use the details I added in file /usr/local/fop2/fop2.cfg with format like 123:123:all, I have been struggling for this case for some days but still didn't figure it out, hope you can assist me on this

                        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