Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12670

OSS Endpoint Manager and Grandstream

$
0
0

@Shinjigami wrote:

Hello,

I thought that i try the OSS version of the Endpoint Manager. We have Grandstream GXP 2130 phones in our office and the Installation as well as downloading of the product / firmware appears to have worked smoothly. I could easily detect all the Phones and add them to the device list. However when i tried to reboot one or more phones for testing purposes, it did not work. Instead i got the following error.

preg_match() expects parameter 2 to be string, array given

            }
        }
    }

    function reboot() {
        if (($this->engine == "asterisk") AND ($this->system == "unix")) {
            exec($this->engine_location . " -rx 'sip show peers like " . $this->settings['line'][0]['username'] . "'", $output);
            if (preg_match("/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/", $output, $matches)) {
                $ip = $matches[0];
                $pass = (isset($this->options['admin_pass']) ? $this->options['admin_pass'] : 'admin');

Is that something others have encountered too?

Is this something grandstream specific or does this happen to more phones?

Thank you for your help and sorry for the bad english

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 12670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>