avp_db_query("insert into SIP_REG(TIMESTAMP, SIP_USERNAME, DOMAIN, AGENT, CONTACT, EXPIRES, SOURCE, NET_TYPE, SERVER) values ('CURRENT_TIMESTAMP', '$fU', '$fd', '$ua', '$ct', '$hdr(Expires)', '$avp(i:42)', 'NATED', 'Primary OpenSIPS' )");<div>
<br></div><div>Regards,</div><div>Ali<br><br><div class="gmail_quote">On Sun, May 27, 2012 at 3:07 AM, prasad kelkar <span dir="ltr"><<a href="mailto:durga144@gmail.com" target="_blank">durga144@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hello,<br>I tried using AVPpops module to connect to table in mysql.<br>I cant acces value<br>Please give me example code.<br>
Thank You<br>
<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>