IAXVAR with asterisk 1.6

Hi All…
Has any one used IAXVAR function with asterisk 1.6…
Will appreciate if some one helps me with the Dialpan example for IAXVAR function…
I am doing a dundi lookup between two server and patching the two servers with IAX2…

Regards
Nischal…