Hello, I am trying to make a redial script. The script i tried is as follows. The problem with the script is, there are plenty of dialing plans on asterisk for different users, only internal, local international etc.. As you see i wrote as dlpn_local temporarily, because, i couldnt use Dial() command. The reason is i dont know if the number will be zap or sip or smthing else..But when i set that dialplan as dlpn_local, even user has permision to dial an international number, he/she can not redial it. So how can i make it possible to use the dialplan whatever the user belongs to in such script.. exten = ***,1,Answer exten = ***,2,Macro(user-callerid,) exten = ***,3,Set(number=${DB(lastcalled/${CALLERID(number)})}) ; Look up the last caller for this extension exten = ***,4,GotoIf($["${number}" = ""]?s-nonum,1:5) exten = ***,n,Goto(DLPN_local,${number},1) exten = s-nonum,1,Playback(unidentified-no-callback) exten = s-nonum,n,Playback(vm-goodbye) exten = s-nonum,n,Hangup