<meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Igor,</div><div><br></div><div>Very close. Notice the ( between $ and var and ) after var name:</div><div><br></div>$var(fs_addr) = $(var(fs_addr_s){ip.resolve}{ip.ntop});<br>
<br><div>see syntax near top of <a href="http://www.opensips.org/Resources/DocsCoreVar16">http://www.opensips.org/Resources/DocsCoreVar16</a><div><br><div>Dave</div><div><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 10:36 AM, Igor Solovyov <span dir="ltr"><<a href="mailto:igor@choochee.com">igor@choochee.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi All,<br><br>I try to execute in the script<br>$var(fs_addr_s) = "<a href="http://opensips.org" target="_blank">opensips.org</a>"; # just for test<br>
$var(fs_addr) = $var(fs_addr_s{ip.resolve}{ip.ntop});<br>xlog("L_ERR", "fs_addr = $var(fs_addr)");<br>
but in log I can see only 0 instead of resolved ip address.<br>What I do wrongly?<br><br>Thanks,<br><font color="#888888">Igor.<br><br>
</font><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div></div>