[OpenSIPS-Users] How to store variables into file
How can I save any variable into log? I use somethin like this: log("$Ts"); But in log file I always get: Jan 9 16:39:14 OpenSips/sbin/opensips[23670]: $Ts How I can get this variable in log? -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/How-to-store-variables-into-file-tp7605497.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] How to store variables into file
Hello, PS: Because you are not subscribed to the list, your messages are moderated - therefore they might not reach the list, or might reach the list later. Please subscribe to the users list[1], otherwise the interaction between us and you will be harder. [1] http://lists.opensips.org/cgi-bin/mailman/listinfo/users Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/09/2017 05:43 PM, maatohewetbi wrote: How can I save any variable into log? I use somethin like this: log("$Ts"); But in log file I always get: Jan 9 16:39:14 OpenSips/sbin/opensips[23670]: $Ts How I can get this variable in log? -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/How-to-store-variables-into-file-tp7605497.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] How to store variables into file
Ok, I managed to get variables in log. I used *xlog* instead of *log*. It looks like variables can't be written by log function. -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/How-to-store-variables-into-file-tp7605497p7605504.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users