Skip to content

Reload fails on GIT-certified builds #217

@PhilRW

Description

@PhilRW
asterisk -V
Asterisk GIT-certified/20.7-0df958f920

I modified the function to this regex: preg_match('/Asterisk (?:SVN|GIT-)?certified\/(\d+(\.\d+)*)(-(\S+))?/', $verinfo, $matches (and changed additional to matches[4] and it then reloaded and worked as expected.

https://github.com/FreePBX/framework/blob/fd8ab81f678e74bb562eb6c0a01efcd5daebf899/amp_conf/htdocs/admin/functions.inc.php#L325C1-L327C21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions