<div dir="ltr"><div dir="ltr">On Wed, Jun 3, 2020 at 10:08 AM Nenad Radosavljevic <<a href="mailto:nenadr@snr.rs">nenadr@snr.rs</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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></blockquote><div><br></div><div>It does not get the caller id name. I believe if configured as such:</div><div><br></div><div>exten => 10,hint,PJSIP/10(Bob)</div><div><br></div><div>It would return the value Bob but I have not tested it.</div><div><br></div><div>For PJSIP the PJSIP_ENDPOINT dialplan function[1] can be used to retrieve the configured callerid name.</div></div><div><br></div>[1] <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_PJSIP_ENDPOINT">https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_PJSIP_ENDPOINT</a><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>