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. Remote server do not show any events

Remote server do not show any events

Scheduled Pinned Locked Moved Support
24 Posts 2 Posters 178 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.
  • J
    J
    jrecho
    wrote on last edited by
    #1

    Hi I am able to connect to the remote server and by telnet and When I do a test connection or run fop2 in debug mode I get this error can you help please

    x.x.x.x <- Asterisk Call Manager/1.0
    x.x.x.x <- Response: Success
    x.x.x.x <- Challenge: 121003804
    x.x.x.x <- Server: 2
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 5838.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 5841.

    I also have your very first version and am running freePBX 2.9 and was wondering if you had an upgrade available keep in mind that I have a lot con custom button.cfg files.

    Thanks.

    1 Reply Last reply
    0
    • J
      J
      jrecho
      wrote on last edited by
      #2

      I got the issue fixed because it was an error in the login but now that I have this working

      I do not hear the conversation of the barged in extension. This is on a different server. For some reason I can click on the extension my phone rings and I hear nothing at all.

      Any help would be appreciated

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

        Setting up chanspy from across servers it is not an easy task. You must use the correct server entry for the button configuration, so the origination is done on the target server.. originatechannel must be set to Local/xxxx@from-internal and the dialplan on the remote box should point xxxx@from-internal to the other server.

        Be sure you specify the server in the button configuration and that you are using originatechannel as Local/xxxx and that your dialplan in both servers is in sync.

        Best regards,

        1 Reply Last reply
        0
        • J
          J
          jrecho
          wrote on last edited by
          #4

          the buttons are noy the issue since i see when they are on a call when they are ringing but the only thing i can not do is hear when i click on ch spy. everything else works i can hang up a call on the other server i can do a call everything work just no soound

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

            One thing is button status, and another thing is performing actions across servers. Forget about fop2, first think on your setup locally. If you have two servers, you must have a dialplan that lets you dial from one server to the other and viceversa. In that dialplan, extensions MUST be unique and dial should be done directly with no prefixes if you plan to use fop2 to spy other servers extensions.

            Your extension is on server A
            The extension you intend to spy on is on server B

            In that case, chanspy must be performed on server B, using Local/xxxx as the originator of the command, where xxxx is the extension you must dial from server B so your extension on server A rings. So, originatechannel for your extension must be set to Local/xxxx.

            If on server A you dial yyyy to ring your extension, and on server B you dial xxxx, then it will not work with fop2 as you expect.

            And finally, chanspy sometimes does not work. If the chanspy command is issued on the correct server, using local/xxx to ring the remote server extension, everything else is setup but you get no sound. then it is not a fop2 issue, but an asterisk/networking/chanspy issue. fop2 is the command center, once the command is launched, from then on is asterisk/network/setups.

            Best regards,

            1 Reply Last reply
            0
            • J
              J
              jrecho
              wrote on last edited by
              #6

              as to the extension yes I dial the extension number I can in your system put a number click dial and my extension will dial the number on the remote server.

              But my issue is channel spy this is a small asterisk appliance by www.zycoo.com zx50. Using Busybox running asterisk 1.4.4.

              Hope you can help

              1 Reply Last reply
              0
              • J
                J
                jrecho
                wrote on last edited by
                #7

                I have tested each server individually and Remote server A can listen to extension hosted on their server using FOP2 hosted on server B and the same issue with server C we can do everything we can call between server A,B and C dialing XXX, XXX, XXX no YYY. Can see what they are doing on the buttons all events are working. I can hangup a conversation going on Server A from Server B where FOP2 is installed. But the only function that does not work is listening to the conversation.

                What I did not understand from your prevues post is do I need to create the same extension as to server A on my FOP2 server B. i.e Server a is running ext 4XX server B is running ext 1XX and server C is running 2XX then I have IAX and SIP trunks between them do I need to recreate the extension on the FOP2 server I am confused ???

                I also noticed that if I give an extension on server a lets say xxx🔢all I do not see any of the top left menu buttons Listen Dial transfer etc... even though I have it set to all in fop2.cfg

                I really need your help

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

                  Server A = 192.168.1.1, extensions 1XX
                  Server B = 192.168.1.2, extensions 2XX

                  In your dialplan you should be able to dial 1XX from any server extension so that specific extension rings on server A.

                  Fop2 button configuration:

                  [SIP/100]
                  type=extension
                  extension=100
                  context=from-internal
                  server=192.168.1.1
                  originatechannel=Local/100@from-internal
                  
                  [SIP/200]
                  type=extension
                  extension=200
                  context=from-internal
                  server=192.168.1.2
                  originatechannel=Local/200@from-internal
                  

                  With that setup and FOP 2.24, you should be able to Listen to 200 in server B from 100 in server A and viceversa.

                  And if you want to see the action buttons, you must have a fop2 user defined for every extension on every server

                  user=100:password:all
                  user=200:password:all

                  And both 100 and 200 should be visible for the user in their extension list. If you log as an extension that does not have a matching button, you will not see the action buttons in the toolbar.

                  Best regards,

                  1 Reply Last reply
                  0
                  • J
                    J
                    jrecho
                    wrote on last edited by
                    #9

                    How do I find out what version I have I got your 2.0 version I think if I need an upgrade please tell me how. I have Trixbox

                    as to the setting that is what I have here is a button

                    [SIP/408]
                    type=extension
                    extension=408
                    label=Noemie Blanbette
                    mailbox=408@default
                    context=from-internal
                    extenvoicemail=*408@default

                    Here is the setting in fop2.cfg
                    ; USER LIST

                    so we modified the button to be
                    [SIP/101]
                    type=extension
                    extension=101
                    label=toto Chevalier
                    mailbox=101@default
                    context=from-internal
                    extenvoicemail=*101@default
                    server=xxx.xxx.xxx.xxx
                    originatechannel=Local/101@from-internal
                    user=408:1255:all

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

                      You can find the fop2 version by looking at the fop2 footer in the web, or via command line

                      /usr/local/fop2/fop2_server -v
                      

                      Best regards,

                      1 Reply Last reply
                      0
                      • J
                        J
                        jrecho
                        wrote on last edited by
                        #11

                        I have

                        fop2_server version 2.00

                        Please send me detailed instruction how to upgrade keep in mind that I have multiple customized buttons Files using context

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

                          To upgrade:

                          Backup your /usr/local/fop2 and /var/www/html/fop2 directories, so you have a separate backup just in case.

                          Try to rememeber your customized files, as you might need to restore them after the upgrade, like FOP2Callbacks.pm or js/presence.js, buttons.cfg, etc. the fop2.cfg file will not be replaced.

                          Then download version 2.24, extract the tarball, cd fop2 and run "make"

                          Then restore your customized files, or make a diff between the new ones and the old ones to check for differences.

                          Remember that upgrades are free for one year, after that, the upgrade cost is $20 (annual maintenance fee on www.fop2.com/buy.php ).

                          Best regards,

                          1 Reply Last reply
                          0
                          • J
                            J
                            jrecho
                            wrote on last edited by
                            #13

                            I'll be happy to pay for the upgrade no problem as long as it will fix my issue.

                            1 Reply Last reply
                            0
                            • J
                              J
                              jrecho
                              wrote on last edited by
                              #14

                              Can you please give me the direct link to download ?
                              And the steps to upgrade from 2.0 to 2.4

                              Thanks

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

                                I cannot give you a direct link as I do not know your linux distribution. Look at the download page and choose yours:

                                www.fop2.com/download.php

                                1 Reply Last reply
                                0
                                • J
                                  J
                                  jrecho
                                  wrote on last edited by
                                  #16

                                  I am stuck when I try to run the license upgrade I get can not liten on port 4445. And when I tyoe make in the new FOP2 install directory I get

                                  Reactivation failed! (EXPIRED)

                                  Upgrade Aborted. License reactivation failed.

                                  Be sure you have internet access from this server,
                                  and that your code is not older than a year.

                                  If your license has expired, you must renew it in order to upgrade,
                                  but you can still use your current FOP2 version for as long as you want.

                                  If you already bought an upgrade code please run the following command:

                                  server/fop2_server --upgrade

                                  If the upgrade is successful run make again to retry the installation.

                                  Contact us at <!-- e --><a href="mailto:sales@asternic.biz">sales@asternic.biz</a><!-- e --> for more information.
                                  Done!
                                  [trixbox1.localdomain fop2]#

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

                                    Do you have an upgrade code yet? Please contact me via the live help, do not post any codes in the forum.

                                    1 Reply Last reply
                                    0
                                    • J
                                      J
                                      jrecho
                                      wrote on last edited by
                                      #18

                                      Yes I do and when I stop fop2 and run the upgrade command I get an error
                                      [trixbox1.localdomain fop2]# /usr/local/fop2/fop2_server --upgrade
                                      Unknown option: upgrade

                                      1 Reply Last reply
                                      0
                                      • J
                                        J
                                        jrecho
                                        wrote on last edited by
                                        #19

                                        Now that I have upgraded to the latest version. When I click the listen button nothing happened before my phone use to ring then I hear a bib but then no sound. Now Its worst. I must be missing something.

                                        1 Reply Last reply
                                        0
                                        • J
                                          J
                                          jrecho
                                          wrote on last edited by
                                          #20

                                          I have not heard back from you Nicolas. I am still having the exact same issue no sound at all. And I did upgrade to the latest FOP2 version 2.24

                                          Please help.
                                          Thnaks

                                          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