Jump to content
Vodia PBX forum

pbx_admin

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About pbx_admin

  • Rank
    PBX Admin

Profile Information

  • Gender
    Male
  • Location
    MA, USA
  1. Hi Jordan, is your pin code set? Depending on where your calling from, the code will not let you record anything unless the pin number is set... You can also add your extension number ( separated by space ) by going: Edit IVR Node xyz -> Settings -> Accounts that may record a message See the attached file for illustration purpse... IVR.bmp
  2. http://wiki.pbxnsip.com/index.php/Access_to_the_Database needs a little more updates.... If you actually don't get a response using the provided PHP script, then this would indicate that the SOAP Trusted IP is not set, or invalid (SOAP Trusted IP can be found in Settings->System under the Appearance header) You will need to set the IP address or a qualifying host-name that has the SOAP client software (e.g. your computer's IP address or you can obtain a public IP address instead by going to whatismyip ). If you don't see the SOAP Trusted IP field under the Appearance Header, then that means your current PBX's SOAP server is disabled. In that case, we can provide a temporary key which will enable the SOAP feature. Using the SOAP Trusted IP is an alternative "Credential", and you should not need to set the credentials, cookies and any other objects, but applying "Default Credentials" and sending cookies will not cause an error (At least on the C++ and Visual Basic side). In regards to the SOAP reference and overall pbxnsip admin/user manual, we actually are in the process of updating more easy-to-understand technical and non-technical details and illustration to the documentation of the next stable release... As I said earlier, http://wiki.pbxnsip.com/index.php/Access_to_the_Database pretty much explains the basics of the PBX database function (the php source code there is a known, good working example), except we neglected to mention about the SOAP Trusted IP address part. If you still have trouble getting a response, try the following request in php: $max=10; for( $i=0; i<$max; #i++ ) { $request = "<Table>domain_alias</Table><Index>"+ max + </Index><Column><Name>name</Name></Column>"; echo "Existing Domain ID: " + pbx_soap( pbx_envelope( "DBGet", $request ); } Check back with it soon, and you will also see the DBIndex function to aid you in the implementation process. The database feature is NOT the only thing we provide in SOAP calls, but there are also much more SOAP features to be tested and documented. Important note: Using socket programming is fine for PHP or other scripting language, but it has been a known issue that socket programming cannot be correctly implemented from a programming language e.g. C++, Visual Basic, etc.. A work around for this is to use the provided web service implementation, for instance, in C++/Visual Basic use the HTTPWebRequest and HTTPWebResponse class, and in Java, use the HttpServletRequest HttpServletResponse class. Happy Coding
  3. http://wiki.pbxnsip.com/index.php/Access_to_the_Database needs a little more updates.... If you actually don't get a response using the provided PHP script, then this would indicate that the SOAP Trusted IP is not set, or invalid (SOAP Trusted IP can be found in Settings->System under the Appearance header) You will need to set the IP address or a qualifying host-name that has the SOAP client software (e.g. your computer's IP address or you can obtain a public IP address instead by going to whatismyip ). If you don't see the SOAP Trusted IP field under the Appearance Header, then that means your current PBX's SOAP server is disabled. In that case, we can provide a temporary key which will enable the SOAP feature. Using the SOAP Trusted IP is an alternative "Credential", and you should not need to set the credentials, cookies and any other objects, but applying "Default Credentials" and sending cookies will not cause an error (At least on the C++ and Visual Basic side). In regards to the SOAP reference and overall pbxnsip admin/user manual, we actually are in the process of updating more easy-to-understand technical and non-technical details and illustration to the documentation of the next stable release... As I said earlier, http://wiki.pbxnsip.com/index.php/Access_to_the_Database pretty much explains the basics of the PBX database function (the php source code there is a known, good working example), except we neglected to mention about the SOAP Trusted IP address part. If you still have trouble getting a response, try the following request in php: $max=10; for( $i=0; i<$max; #i++ ) { $request = "<Table>domain_alias</Table><Index>"+ max + </Index><Column><Name>name</Name></Column>"; echo "Existing Domain ID: " + pbx_soap( pbx_envelope( "DBGet", $request ); } Check back with it soon, and you will also see the DBIndex function to aid you in the implementation process. The database feature is NOT the only thing we provide in SOAP calls, but there are also much more SOAP features to be tested and documented. Important note: Using socket programming is fine for PHP or other scripting language, but it has been a known issue that socket programming cannot be correctly implemented from a programming language e.g. C++, Visual Basic, etc.. A work around for this is to use the provided web service implementation, for instance, in C++/Visual Basic use the HTTPWebRequest and HTTPWebResponse, and in Java, use the Happy Coding
  4. Whether or not to make use of the new features, the best bet in your case is to upgrade to 2.0.3.1715. I don't think there were any major SOAP bugs in versions 2.0.2, however we did come across minor socket issues with the latest version (2.0.9.x), although I have managed to work around with that AND we will correct it... Should you encounter *any* SOAP bugs with your implementation, please post it here (http://forum.pbxnsip.com/index.php?showforum=28) and we'll be glad to address your issues ASAP. Happy coding!
  5. Hi Elena, Yes it is possible, four of the database access functions DBIndex, DBSearch, DBGet and DBSet, the information can be found at the wiki Access to the Database. More function are to come, so visit that site every now and then updates. Cheers
  6. Hi Jake, Yes, We do support SOAP functionalities, and the developers just released the beta version CDR tool that used SOAP interface pbxnsip CDR Tool Web Application. To make a request to pull the CDR or any other desired data, you should create a socket and point to the PBX's hostname and port number, the same way you login to the PBX HTTP interface. See Access_to_the_Database, there's are some PHP codes with documentation that will get you to a head start. Another important note to bear in mind, versions 2.0.2.1675 and earlier had a few bugs with SOAP, e.g. one misplaced character in the XML would halt the web application and you will not be able to get any response. Thus, it is highly recommended to upgrade to 2.0.3.1715 or latest release possible, especially for those who wants to develop either a simple or a robust web application. You can easily download and swap the pbxctrl.exe, check it out look at Manual_Upgrade The pbxnsip SOAP server can send out CDRs to your software which is actually the soap.xml you were trying to fetch... It's kind of like role-reversal where the PBX is a client sending CDR data, and your application act as a "server listening for the incoming CDR". In most case, the client side web application will make the request for data access, certain Group Agent queue events, and Calling Card web application. To clear up the confusion, See Processing_CDR_from_the_PBX with the functional PHP Source code. Happy Coding!
  7. Hey everyone, We have just released a upgraded version of pbxnsip. Please be sure to upgrade your installations. The newest version of pbxnsip can be downloaded at: http://www.pbxnsip.com/downloads.php Please upgrade your pbxnsip. Sincerely, The pbxnsip Team
  8. Hey nexSIP, I will add the section sometime later today. Thank you for the suggestion. Chris @ PBXNSIP
×
×
  • Create New...