[OpenSER-Users] Scrolling through resultset

mark morreny markmorreny at gmail.com
Wed May 28 13:13:51 CEST 2008


Hi,

If I want to walk through a resultset of numbers, how can I do that?
I have tried:

$var(index) = 1
while (is_avp_set($var(i:$index) )
$var(index) = $var(index) +1;

However $var(i:$index) won't work.  I am wondering if someone can tell me
how I can correct it.

The other question I have is about psuedo-variable.  Is there any
psuedo-variable can give me the IP of the Openser server?

Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080528/584368ee/attachment.htm>


More information about the sr-users mailing list