<div dir="ltr">Hello !<div><br></div><div>Is there something wrong with the function HINT(<extension number>,n) ? </div><div>Note the param n - it is supposed to get (as far as I understand the documentation) CALLERID(name) of the extension (via extension's hint).</div><div><br></div><div>Example configuration:</div><div><br></div><div>pjsip.conf:</div><div><br></div><div>[10]</div><div>type=endopoint</div><div>.</div><div>.</div><div>callerid = Test extension <10></div><div>.</div><div>.</div><div>extensions.conf:</div><div><br></div><div>[exts]</div><div><br></div><div>exten => 10,hint,PJSIP/10</div><div>exten => 10,1,Set(DEV=${HINT(10@exts)})</div><div>exten => 10,n,Set(DEVNAME=${HINT(10@exts,n)})</div><div>exten => 10,n,Noop(DEV is ${DEV})</div><div>exten => 10,n,Noop(DEVNAME is ${DEVNAME})</div><div><br></div><div>on asterisk 16.9.0:</div><div> - first noop prints: DEV is PJSIP/10</div><div> - second noop prints: DEVNAME is</div><div><br></div><div>Way I understand the documentation
for function HINT, I would expect the DEVNAME variable to be set to "Test extension".</div><div><br></div><div>Any "light" on this topic would be much appreciated. Thanks.</div><div><br></div><div>Regards,</div><div> Nenad Radosavljevic </div><div><br></div></div>