Once the call list imported to the ICM, I need to know how I can determine the used skill group to do that outbound call (for each number) based on doing a query (via the Application Gateway), this query will send the telephone number (need to be called) and will return the variables related to this number (language, nationality, gender), then based on these returned variables, I should be able to determine the skill group to be used for the outbound call of that number, this to be doen for all numbers in the calling list.
The trick here is how to read the calling number (that was imported from the list) and doing that senario, then determining the skill group, and then the dialer can proceed and transfer the call for the agent.
Any help to know how to determine the skill group to be used before the dialer dialing? And how to set variable1=calling number that was imported from the calling list? This to be before dialer start dialing, as dialer should knows where to transfer.