Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Cannot determine Asterisk version issue #597

Copy link
Copy link
@adertisnoc

Description

@adertisnoc
Issue body actions

Hello,
we are using your library long ago, but we found that the component cannot determine our PBX systems version.
There is some SEVERE messages in the log:
SEVERE: Unable to determine asterisk version, assuming Asterisk 16... you should expect problems to follow.

We found that there are some regular expressions for the versions, but the definied ones cannot fit our server version. Our PBX boxes are built from the official github source code of Asterisk project.

Here is our version string:

vt1*CLI> core show version
Asterisk certified-18.9-cert7 built by ....

I think the problem is with the regex, but im not a Java developer. Could you please fix it?

The possible issue is in the AsteriskVersion.java:
private static final String VERSION_PATTERN_CERTIFIED_18 = "^\\s*Asterisk certified/(GIT-)?18[-. ].*";

Thanks,
Zoltan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.