Marijn Rispens Posted August 7, 2008 Report Share Posted August 7, 2008 Hi I've received a request to access the PBX through SOAP. Well, this works, exept for a small minor, every request I do takes exactly 30 sec. (i've used the script on wiki) I've contacted support and got the following answer: These is programming issues, the scripts on pbxnsip wiki are for examples only.You need to learn CURL. So i'm no digging through the internet but can't fint anything usefull. Can anyone help me, even a small step to the right direction is welcome! Thanx! Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 7, 2008 Report Share Posted August 7, 2008 I've received a request to access the PBX through SOAP.Well, this works, exept for a small minor, every request I do takes exactly 30 sec. (i've used the script on wiki). Well, you probably have a problem with the keep-alive. The PBX expects that the client closes the connection. That is standard HTTP stuff, and there is a lot of information in the search engine of your choice. curl is not a must. You can use anything that behaves like a HTTP client. Quote Link to comment Share on other sites More sharing options...
jag Posted August 7, 2008 Report Share Posted August 7, 2008 Well, you probably have a problem with the keep-alive. The PBX expects that the client closes the connection. That is standard HTTP stuff, and there is a lot of information in the search engine of your choice. curl is not a must. You can use anything that behaves like a HTTP client. How about http://uk3.php.net/curl Quote Link to comment Share on other sites More sharing options...
Marijn Rispens Posted August 8, 2008 Author Report Share Posted August 8, 2008 Thanks for the replies, I'm going to take a look and let you know. Quote Link to comment Share on other sites More sharing options...
Marijn Rispens Posted August 11, 2008 Author Report Share Posted August 11, 2008 Well, I've solved the problem without using SOAP. The 30 sec timeout was because the "HTTP/1.1" protocol is beeing used on the wiki examples. Change this to "HTTP/1.0" and everything runs smooth .... Thanx for all comments Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.