Unrecognized prilocaldialplan TON modifier: D – Asterisk issue
Problem: Unrecognized prilocaldialplan TON modifier: D
Solution: Set caller id into dialplan.
Dialplan Example:
exten => _55550XXXXXXXXXX,1,set(CALLERID(num)=4425100)
exten => _55550XXXXXXXXXX,n,Set(currenttime=${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)})
exten => _55550XXXXXXXXXX,n,Set(CALLFILENAME=${CHANNEL}-${CDR(accountcode)}-${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
exten => _55550XXXXXXXXXX,n,MixMonitor(${CALLFILENAME}.wav)
exten => _55550XXXXXXXXXX,n,Dial(DAHDI/g0/0${EXTEN:5},,Ttg)
exten => _55550XXXXXXXXXX,n,NoOp( Dial Status: ${DIALSTATUS})
exten => _55550XXXXXXXXXX,n,Hungup()