Bill H Posted May 17, 2008 Report Share Posted May 17, 2008 I am trying to access the database with SOAP. I looked at the PHP example (even though I don't know PHP) and it looks like there are two different Ports used. I see 8080 and 80. I tried both with no success. Does anyone know what port to use to send SOAP to the PBXNSIP database and which port do I listen on? Thnaks, Bill H Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 17, 2008 Report Share Posted May 17, 2008 If you can afford to restart the PBX you can also change the files on the file system. Then you can avoid the whole SOAP trouble. Quote Link to comment Share on other sites More sharing options...
Bill H Posted May 17, 2008 Author Report Share Posted May 17, 2008 If you can afford to restart the PBX you can also change the files on the file system. Then you can avoid the whole SOAP trouble. Thank you for the helpful information. How about the ports in the above question? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 17, 2008 Report Share Posted May 17, 2008 How about the ports in the above question? One port is probably for the PBX and the other one for the PHP. You can find out what ports are being used by which application with the netstat command. Quote Link to comment Share on other sites More sharing options...
Leonmeijer Posted December 3, 2008 Report Share Posted December 3, 2008 I have the same problem here. PHP can't connect to the SOAP server and in the config I can't set the port number for the soap server... Where can I set the soap port number? (I set the soap trusted IP setting to 127.0.0.1 (Localhost)). Quote Link to comment Share on other sites More sharing options...
Bill H Posted December 3, 2008 Author Report Share Posted December 3, 2008 I have the same problem here. PHP can't connect to the SOAP server and in the config I can't set the port number for the soap server... Where can I set the soap port number? (I set the soap trusted IP setting to 127.0.0.1 (Localhost)). It sounds like you have a license that does not include SOAP. I used Visual Basic ( a language I know) instead of PHP which I don't know. I don't know if there is a SOAP Port or not. I just used the IP Address of our PBXNSIP followed by the web browser port for the pbx. It was being accessed from a remote location. We moved PBXNSIP off port 80 and on to 56566. Example: 192.168.1.123:56566 There were some other posts in the forum concerning a method to determin if you have a SOAP license or not. That method may have been changed with the different releases since that time. Once you do gain access to the database prepare to get dizzy. It took me awhile to determin how it was organized and how to link an extensions data to the actual extension number. Bill H Quote Link to comment Share on other sites More sharing options...
Leonmeijer Posted December 3, 2008 Report Share Posted December 3, 2008 It sounds like you have a license that does not include SOAP. I used Visual Basic ( a language I know) instead of PHP which I don't know. I don't know if there is a SOAP Port or not. I just used the IP Address of our PBXNSIP followed by the web browser port for the pbx. It was being accessed from a remote location. We moved PBXNSIP off port 80 and on to 56566. Example: 192.168.1.123:56566 There were some other posts in the forum concerning a method to determin if you have a SOAP license or not. That method may have been changed with the different releases since that time. Once you do gain access to the database prepare to get dizzy. It took me awhile to determin how it was organized and how to link an extensions data to the actual extension number. Bill H My License Key says: SOAP: True so I think it's enabled... I also moved it to another port (The web interface from 80 to 800) but do I need to use that port also for SOAP? Quote Link to comment Share on other sites More sharing options...
pbx support Posted December 3, 2008 Report Share Posted December 3, 2008 My License Key says: SOAP: True so I think it's enabled... I also moved it to another port (The web interface from 80 to 800) but do I need to use that port also for SOAP? Yes. SOAP uses HTTP port. You may also check "Admin->Settings->General->SOAP Trusted IP" to provide your computer the permission to access the PBX. Quote Link to comment Share on other sites More sharing options...
Leonmeijer Posted December 3, 2008 Report Share Posted December 3, 2008 Yes. SOAP uses HTTP port. You may also check "Admin->Settings->General->SOAP Trusted IP" to provide your computer the permission to access the PBX. It has been set to 127.0.0.1 but still doesn't work PHP gives a time out message (30 seconds), is there something I can try? (PHP accesses the PBX via localhost...). Quote Link to comment Share on other sites More sharing options...
Bill H Posted December 3, 2008 Author Report Share Posted December 3, 2008 It has been set to 127.0.0.1 but still doesn't work PHP gives a time out message (30 seconds), is there something I can try? (PHP accesses the PBX via localhost...). Are you running the PHP in the same computer that PBXNSIP is running on? If so, that would allow the 127.0.0.1 address to be used. If you are running the PHP in a different computer, be sure to use its address. Bill H Quote Link to comment Share on other sites More sharing options...
Santiago Londoño Posted May 27, 2009 Report Share Posted May 27, 2009 Hello, We had a similar issue and the cause was that the SOAP request was malformed. Check if your code is adding any additional headers to your request or altering its structure somehow. (You can use Fiddler to see exactly how your request is being received by the pbx). Quote Link to comment Share on other sites More sharing options...
hosted Posted June 27, 2009 Report Share Posted June 27, 2009 you can send SOAP requests to the PBXNSIP application? I though pbxnsip was just outcalling soap requests to a URL and waiting for responses.. hmm Quote Link to comment Share on other sites More sharing options...
pbx support Posted June 28, 2009 Report Share Posted June 28, 2009 you can send SOAP requests to the PBXNSIP application? I though pbxnsip was just outcalling soap requests to a URL and waiting for responses.. hmm Check out https://www.pbxnsipsupport.com/index.php?_m...kbarticleid=383 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.