Hello,
On 03/21/2009 11:30 AM, kokoska.rokoska wrote:
Hi all,
I have small (and may be stupid) question:
could I store BIGNT from MySQL DB into avp using avp_db_query? And if yes, how?
no, avps can hold only string or integer values. Maybe you can get what you want via string - keep the bigint as string. Probably in the future will take this in consideration.
Now the focus is to integrate http://sip-router.org -- several modules left there and then we can take new features request on board: http://sip-router.org/wiki/devel/kamailio-integration#module_integration_sta...
Cheers, Daniel
BTW: I tried to do it, but avp was always null. When I tried sql_query, I saw one row was red (with one column) but $dbr(ra=>[0,0]) was empty. If I changed colmun (well, better to say, I changed returning type from my stored function) to INT, everything worked well...
Any hint is welcome :-)
Best regards,
kokoska.rokoska
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users