tomek-o / tSIP

SIP softphone
149 stars 32 forks source link

Peticiones HTTP/HTTPS #51

Open iGznOth opened 1 month ago

iGznOth commented 1 month ago

It would be great if a function could be added to be able to send an https request and be able to obtain the body, currently I am doing it with cmd and curl then creating a file, reading it from a lua script to be able to obtain the response, you see a console which makes it super annoying and so on.

In short, my proposal would be to have a function in which requests can be made faster and easier.

I think this will be very helpful to many...

tomek-o commented 1 month ago

At the moment I do not have clear idea how to implement it in a satisfying way (wide scope vs simple API, minimal binary bloat, preferably no extra dependencies and no requirements for OS version). It probably would have to wait.

Depending on the actual purpose, using plugin for this might have some benefits. I was thinking e.g. of a plugin for provisioning, self-contained and with hardcoded configuration.

you see a console which makes it super annoying

I do not see a console when running e.g. https://tomeko.net/software/SIPclient/howto/provisioning.php - am I missing something?