Sangoma CRM module - POST API call returns page not found

Hi,
I am testing Sangoma CRM commercial module on my FreePBX v 16. The module is licensed and everything updated. My intended setup is to send a custom webhook to a URL of choice, as my own CRM is unsupported so I’ll build out everything from there myself.

Based on the documentation I:

  • Set Settings > CRM Setup to RestAPI
  • CRM API Settings seem correct: I have a valid base URL ending with :2443/admin/api/sangomacrm/rest , API is Enapled. API Token is given and Send Webhooks set as @Start and End.

From there I use postman to>

  • POST to the URL above
  • Authorization API Key | Key “Token” | Value | Add to Header
  • Body:
{
"url":"<MY WEBHOOK URL>",
"direction":"both"
}

When I send I receive back a page not found HTML message back>

<html>

<head>
    <title>Page Not Found</title>
    <style>
        body {
            margin: 0;
            padding: 30px;
            font: 12px/1.5 Helvetica, Arial, Verdana, sans-serif;
        }

        h1 {
            margin: 0;
            font-size: 48px;
            font-weight: normal;
            line-height: 48px;
        }

        strong {
            display: inline-block;
            width: 65px;
        }
    </style>
</head>

<body>
    <h1>Page Not Found</h1>
    <p>
        The page you are looking for could not be found. Check the address bar
        to ensure your URL is spelled correctly. If all else fails, you can
        visit our home page at the link below.
    </p>
    <a href=<MY SERVER>:2443/'>Visit the Home Page</a>
</body>

</html>

I opened a ticket with Sangoma, but I receive an answer every 2-3 days an nothing has been solved so far. I was wondering if you had any pointer or major steps I skipped to make this work so I could try myself.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.