Echolink Status

Home Forums General Discussion Echolink Status

This topic contains 3 replies, has 2 voices, and was last updated by  Aaron, N3MBH 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #2597

    I noticed that my Echolink status was not being reported correctly on

    To get this to work properly, I modified svxlink.conf and ModuleEcholink.conf as follows.

    This will get overwritten if you initiate a restart from the webpage. Therefore, I made copies of these files in their respective directories and simply copy them back to their correct names before issuing ‘orp_helper svxlink restart’ should I need to make changes from the webpage.

    I am still trying to figure out how to incorporate this into the php file(s).



    COMMENT=[ORP] SvxLink by


    PASSWORD=Your Echolink Password
    LOCATION=[ORP] Pt. Pleasant, NJ
    DESCRIPTION=”You have connected to EchoLink node 223532\n”
    “QTH: Point Pleasant NJ\n”
    “Link: Repeater Rx:449.5MHz, Tx:444.5MHz, No PL\n”


    Reference svxlink man pages:

    -Gregg WB6YAZ


    Aaron, N3MBH
    Forum Administrator

    Greetings Gregg,

    You are correct that you cannot make changes to the .conf files as they are dynamically generated. You would need to make the changes in the PHP that writes these files. There was an older Knowledge Base article (that could use some updating) that described how to do some editing of the svxlink_update.php, but as of version 2.0.0 that script has been drastically overhauled in preparation for current and future improvements.

    Previously most of the build functions were within the svxlink_update.php file, but that has been rewritten into object oriented PHP classes. So you will see in /var/www/openrepeater/functions/svxlink_update.php where it calls out to some functions that are in a new class. That class is located here: /var/www/openrepeater/includes/classes/SVXLink.php

    That is where the Echolink config is built. All the modules are generated by the same class method so it might be a little hard to track down.

    This is roughly how it is invoked: The svxlink_update.php file calls the function/method build_logic_repeater() within the SVXLink.php class.

    That function calls another function in the class called: build_module_list()

    That in turn calls write_module_configs() where all the module info is pulled from the database and looped through and processed into an array It is constructed as a PHP array, then passed on to a write function that will call another sub function to reformat the PHP array into an INI format before writing to the ModuleEcholink.conf file.

    You could put soemthing inside of the loop of write_module_configs() to catch and custom process just the Echolink Module, or all the settings that are unique to each module are stored withing the database in a serialized array under the moduleOptions field.

    If you just want to customize the Echolink config file then you might want to edit the array in /var/www/openrepeater/modules/EchoLink/build_config.php. This is a PHP array that will get serialized and stored in the database that gets called and processed by the method described above.

    As for the [LocationInfo] section in the main config, that is probably something that should ultimately need a class method built for it, but you probably could modify the svxlink_update.php script and insert and array for this section after line 107 ($config_array[‘GLOBAL’]…). Maybe something like this:

    $config_array[‘LocationInfo’] += [
    ‘LON_POSITION’ => ‘74.04.6W’,
    ‘LAT_POSITION’ => ‘40.04.59N’,
    (etc, etc, etc…)

    Hope that is a good starting point. I will be glad to work with you to try to improve this functionality in a future release.

    Aaron – N3MBH

    OpenRepeater is offered free of charge. Find out how you can support us.


    Hi Aaron,

    Thanks for the info. I am new to both svxlink and php, your description helps a lot.

    I find the web interface very useful, but I can see that the vast number of options in the .conf files would be difficult to provide access to via the webpage. If there were a way to access the info in the .conf files prior to being written to the php array, it would greatly enhance the tweakability of the interface.

    Thanks again for your work on this project. Let me know how I can help.

    I have an ICS controller and my ultimate goal is to build a remote base / repeater that will include a DTMF to CI-V interface for my IC-7100.

    -Gregg WB6YAZ


    Aaron, N3MBH
    Forum Administrator

    Thanks for your support. We have a beta “advanced mode” that allows direct entry of the svxlink.conf file and the gpio.conf files. But it doesn’t currently support editing of the EchoLink config or any of the other logic files of SVXLink.

    I will shoot you a side email as well.

    Aaron – N3MBH

    OpenRepeater is offered free of charge. Find out how you can support us.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.