Hi all,
i am quite new to use opensips, i have been using SER since last week.
i want to use opensips to inject a delay then relay SIP messages, actually
there is function "sleep" under cfgutils.so module, i have tested it .. it is
working fine, my problems are:
1/ i have problem using scripting variable i want to do like that:
# define variable
$var(a) = 10;
# then
sleep ("$var(a)");
but the config file does not accept that, it gives error while when i use
sleep("10") there is no problem... so do i have a problem using that and if yes
how can i solve this.
2/ i need to implement this delay to be a random variate where i can use
different distribution like exponential or normal, does any one try to do
that before or have an idea how i can implement that
any ideas are appreciated.
Amar
_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live
http://clk.atdmt.com/MRT/go/119462413/direct/01/_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users