How to get callers language or call call queue

i developed a call center solution using asterisk 1.6.2.XXX . for that solution i need to get callers language or caller’s queue to display to follows,

if call come to server and press 1 to select English language.
now he is in english queue.
when get a free agent, call is connect to that agent.
but agent can speak both tamil and English.therefor agent need to know this call is English or tamil.
i need to get that for my CRM application with the Dial command or any other method.

please help me…
thank you…

Why not prepend a language identifier to the caller name or the caller number? Thus, the agent, or your CRM system could recognize based on that.