I would like to fetch my extensions from the database. I created a dynamic hint, but doesn't seem to work. The BLF on my phone doesn't change when the state of the extension changed.<div><br></div><div>This is in my dialplan:</div>
<div><br></div><div><div>exten => _ZXX!,hint,${SIP_BYEXT(${EXTEN},${CONTEXT})}</div><div>exten => _ZXX!,1,Verbose(3, Search extension ${EXTEN} in context ${CONTEXT})</div><div> same => n,Set(SIP=${SIP_BYEXT(${EXTEN},${CONTEXT})})</div>
<div> same => n,GotoIf(${SIP}?:notFound)</div><div> same => n,SIPAddHeader(Alert-Info: internal)</div><div> same => n,Dial(${SIP})</div><div> same => n(notFound),Playback(you-dialed-wrong-number)</div><div>
same => n,Hangup</div></div><div><br></div><div>Is something like this possible?</div>