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. 2 probs, fop2 unregisters and anonymous call when capturing

2 probs, fop2 unregisters and anonymous call when capturing

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 140 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.
  • S
    S
    servo
    wrote on last edited by
    #1

    So I have these 2 separate issues, and it would be great if someone could enlighten me.

    First: couple months ago I changed the server name from the generic localhost.localdomain to another name, since then, when the server has to be restarted for whatever reason I end up having to re-register FOP2. Sometimes the service just stops (very rare, only happened twice), and asks for registration once I start it back again.

    Second: When someone uses FOP2 to capture a call on another extension, it ends up changing the number which originally appeared correctly to "anonymous", not sure if it is meant to work like this or if there's something in the configuration that is not set up right.

    Overall I'm very happy with FOP2, its just these two things that keep bugging me, any advice or help would be greatly appreciated.
    Thanks.

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

      If your hostname changes with every reboot, then you will lose registration. What is the ouutput from:

      /usr/local/fop2/fop2_server --test

      when you lose it? Does the license error includes (h) ? If so, then your hostname change is not "fixed", somehow the hostname on the server is being changed on every reboot (or at least changed since the last registration was made). So, having a stable hostname should solve that issue.

      As for the callerid on pickup, fop2 does not change callerids in any way. If it pickups a call it uses the Pickup manager action (that does not take callerid as a parameter). And whatever clid you see on buttons you see it because it appears on the AMI events themselves. FOP2 does not have "anonymous" on its code, that came from Asterisk events. Maybe a call pickup messed with the callerid internally in asterisk and the AMI events shows it as "anonymous"... it is hard to tell. The only way to verify would be by capturing the AMI events by setting debug level 15 to the fop2 server, and then inspecting the log and see those events after the pickup is done.

      1 Reply Last reply
      0
      • S
        S
        servo
        wrote on last edited by
        #3

        Thanks for answering so quickly,

        This is the output:

        [root@voip ~]# /usr/local/fop2/fop2_server --test
        Flash Operator Panel 2 - Valid License (1)
        /usr/local/fop2/autoconfig-buttons-freepbx.sh: line 17: [: too many arguments
        Connection to manager OK!

        Its really weird, because it doesn't seem change the hostname or restart, or at least not that I have noticed, ill take another look at it but I have not changed it since the first time that I mentioned.

        Now when I lose the licence, I don't really see any errors, it just shows me the "free trial" version of FOP2 with up to 15 (?) buttons, that's when I notice something is wrong.

        On the second topic, I guess it might not be related to FOP2 since it doesn't change anything as you stated, thanks for clarifying that for me.

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

          Run --test when you notice that it reverts to demo mode, and check the output at that moment.

          You should have notice that error on line 17, you can fix it by following instructions from this post:

          View Post 3587

          Best regards,

          1 Reply Last reply
          0
          • S
            S
            servo
            wrote on last edited by
            #5

            Hi, been waiting for the weekend to restart the server manually and provide the output, and yes it gives me the (h) error.

            [root@voip ~]# /usr/local/fop2/fop2_server --test
            Flash Operator Panel 2 - Invalid license for this install (h). Demo Mode
            Connection to manager OK!
            

            I changed the name again, from voip.domain.local to just voip

            After that, I tried a few times to re-register, but its now giving me an error saying: "Serial code not available for registration!"

            Not sure what to do about that right now.

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

              You cannot --register without --revoke done first. So, try --revoke, and then --register.

              And check why your hostname is being changed after every boot, it should remain the same.

              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