Re: [SR-Users] kamcmd vs kamctl

2013-06-05 Thread DanB

Hey Ovidiu,

Thanks for the tip. Will have a look.

Have a good one!

DanB

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamcmd vs kamctl

2013-06-04 Thread DanB

Hey Daniel,

Thanks for the answer. It makes more sense now.

Have a good one!
DanB


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamcmd vs kamctl

2013-06-04 Thread Ovidiu Sas
Hello Dan,

You can also use the built in web provisioning interface:
http://kamailio.org/docs/modules/4.0.x/modules/xhttp_pi.html
You can build your own provisioning layout (you can preset fields) and
also pre-validate data before pushing it into the database (like URI
or socket type validation).

Also, for running RPC commands via a web interface see:
http://kamailio.org/docs/modules/4.0.x/modules/xhttp_rpc.html

Regards,
Ovidiu Sas

On Tue, Jun 4, 2013 at 4:07 AM, DanB danb.li...@gmail.com wrote:
 Hey Daniel,

 Thanks for the answer. It makes more sense now.

 Have a good one!
 DanB



 ___
 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
 sr-users@lists.sip-router.org
 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamcmd vs kamctl

2013-06-03 Thread Daniel-Constantin Mierla

Hello,

On 6/3/13 4:47 PM, DanB wrote:

Hey Guys,

since I am considering administrating kamailio over console, I was 
wondering what is the current recommended way to do it:


 * kamcmd - new tool, lost track of it's existing support
 * kamctl - old tool, many commands returning ERROR: command 
disabled - eg LCR ones.

both are maintained and probably you need both.

First is a tool, kamcmd, is written in C for communication with kamailio 
using binrcp - practically executing RPC commands. It can connect from a 
remote host.


Second one, kamctl, is a shell wrapper managing kamailio database and 
communicating with kamailio via fifo file by default, but it can invoke 
sercmd as well (see kamctlrc for setting ctl engine). Thus, at the end 
of the day, you may just use kamctl, but with kamcmd used inside.


Support for lcr was not maintained by the developer of the module as the 
tables got quite complex in the structure, requiring many parameters. 
But if someone wants to introduce them back, it is no problem.


Cheers,
Daniel

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
  * http://asipto.com/u/katu *


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users