Thanks for the submission. At the end I applied a patch with explicit casting of the big int value to be safe on all architecture.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/182#issuecomment-113435167