[asterisk-users] Possibility to access PJSIP variables from dialplan

George Joseph gjoseph at digium.com
Wed Apr 18 15:23:34 CDT 2018


On Tue, Apr 17, 2018 at 7:20 AM, Administrator TOOTAI <admin at tootai.net>
wrote:

> Hi all,
>
> is it possible to access PJSIP configuration variables from the dialplan ?
> Exemple: I want to get the username of a type = auth context.
>

The AST_CONFIG dialplan function will let you pull things form any standard
asterisk config file but it's not optimized for reading files where the
same "category" occurs more than once and it doesn't understand "type".  So
if you have both an aor and an auth named "1000" you might have an issue.




>
> Thanks for any hint
>
> Daniel
>
> --
> _____________________________________________________________________
> -- 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
>



-- 
George Joseph
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180418/0eed05a6/attachment.html>


More information about the asterisk-users mailing list