Hi i got the following script for calling lastcaller. Script works fine.But on the cdr records calls seem to be made to *1 instead of the number on dial script. How can i fix this?? exten = *1,1,Answer exten = *1,2,Macro(user-callerid,) exten = *1,3,Playback(last-num-to-call) exten = *1,4,Set(number=${DB(lastcaller/${CALLERID(number)})}) ; Look up the last caller for this extension exten = *1,5,GotoIf($["${number}" = ""]?s-nonum,1:6) ; If $number is blank, jump to unidentified label exten = *1,n,NoCDR() exten = *1,n,Wait(1) exten = *1,n,SayDigits(${number}) exten = *1,n,Wait(2) exten = *1,n,Playback(to-call-num-press) exten = *1,n(startread),Playback(digits/1) exten = *1,n,Read(choice,then-press-pound,,,,) exten = *1,n,GotoIf($["${choice}" = "1"]?dial1) exten = *1,n,Hangup exten = *1,n(dial1),Goto(DLPN_sadecelokal,${number},1) exten = s-nonum,1,NoCDR() exten = s-nonum,n,Playback(unidentified-no-callback) exten = s-nonum,n,Playback(vm-goodbye)