Discussion:
[SR-Users] send remote command to kamailio
(too old to reply)
Vik Killa
2014-10-17 15:18:35 UTC
Permalink
Raw Message
Hello,
I've installed kamailio from debian repo:

deb http://deb.kamailio.org/kamailio wheezy main
deb-src http://deb.kamailio.org/kamailio wheezy main

I am unable to use any RPC related module though...

apt-cache search doesn't show them...I installed every kamailio-* package
just to make sure but still no luck.

Basically, i just want to reload a hash remotely
Locally I can do this with:

kamcmd htable.dump freeswitch_ips


Do I need to compile/install kamailio from source in order to use an RPC
package?

Thanks.
/V
Vik Killa
2014-10-20 13:47:40 UTC
Permalink
Raw Message
If any one is interested, I found I had to compile kamailio in order to use
the module "mi_xmlrpc"
A follow-up question, why doesn't the htable use separate chaining to avoid
collisions?

Thanks.
/V
Post by Vik Killa
Hello,
deb http://deb.kamailio.org/kamailio wheezy main
deb-src http://deb.kamailio.org/kamailio wheezy main
I am unable to use any RPC related module though...
apt-cache search doesn't show them...I installed every kamailio-* package
just to make sure but still no luck.
Basically, i just want to reload a hash remotely
kamcmd htable.dump freeswitch_ips
Do I need to compile/install kamailio from source in order to use an RPC
package?
Thanks.
/V
Daniel-Constantin Mierla
2014-10-20 14:32:25 UTC
Permalink
Raw Message
Hello,

xmlrpc modules are packaged separately -- you have to install the
package kamailio-xml-modules. No need to re-install from sources.

Cheers,
Daniel
Post by Vik Killa
If any one is interested, I found I had to compile kamailio in order
to use the module "mi_xmlrpc"
A follow-up question, why doesn't the htable use separate chaining to
avoid collisions?
Thanks.
/V
Hello,
deb http://deb.kamailio.org/kamailio wheezy main
deb-src http://deb.kamailio.org/kamailio wheezy main
I am unable to use any RPC related module though...
apt-cache search doesn't show them...I installed every kamailio-*
package just to make sure but still no luck.
Basically, i just want to reload a hash remotely
kamcmd htable.dump freeswitch_ips
Do I need to compile/install kamailio from source in order to use
an RPC package?
Thanks.
/V
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Vik Killa
2014-10-20 15:16:33 UTC
Permalink
Raw Message
"xmlrpc modules are packaged separately -- you have to install the package
kamailio-xml-modules. No need to re-install from sources."

I tried this with apt-get, but mi_xmlrpc could not load, also doing a
locate mi_xmlrpc.so failed
Apparently, there is a difference between xmlrpc.so and mi_xmlrpc.so



<snip>

Loading...