<div>Hi,</div>
<div> </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> </div>if ( (is_method("SUBSCRIBE")) || (is_method("REGISTER")) ) {<br> seturi("sip:nobody@10.0.0.1:5060");<br> append_branch("sip:parallel@10.0.0.2:5060");
<br> if (!t_relay()) {<br> sl_reply_error();<br> }; <br> exit;<br>}
<div> </div>
<div>The first asterisk server registers the UA successfully. The second one gives this error:</div>
<div> </div>
<div>Oct 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> </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> </div>
<div>Thanks,</div>
<div> </div>
<div>Adi.</div>