[Users] Exported statistics and pseudo-variables

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Feb 21 22:08:36 CET 2007


Hi Michel,

the statistics are to be used from outside openser (via fifo or xmlrpc 
for example) to get a glimpse inside openser.  Pseudo variables are used 
from script to provide information from SIP messages or modules.

so, use from script the PV $dlg_count exactly you suspected ;).

regards,
bogdan

Michel Bensoussan wrote:
> Hello
> I didn't understand how to use the exported statistics and the 
> pseudo-variables.
> In module dialog, active_dialogs is an exported statistic and 
> $dlg_count a pseudo variable.
> How can I get them in code and in cfg file?
> Can I write in cfg file something like: if ($dlg_count > 10){...}? 
> (not in this way of course but that's the idea).
>
> Thanks,
> Michel.
>
> PS: I didn't understand the example in 
> http://www.openser.org/dokuwiki/doku.php/pseudovariables:1.1.x
>





More information about the Users mailing list