No more result with:
xlog("L_NOTICE","P-Asserted-Identity param =
$(hdr(P-Asserted-Identity){param.value,privacy})\n");Nov 29 14:17:13 [16103] P-Asserted-Identity param = <null> Le lun. 29 nov. 2021 à 13:44, Mickael MONSIEUR <[email protected]> a écrit : > > Hello, > > xlog("L_NOTICE","P-Asserted-Identity params = $(ai{param.value,privacy})\n"); > > Nov 29 13:43:34 [15988] P-Asserted-Identity params = <null> > > Le lun. 29 nov. 2021 à 13:32, David Villasmil > <[email protected]> a écrit : > > > > https://www.opensips.org/Documentation/Script-Tran-2-4#toc60 > > > > Regards, > > > > David Villasmil > > email: [email protected] > > phone: +34669448337 > > > > > > On Mon, Nov 29, 2021 at 12:22 PM Mickael MONSIEUR > > <[email protected]> wrote: > >> > >> Hello, > >> > >> My provider add to my INVITE's : > >> > >> P-Asserted-Identity: "Anonymous" > >> <sip:[email protected]>;party=calling;privacy=yes;screen=no > >> > >> Whether the call should be Anonymized to end-users. > >> > >> How to get the value of "privacy" ? > >> > >> I try: > >> > >> if( $(ai{privacy}) == "yes" ) > >> > >> But it does not work. (error when starting opensips) > >> > >> Thanks > >> > >> _______________________________________________ > >> Users mailing list > >> [email protected] > >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
