Solved HTTP request to open a relay

Status
Not open for further replies.

alexis41818544158

Platinum Partner
Joined
Aug 4, 2022
Messages
25
Reaction score
3
I need to do this thing with 3cx, is it possible?

A person calls me and after typing a code on the keyboard I can send a message by opening a relay that opens a door (such as sending an http request to an IP). The relay must not be registered as internal as it must not be reachable from outside but only by me after entering a code (perhaps an IVR). I saw the "launch script" type function, could it be useful?
Thank you
 
You can do this with a CFD app, using the HTTP request component.
 
Sorry, I'm reopening the post, I also have a web relay that opens with this type of http request, from any browser:
"http://xxx.xx.xx/state.xml?relay2State=2"
I have tried several times to configure a flow with only http requests and connecting it to an extension, when I export the project to 3x to make it work, but it doesn't work.
I configured it like this... where did I go wrong?
Immagine 2024-03-29 161200.png
 
Sorry, I'm reopening the post, I also have a web relay that opens with this type of http request, from any browser:
"http://xxx.xx.xx/state.xml?relay2State=2"
I have tried several times to configure a flow with only http requests and connecting it to an extension, when I export the project to 3x to make it work, but it doesn't work.
I configured it like this... where did I go wrong?
View attachment 40569
Remove content and content type. GET query should be in the URL itself, not in the content field which is for POST requests.
 
  • Like
Reactions: jed and auxilium
Perfect, it works, thank you very much for the support!!!
 
  • Like
Reactions: jed and Evolute IT
Glad to know this is resolved ;)
 
  • Like
Reactions: auxilium
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,953
Messages
589,917
Members
164,851
Latest member
DrunkeMeister