Roberto_ACS Posted April 9 #1 Share Posted April 9 Hi, I would like to know if I can get to the goal with VB or LUA programming languages. Our ERP provides customer information through the use of API's and I would like to exploit this to create efficient call routings for calling customers (e.g. service contract, language spoken etc.). We already have this customer information available via LDAP displayed in SwyxIt. I ask if LDAP can also be used in Callrouting? Thank you for your answers or suggestions Link to comment Share on other sites More sharing options...
Tom Wellige Posted April 11 #2 Share Posted April 11 Yes, you can do that via VBScript. Here are a few links on how to perform LDAP queries in VBScript: Querying Active Directory using VBScript - asp classic https://stackoverflow.com/questions/1090336/querying-active-directory-using-vbscript VBScript - Use an LDAP OR Filter in a Search https://www.vbsedit.com/scripts/misc/searchad/scr_1259.asp How-to: Search AD https://ss64.com/vb/syntax-ad.html And Google will bring up even more explamples. A general list of VBScript functions and an explanation on how to use functions within the call routing (storing them and calling them) can be found here: VBScript Function Collection https://www.swyxforum.com/vbscript-function-collection/introduction/introduction-r1 If you use example code you find somewhere on the internet (not on the Swyx Forum page) you need to keep in mind, that unlike standard VBScript you need to declare variables with the "Dim" statement when using VBScript in a call routing script. This is because the SwyxWare sets the "Option Explicit" in its call routing which requires all variables to be declared. In standard VBScript you don't need to do that and therefore the sample code you might find on the internet might not do that. Link to comment Share on other sites More sharing options...
Roberto_ACS Posted April 12 Author #3 Share Posted April 12 Hi Tom, thanks for your reply, I will try to implement the solution using VB. I will let you know! Link to comment Share on other sites More sharing options...
Tom Wellige Posted April 12 #4 Share Posted April 12 Feel free to come back with any question that might show up on the way. Have a nice weekend! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now