Thanks Ovidiu,<br><br>I installed the xhttp_pi module. Some information in the modules/xhttp_pi/README, probably mixed with xhttp_rpc, should be updated.<br><br>The &#39;loadmodule &quot;xhttp_rpc.so&quot;&#39; instruction is missing, and should replace the &#39;loadmodule &quot;xhttp_rpc.so&quot;&#39; line.<br>
<br>This line :<br>modparam(&quot;xhttp_rpc&quot;, &quot;xhttp_pi_root&quot;, &quot;pi&quot;)<br><br>Should be changed with :<br>modparam(&quot;xhttp_pi&quot;, &quot;xhttp_pi_root&quot;, &quot;pi&quot;)<br><br>And a default value should probably be set to the &#39;framework&#39; parameter, otherwise, Kamailio will fail to start with this error :<br>
Jan 16 10:10:42 ks3095254 /usr/local/sbin/kamailio[19278]: ERROR: xhttp_pi [xhttp_pi.c:274]: missing framework <br><br>Thanks again,<br><br>Philippe<br><br><div class="gmail_quote">2013/1/9 Ovidiu Sas <span dir="ltr">&lt;<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Not all tables are supported by kamctl.<br>
If you are looking for a simple way to provision your tables, you can<br>
try the new provisioning module xhttp_pi:<br>
<a href="http://kamailio.org/docs/modules/devel/modules/xhttp_pi" target="_blank">http://kamailio.org/docs/modules/devel/modules/xhttp_pi</a><br>
<br>
To enable the module in your config simply add the lines provided in<br>
the example to your config:<br>
<a href="http://kamailio.org/docs/modules/devel/modules/xhttp_pi#id2531339" target="_blank">http://kamailio.org/docs/modules/devel/modules/xhttp_pi#id2531339</a><br>
<br>
When you compile and install the module, a sample framework will be<br>
constructed with all the existing tables under:<br>
/usr/local/share/kamailio/xhttp_pi/pi_framework.xml<br>
Then you can edit the file by removing all the tables that are not<br>
used and add new db commands/actions as you need.  A full example with<br>
all the possible commands and features can be found here:<br>
<a href="http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=blob;f=examples/pi_framework.xml" target="_blank">http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=blob;f=examples/pi_framework.xml</a><br>
Or in the source tree: ./examples/pi_framework.xml<br>
<br>
In the future, a new script will be available to generate the the<br>
framework for tables defined in kamctlrc (same behavior as kamdbctl).<br>
<br>
<br>
Regards,<br>
Ovidiu Sas<br>
<br>
--<br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
<div><div class="h5"><br>
On Wed, Jan 9, 2013 at 9:54 AM, Philippe Sultan<br>
&lt;<a href="mailto:philippe.sultan@gmail.com">philippe.sultan@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m migrating from sip-router/Kamailio 3.1, SER flavour to the latest dev<br>
&gt; version, with MySQL support.<br>
&gt;<br>
&gt; I need to add attributes to domains, and therefore use the domain_attrs<br>
&gt; table. A handy command I used for that was ser_attr :<br>
&gt; ser_attr add domain=anydomain.voip attr=value<br>
&gt;<br>
&gt; Is there something similar I can use under the Kamailio flavour? kamctl does<br>
&gt; not seem to help here, unless I missed an option.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Philippe<br>
<br>
</div></div>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Philippe Sultan