Hi Tali,

Do you see any errors/warning in the log when the 401 is handled ? If you say that the test is ok if you wait/eliminate the first set of tests, I would say that there is something wrong with the testing setup and you get some "interferences" between the 2 sets of tests (maybe at the TCP connection layer or at the SIP layer).

Regards,

Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

On 10/23/2017 03:50 PM, Gillon, Tali via Users wrote:
Hi,
i have the following scenario:

We have in our tests client and server and between them we have the opensips server. The client sends register request to opensips server and opensips server is supposed to forward it to our server. Our server sends the answer to opensips server and opensips server forwards it to client back:

In the first test the client sends register and the registrar sends error back (the sip server is a mediator between them):

client ---------register-------------------> opensips server ------------register------------> Our server

client <-----------404------------------------opensips server <----------404-------------------- Our server

The test repeats 3 times each time with a different error code : 404, 405, 408

The second test is a simple test of register process:
client sends register to opensips, opensips forwards it to our server,
Our server returns 401 (asks for authentication) to opensips and opensips is *supposed*
to forward it to the client but it never happens.

I must say that if the first test runs only twice and not 3 times it won't happen and all the tests will pass.

Also, If I put sleep between the first test and the second test the test passes also.

could you check it?
I attached the pcap file.

Thanks,
Tali






_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to