Unrecognized prilocaldialplan TON modifier: D – Asterisk issue

Rate this post

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()

For any query or issue, feel free to discuss on http://discuss.eduguru.in

Satya Prakash

VOIP Expert: More than 8 years of experience in Asterisk Development and Call Center operation Management. Unique Combination of Skill Set as IT, Analytics and operation management.

Leave a Reply

%d bloggers like this: