callerid on inbound vicidial

Hi ,
I have setup one vicidial inbound process.
Inbound call is coming fine on vicidial and showing ingroup name on the vicidial agent screen. But callerid is not coming on screen with ingroups name.
I have written these dialplan in extension.conf.
exten => s,1,Ringing
exten => s,2,Wait(1)
exten => s,3,Answer
exten => s,4,AGI(agi-VDAD_ALL_inbound.agi,CID-----SO-----inbound)
exten => s,5,Hangup
Recording is also creating but callerid is not adding with recording format.
In my system, recording is being as such format:-
_20090109-115946_6003-all.wav
_20090109-115946_6003-in.wav
_20090109-115946_6003-out.wav
But I want if callerid is 9987227868 then recording format should be 9987227868__20090109-115946_6003-all.wav
as well as caller id should come on the vicidial screen with ingroups name.
Please reply me .
Thanks & regards
Arvind
I have setup one vicidial inbound process.
Inbound call is coming fine on vicidial and showing ingroup name on the vicidial agent screen. But callerid is not coming on screen with ingroups name.
I have written these dialplan in extension.conf.
exten => s,1,Ringing
exten => s,2,Wait(1)
exten => s,3,Answer
exten => s,4,AGI(agi-VDAD_ALL_inbound.agi,CID-----SO-----inbound)
exten => s,5,Hangup
Recording is also creating but callerid is not adding with recording format.
In my system, recording is being as such format:-
_20090109-115946_6003-all.wav
_20090109-115946_6003-in.wav
_20090109-115946_6003-out.wav
But I want if callerid is 9987227868 then recording format should be 9987227868__20090109-115946_6003-all.wav
as well as caller id should come on the vicidial screen with ingroups name.
Please reply me .
Thanks & regards
Arvind