On Wed, Jun 3, 2020 at 10:08 AM Nenad Radosavljevic <[email protected]> wrote:
> Hello ! > > Is there something wrong with the function HINT(<extension number>,n) ? > 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). > It does not get the caller id name. I believe if configured as such: exten => 10,hint,PJSIP/10(Bob) It would return the value Bob but I have not tested it. For PJSIP the PJSIP_ENDPOINT dialplan function[1] can be used to retrieve the configured callerid name. [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_PJSIP_ENDPOINT -- Joshua C. Colp Asterisk Technical Lead Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
