FreePBX / core

Module of FreePBX (Core) ::
http://www.freepbx.org
GNU General Public License v3.0
142 stars 66 forks source link

[bug]: GQL AddinboundRoutes doesn't enable need reload #106

Open danardf opened 1 month ago

danardf commented 1 month ago

FreePBX Version

FreePBX 16

Issue Description

Using add Inbound Route, after sending the request, need reload is never enabled. From GUI, after adding an Inbound Route, the one shows Apply Config.

Issue on FreePBX 16 and 17.

https://sangomakb.atlassian.net/wiki/spaces/PG/pages/25722965/Core+Module+GraphQL+APIs#Add-Inbound-Route On the document, cidnum:"1232abc" looks wrong. abc is not allowed here.

CIDNUM can only be numbers, A-D, * and #. DID may also start with a +. Patterns must begin with an _ DID may also start with a +. If everyone is referring the document, he would get an error.

Operating Environment

FreePBX updated on latest version. So core and framework don't need update.

Relevant log output

No response

kguptasangoma commented 1 month ago

wiki is updated as such but still pending to add the reload.

danardf commented 1 month ago

@kguptasangoma Thanks BTW, I saw that the MOH module inluding GQL API but this part is missing on the documentation. Please, let me know if you want I create a ticket on this module.

PS: I'm waitting your answer by email that I sent you a few days ago.

danardf commented 1 month ago

@kguptasangoma BTW, If you can check update, add, and delete inbound routes API. I think there is the same issue.