On 06/30/2009 05:32 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
- 'mi' rpc command can be used to execute K MI commands
- example using sercmd:
sercmd> mi uptime 200 OK
sercmd> mi domain_dump 200 OK
- :: test.fi
- :: foo.bar
sercmd> mi domain_reload 500 Domain table reload failed
sercmd> Jun 30 18:30:35 localhost /usr/sbin/sip-router[20064]: ERROR: <core> [db.c:422]: invalid parameter value Jun 30 18:30:35 localhost /usr/sbin/sip-router[20064]: ERROR: domain [domain.c:242]: Error while trying to use domain table
seems some MI commands needs a bit of review and fix to work over rpc, because in some cases they do not open db connection in all children, like it was with domain module. It opened only in the mi transport process. It should be fixed now. Let me know if works ok.
Daniel