Hi,
We’re trying to setup an inbound strategy that read the ANI number of the incomming call, and compares it with a field (string type) in our DB (MS SQL Server).
The problem is that the inound strategy never found the value in the DB (even if the call number is in the DB).
How to debug the SQL request done by Genesys ? How to log the connection to the SQL Server?
SQL Profile is the tool you’re looking for. That tool is part of SQL Server 2000 package but I’m not sure it is installed “by default”.
You can use Genesys DBServer logging as well. Change log to level to “debug”, add the key “verbose” with value “3” to “dbserver” section and restart the DB Server.
I believe your problem will be how the ANI is formatted, you will see that the ANI is like a 071250000 and in your DB you only have 7125000.
Try to capture the ANI and send it as attached data to an agent so you can see how it is masked or trace your PBX and see how the number comes in.
Check URS logs, TServer logs or DBServer logs as René mentioned
A silly question,
Did you add the DAP to the URS connection Tab?
Is the DBServer running?
Here are some screenshots of DBServer and DAP configuration (for mssql)