<p dir="ltr">Hi,</p>
<p dir="ltr">Interesting - had not considered the multi IP scenario when adding the replicate function. The send/broadcast functions should both work as expected in multi IP setup (although not what you need) - are you able to confirm this is the case?</p>
<p dir="ltr">I am travelling so it may be a little longer than usual, but I will try to take a look over the next day or so.</p>
<p dir="ltr">Regards,</p>
<p dir="ltr">Charles</p>
<div class="gmail_quote">On 9 Oct 2014 15:32, "Victor V. Kustov" <<a href="mailto:coyote@bks.tv">coyote@bks.tv</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all!<br>
<br>
Situation:<br>
<br>
Server has two IP's. kamailio binded to IP1, dmq binded to IP2.<br>
Everywhere in dmq node listed IP2, of cause. But when message<br>
replicated to dmq node, message sended from IP1 and cannot be<br>
dispatched as message from dmq node.<br>
<br>
modules/dmq/dmq_funcs.c<br>
<br>
396:            if(tmb.t_replicate(msg, &node->orig_uri) < 0) {<br>
<br>
Here used t_replicate from TM module. Message replicated from IP1 of<br>
kamailio SIP. But if dmq bind to another IP - IP2.<br>
<br>
I think message must send from IP, described in dmq's config:<br>
modparam("dmq","server_address", "sip:.....");<br>
<br>
--<br>
 Best regard,<br>
<br>
  JID: <a href="mailto:coyote@bks.tv">coyote@bks.tv</a><br>
  JID: <a href="mailto:coyote@bryansktel.ru">coyote@bryansktel.ru</a><br>
  I use FREE operation system: 3.15.9- GNU/Linux<br>
  up 1 day, 4 hours, 7 minutes<br>
<br>
_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></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: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.</font></span></font></font>