<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
might worth reading the devel guide:<br>
<br>
- <a class="moz-txt-link-freetext" href="http://www.asipto.com/pub/kamailio-devel-guide/">http://www.asipto.com/pub/kamailio-devel-guide/</a><br>
<br>
It is for an older version, but still good.<br>
<br>
Then, if you want to implement a db_redis module (a module that can
be used instead of other db modules, such as db_mysql), maybe
checking db_mongodb is good to learn by example, given the mongodb
is nosql system as well.<br>
<br>
I think for redis the main things to sort out is how you serialize
the structures that are going to be saved (maybe using serialized
json will allow reusing code from mongodb) and what will be the key
value, as redis is practically a (key, value) storage. Maybe storing
a redis hash structure is an alternative. Then, how the expressions
to select records are built to match in redis system.<br>
<br>
Not being very familiar with redis, I cannot assert properly the
complexity to get the above sorted out nicely.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 26/03/15 22:27, Yuriy Gorlichenko
wrote:<br>
</div>
<blockquote
cite="mid:CABSP_Vf1ziq7YOP3Lj1eJZ=19k9cCWXO44Tmk629ak2JjTrwXQ@mail.gmail.com"
type="cite">
<div dir="ltr">Daniel, hello. Our service need to translate
location table to redis, and we want start to write own module
for kamailio. Akn you give us some advices and documentation for
API of kamailio, that we may to use for creation own module.<br>
Thks</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>