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. How To Get FOP2 To Monitor A VICIDIAL Server

How To Get FOP2 To Monitor A VICIDIAL Server

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 488 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.
  • T
    T
    Travis Lambert
    wrote on last edited by
    #1

    OK I have two servers, Server 1 is my FreePBX system that holds FOP2, server two is my dialer that I am wanting FOP2 to monitor. I can monitor everything on server 1 with FOP2, when I follow the instructions for the tutorial on monitoring multiple asterisk servers. I can not seem to get the server to connect to my Vicidial Server. Vicidial is using Asterisk 1.2.30.2, and my FreePBX is using Asterisk 1.4.33.1. All I am trying to due is simply monitor the asterisk that is running Vicidial. I have manually created the buttons like suggested with the remote extentions, configured the fop2.conf file, and the remote asterisk manager.conf. and I get an error when I run ./fop2_server -X 3 stating:


    ** MANAGER CONNECTION Couldn't connect to 99.X.X.12:5038 (Server 1)
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7563.

    Cannot send command to (unauthenticated or connection failed)

    ** MANAGER CONNECTION Connecting to 99.X.X.12:5038 (Server 1)
    ** MANAGER CONNECTION Couldn't connect to 99.X.X.12:5038 (Server 1)
    ** MANAGER CONNECTION Connecting to 99.X.X.12:5038 (Server 1)
    ** MANAGER CONNECTION Couldn't connect to 99.X.X.12:5038 (Server 1)


    My FOP2.CONF
    ; Server 1
    manager_host = 99.X.X.12 <--- This is pointing to my remote box
    manager_port = 5038
    manager_user = admin
    manager_secret = amp111

    user=705:705:dial,phonebook
    user=703:703:all:dial,transfer,spy,whisper,hangup,pickup,record,meetme,queueagent,phonebook
    user=706:706:dial,phonebook
    user=708:708:dial,phonebook
    buttonfile=buttons.cfg


    My Buttons.conf

    [SIP/705]
    type=extension
    extension=705
    label=Mark Low*
    mailbox=705@default
    context=from-internal
    queuecontext=from-queue
    extenvoicemail=*705@default
    privacy=none

    [SIP/706]
    type=extension
    extension=706
    label=Nick Mistakos*
    mailbox=706@default
    context=from-internal
    queuecontext=from-queue
    extenvoicemail=*706@default
    privacy=none

    [SIP/707]
    type=extension
    extension=707
    label=Carlos*
    mailbox=707@default
    context=from-internal
    queuecontext=from-queue
    extenvoicemail=*707@default
    privacy=none

    [SIP/708]
    type=extension
    extension=708
    label=Shawn Riley*
    mailbox=708@default
    context=from-internal
    queuecontext=from-queue
    extenvoicemail=*708@default
    privacy=none

    [SIP/703]
    type=extension
    extension=703
    label=Mike Lambert*
    mailbox=703@default
    context=from-internal
    queuecontext=from-queue
    extenvoicemail=*703@default
    privacy=none


    My Remote Asterisk manager.conf
    [admin]
    secret = amp111
    deny=0.0.0.0/0.0.0.0
    permit=99.X.X.12/255.255.255.248
    read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
    write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate


    can someone tell me if there is something that I am doing wrong? I have tried everything I no, and nothing is working. My remote extensions show up as green buttons on the FOP2 screen when I log in. but nothing is happening when the extension is being used. Yes I did buy the $40.00 Key to activate my program. Thanks if someone could help me.

    Travis Lambert

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

      Hello Travis,

      Asterisk in your remote server is refusing connections. Recheck the credentials and the permit lines to see if your remote ip is allowed to connect to the manager port.

      Best regards,

      1 Reply Last reply
      0
      • T
        T
        Travis Lambert
        wrote on last edited by
        #3

        Hello Nicolas,

        I just want to say thanks for your help. When you told me that my remote server was rejecting the connection. I start to think on the lines of a firewall. So I then checked my IP Tables on my Cent Box, and sure enough port 5038 was not listed as an exception in firewall tables. Once I added the exception in the IP Tables to allow port 5038 to pass traffic on everything seem to work just. If anyone has this issue with FOP2 connecting to a remote server, make sure that Linux firewall is allowing port 5038 to pass traffic other wise you will get an manger error message :

        [error message]
        ** MANAGER CONNECTION Connecting to X.X.X.X:5038 (Server 1)
        ** MANAGER CONNECTION Couldn't connect to X.X.X.X:5038 (Server 1)

        Thanks Nicolas, you did a really nice job on the interface, we really in joy F0P2 a lot better than F0P1.

        1 Reply Last reply
        0
        • T
          T
          Travis Lambert
          wrote on last edited by
          #4

          Is there a way to align the buttons in a certain order?

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

            The buttons will show as listed in the button config file, starting from the top left, with the exception of your logged in user extension that will appear first. If you change the order in the config file, it will be reflected in the display. If you want to visually group extensions, you can use the "group" directive in the button configuration.

            Best regards,

            1 Reply Last reply
            0
            • T
              T
              Travis Lambert
              wrote on last edited by
              #6

              So far every thing is seeming to run great, I will give you heads up if I run into any issues when I really put demand on the servers.I will try the button thing though later on in the week, I am programming on some other projects so I will post out to let you no. Thanks again for your help buddy...

              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