[Users] SER with multiple asterisks

Adi Simon adi.simon at gmail.com
Tue Oct 3 13:38:02 CEST 2006


Hi,

I have one SER and two asterisk boxes. I'm trying to duplicate each register
message from the client so it will
reach each of the asterisks. I tried the following in my openser.cfg:

if ( (is_method("SUBSCRIBE")) || (is_method("REGISTER"))  ) {
                seturi("sip:nobody at 10.0.0.1:5060");
                append_branch("sip:parallel at 10.0.0.2:5060");
                 if (!t_relay()) {
                sl_reply_error();
                };
                exit;
}
The first asterisk server registers the UA successfully. The second one
gives this error:

Oct  3 12:55:48 NOTICE[32364]: chan_sip.c:6395 check_auth: stale nonce
received from 'sip:1234566 at foo.bar'
Transmitting (no NAT) to asterisk2:5060:

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?

Thanks,

Adi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20061003/348bd65a/attachment.htm>


More information about the sr-users mailing list