Remote server do not show any events

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.

Comments

  • 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
  • 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,
  • 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
  • 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,
  • 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
  • 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:1234: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
  • 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,
  • 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
  • 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,
  • 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
  • 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,
  • I'll be happy to pay for the upgrade no problem as long as it will fix my issue.
  • Can you please give me the direct link to download ?
    And the steps to upgrade from 2.0 to 2.4

    Thanks
  • 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
  • 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]#
  • Do you have an upgrade code yet? Please contact me via the live help, do not post any codes in the forum.
  • 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
  • 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.
  • 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
  • I usually go to sleep, take dinner, a shower, I spend a little time with my family, etc. It's been a while since I unpluged the wire that sends emails directly to my brain. ;)

    I hope you can write a post later explaining the solution I provided after giving you free remote support for several hours.
  • As I said you rock man you have the absolute best support. I got everything going still have some issue but I will let you unplug and wait for you to get back to me, I also noticed that you have added an option next to the phone books to listen to recorded calls but when I click obit it's empty. The whisper allows you to listen occross servers thanks to you but can not whisper whom server A to C but does work from A to B


    Again thanks for all of the help and promise to send a lot of customers your way.

    best wishes
  • I have purchased 2 additional licenses and am writing you and you are not responding. I had a server crash can not connect to database after installing FOP@ so I rebuilt a new one in a better machine but I activated the license on the old server and need to change that on the new server. Please help
  • Hi,

    The email reply I sent to you was rejected by your mail server. I am *every* day on the live help, you can contact me there, as many many users do.

    Fop2 does not touch databases in a way it would break anything, much less making a server crash, it seems you are implying that because of fop2 your server crashed. I'll bet that is not the case.

    You know where to find me: the live help. I do respond. Check this forum, people comments, etc. And you forget to mention the free remote support I gave you. Saying things like "I do not respond" is rude, really rude. Even if you purchased licenses. A little bit of etiquette would be nice from your part.

    If you have a problem, post the exact error you are getting, and describe what you did to reach to that situation. With no description/report, it is impossible to help or give a proper reply.

    In any case, according to your email, I think the problem is that you did not install the FreePBX fop2admin module, but it is just a guess because your mail was vague on details.

    Please email me to asternic at gmail dot com or catch me on the live help. Your mail server does not like mails from mine.
Sign In or Register to comment.