[OpenSIPS-Users] using avpops module

Ali Pey alipey at gmail.com
Mon May 28 20:23:30 CEST 2012


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' )");

Regards,
Ali

On Sun, May 27, 2012 at 3:07 AM, prasad kelkar <durga144 at gmail.com> wrote:

> hello,
> I tried using AVPpops module to connect to table in mysql.
> I cant acces value
> Please give me example code.
> Thank You
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120528/fe174d53/attachment.htm>


More information about the Users mailing list