<div dir="ltr">Hi Daniel,<div><br></div><div style>Yes, dmq is the clear way forward once it's working. Is it a lot of work to get going again? For it to be really useful, I would imagine other modules will need to make use of it from within their code, rather than the user trying to do stuff in the config. I may take a look and see how far along it is.</div>
<div style><br></div><div style>The others all seem to hinge around dialog:start and dialog:end event routes, but we really need to replicate info about early dialogs too. So I think we'll have to send some notifications from the other routes as well.</div>
<div style><br></div><div style>Anyway, thanks again,<br></div><div style><br></div><div style>Charles</div><div style><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 26 March 2013 15:05, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<div class="im"><br>
<br>
On 3/26/13 1:51 PM, Charles Chance wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I was wondering, how are others sharing dialog module (particularly profile) state between multiple servers?<br>
</blockquote>
<br></div>
if it is just about counting the active dialog calls per user/ip/etc ... so far I am mainly using htable, with notifications from each node to the other using uac_req_send() (see next for ways for when to send notifications). I index by key (userid,ip/etc) plus the call id, then I use $shtcn(...) to get the number of items for an user/ip/etc...<br>
<br>
An alternative is to use a database table and replicate its content. This comes in addition to the dialog table, using the event_routes exported by the dialog module to update records:<br>
<br>
- <a href="http://kamailio.org/docs/modules/stable/modules/dialog.html#id2556376" target="_blank">http://kamailio.org/docs/<u></u>modules/stable/modules/dialog.<u></u>html#id2556376</a><br>
<br>
dmq module is supposed to offer the framework for inter-kamailio communication, iirc, the developer added support for distributing htable keys. But then he changed job and didn't work further on this part, it is in my list to get it going again before next major release.<br>
<br>
Cheers,<br>
Daniel<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Kamailio World Conference, April 16-17, 2013, Berlin<br>
- <a href="http://conference.kamailio.com" target="_blank">http://conference.kamailio.com</a> -<br>
<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">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/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</font></span></blockquote></div><br><br>
</div></div>
<br>
<font face="Helvetica, Arial, sans-serif"><font size="2"><span style="font-size:10pt"><a href="http://www.sipcentric.com/" title="blocked::http://www.sipcentric.com/" target="_blank">www.sipcentric.com</a><br>
<br>
Follow us on twitter <a href="http://twitter.com/sipcentric" title="blocked::http://twitter.com/sipcentric" target="_blank">@sipcentric</a><br>
<br>
<font color="gray">Sipcentric Ltd.
Company registered in England & Wales no. 7365592.</font> <font color="gray">Registered
office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham B7 4EJ.</font></span></font></font>