<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
not that familiar with the dmq code to assert something by hart, but
you can always prevent any incident by capturing the SIP packet
inside config file and reply from there instead of handling it with
dmq module (if(method==...) ).<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 21/10/15 09:49, Sebastian Damm
wrote:<br>
</div>
<blockquote
cite="mid:CABkWSFyGa79ZOzu7CJKofXk0W5YbT+71ftPH=1r8ZLRuoGY2Hg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hi,<br>
<br>
</div>
I did see that REGISTERs received via DMQ are not
replicated. What I was wondering is, whether registrar 1 at
some point discovers registrar 2 through the DMQ pings, and
then "automagically" starts replicating its packets to
registrar 2, too. <br>
<br>
</div>
Best Regards,<br>
</div>
Sebastian<br>
<div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Oct 20, 2015 at 5:32
PM, Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:miconda@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
<br>
iirc, if one node doesn't handle a SIP register
itself, should not publish to other nodes
anything. Is this what you are looking for -- one
node not to send to the others?<br>
<br>
Cheers,<br>
Daniel
<div>
<div class="h5"><br>
<br>
<div>On 20/10/15 17:24, Sebastian Damm wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi,<br>
<br>
</div>
I evaluated the dmq_usrloc module,
and it works pretty good if there
are two identical machines which
replicate their location with each
other. But what I actually want to
do is to send registrations to an
extra machine which is just there
for writing the location into a
central DB (in one table for all the
registrars), from where it can be
accessed (by a web page for
example).<br>
<br>
</div>
So for example, I have three machines,
registrar 1 and registrar 2, and
receiver. receiver will never interact
with customers. It is just there for
writing the location into the
database.<br>
<br>
</div>
<div>I configured both registrars to
send their packets to receiver, and I
configured the receiver to send its
packets (which it actually never does)
to a dns name containing both
registrars. But after reading the
content of some PING messages and
reading something about
"autodiscovery" of dmq on the mailing
list, I'm not sure whether my scenario
will work the way I want it to.<br>
<br>
</div>
<div>Can somebody explain whether I can
use dmq_usrloc for this purpose? Or is
it only intended to be used for
bidirectional replication?<br>
<br>
</div>
<div>Best Regards,<br>
</div>
<div>Sebastian<br>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</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>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>