[Kamailio-Users] BIGINT in avp
Daniel-Constantin Mierla
miconda at gmail.com
Tue Mar 24 09:50:41 CET 2009
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_status
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 at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
>
--
Daniel-Constantin Mierla
SIP Router Masterclass - Kamailio (OpenSER) Training
http://www.asipto.com/index.php/sip-router-masterclass/
More information about the sr-users
mailing list