<div>Hi,</div>
<div>&nbsp;</div>
<div>I have one SER and two asterisk boxes. I'm trying to duplicate each register message from the client so it will</div>
<div>reach each of the asterisks. I tried the following in my openser.cfg:</div>
<div>&nbsp;</div>if ( (is_method(&quot;SUBSCRIBE&quot;)) || (is_method(&quot;REGISTER&quot;))&nbsp; ) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; seturi(&quot;sip:nobody@10.0.0.1:5060&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append_branch(&quot;sip:parallel@10.0.0.2:5060&quot;);
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (!t_relay()) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_reply_error();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; };&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>}
<div>&nbsp;</div>
<div>The first asterisk server registers the UA successfully. The second one gives this error:</div>
<div>&nbsp;</div>
<div>Oct&nbsp; 3 12:55:48 NOTICE[32364]: chan_sip.c:6395 check_auth: stale nonce received from '<a href="mailto:sip:1234566@foo.bar">sip:1234566@foo.bar</a>'<br>Transmitting (no NAT) to asterisk2:5060:</div>
<div>&nbsp;</div>
<div>I googled a bit and I understand I cannot fully duplicate a sip message since the nonce cannot be identical. Is there a way to recreate the sip message with another nonce? Is there any other solution to this scenario?
</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>&nbsp;</div>
<div>Adi.</div>