[SR-Users] Store GeoIP in Accounting

Ali Jawad ali.jawad at splendor.net
Thu Mar 21 14:18:49 CET 2013


Hi
I am storing accounting entries in the db, and I am also inserting some
custom AVP values, however I also need to store the GeoIP value that I am
extracting using gip. I did try the below, but it is not working, any other
ideas how I could achieve this ?


modparam("acc", "log_extra",

"src_user=$fU;src_domain=$fd;dst_ouser=$tU;dst_user=$rU;dst_domain=$rd;CountryCode=$gip(src=>cc)")

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130321/4605577b/attachment.htm>


More information about the sr-users mailing list