Jump to content

Database Access


Bill H
 Share

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 6 months later...
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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...).

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 5 months later...
  • 1 month later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...