yes, I installed the kamailio-geoip-modules for debian, but I am not sure if the geoip
module needs to be loaded. I tried what you said and I got this error:
ERROR: <core> [sr_module.c:560]: load_module(): ERROR: load_module: could not find
module <geoip> in
</usr/local/lib/kamailio/modules_k/:/usr/local/lib64/kamailio/modules/>
Mar 21 00:44:09 ip-172-10-30-15 kamailio: : <core> [cfg.y:3567]: yyerror_at(): parse
error in config file /usr/local/etc/kamailio//kamailio.cfg, line 259, column 12-21: failed
to load module
Regards,
Arun
________________________________
From: jay binks <jaybinks(a)gmail.com>
To: arun Jayaprakash <jayaprakasharun(a)yahoo.com>
Cc: Kamailio (SER) - Users Mailing List <sr-users(a)lists.sip-router.org>
Sent: Friday, March 21, 2014 12:38 AM
Subject: Re: [SR-Users] problem with geoip.
yea man your going to need to have
loadmodule "geoip.so"
in your config file..
and depending on how you installed kamailio, you may need to install the kamailio-geoip
package for your OS.
( eg kamailio-geoip-modules for debian )
Jay
On 21 March 2014 15:36, <jayaprakasharun(a)yahoo.com> wrote:
geoip module? Yes, I have libgeoip installed on my os.
Thanks,
Arun
On Mar 21, 2014, at 12:21 AM, jay binks <jaybinks(a)gmail.com> wrote:
do you have libgeoip installed ( on your OS ),
>and have you got the geoip module being loaded in your kamailio config ?
>
>
>Jay
>
>
>On 21 March 2014 15:06, arun Jayaprakash <jayaprakasharun(a)yahoo.com> wrote:
>
>Hello, I am trying to set up my Kamailio config file with geoip but I keep getting the
following error:
>>
>>
>>ERROR: <core> [modparam.c:163]: set_mod_param_regex(): set_mod_param_regex:
No module matching <geoip> found
>>
>>
>>
>>I have set my modparam as follows:
>>
>>
>>modparam("geoip", "path",
"/usr/share/GeoIP/GeoLiteCity.dat")
>>
>>
>>
>>I am using Ubuntu 12.04 and have loaded the geoip libraries and the database. Is
there something I am missing?
>>
>>
>>Thank you,
>>Arun
>>_______________________________________________
>>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>sr-users(a)lists.sip-router.org
>>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
>
>--
>Sincerely
>
>Jay
--
Sincerely
Jay