Re: [OpenSIPS-Users] YNT: Re: YNT: Re: YNT: Re: YNT: Re: RFC3261 transaction matching failed error for the second 401 Unauthorized - Challenging the UE
Hi Bogdan, With the below workaround, I have managed to make load balancing with Opensips dispather module . I am using record_route for INVITE message. Thanks a lot for your support. Kind regards, Kaan Related part of Opensips script ... else if (is_method("INVITE")) { #load_balance("1","pstn"); xlog("xlog_initialinvite"); if($si=="192.168.2.11") { ds_select_dst("1","1"); } record_route(); if(!t_relay()) { sl_reply_error(); xlog("xlog_invitereplyerror"); } exit; ... if (loose_route()) { xlog("xlog_loose_route"); if($si=="192.168.2.11") { t_relay(); exit; } else if($si=="192.168.2.3" or $si=="192.168.2.5" ) { $du = "sip:192.168.2.11:4060"; append_branch(); t_relay(); exit; } . ims_bench output 1- ims_uac-0- Scenario Screen- [1-9]: Change Screen - 6663 Call-rate(length) Port Total-time Total-calls Remote-host 0.0(0 ms)/1.000s 5060 65.32 s 65 192.168.2.141:4060(UDP) 0 new calls during 0.287 s period 1 ms scheduler resolution 0 calls (limit 0) Peak was 32 calls, after 45 s 0 Running, 1 Paused, 1 Woken up, 0 Sync 0 out-of-call msg (discarded) 0 open sockets Messages Retrans Timeout Unexpected-Msg 0[ NOP ] 1[ SENDRMT ] 11 2[ RECVRMT ] 11 0 3[ SYNC ]11 4 INVITE --> B1,2,4 110 0 5100 <-- 110 0 6180 <-- 110 0 7183 <-- 0 0 0 8200 <-- 110 0 9ACK --> 110 10180 <-- 0 0 0 11 Pause [Exp(2:00)] 110 12BYE --> B3 110 0 13180 <-- 0 0 0 14200 <-- E3,4110 0 15[ RECVRMT ] 11 0 -- Test Terminated 1- ims_uac-0- Statistics Screen - [1-9]: Change Screen - 6663 Start Time | 2014-10-20 11:17:42 Last Reset Time| 2014-10-20 11:18:34 Current Time | 2014-10-20 11:18:34 -+---+-- Counter Name | Periodic value| Cumulative value -+---+-- Elapsed Time | 00:00:00:290 | 00:00:51:987 Call Rate |0.000 cps |0.212 cps -+---+-- Incoming call created |0 |0 OutGoing call created |0 | 11 Total Call created | | 11 Current Call |0 | -+---+-- Successful call|3 | 11 Failed call|0 |0 -+---+-- Response Time 1| 00:00:00:000 | 00:00:00:000 Response Time 2| 00:00:44:121 | 00:00:55:011 Response Time 3| 00:00:00:000 | 00:01:07:341 Response Time 4| 00:00:00:000 | 04:08:44:054 Response Time 5| 01:14:06:022 | 01:09:59:415 Response Time 7| 00:01:01:869 | 00:01:10:633 Response Time 8| 00:00:00:000 | 00:01:35:927 Response Time 9| 00:00:00:000 | 04:31:24:539 Response Time 10 | 01:16:07:446 | 01:15:34:687 Response Time 12 | 00:00:00:000
Re: [OpenSIPS-Users] YNT: Re: YNT: Re: YNT: Re: YNT: Re: RFC3261 transaction matching failed error for the second 401 Unauthorized - Challenging the UE
Hi Kaan, I'm glad you managed to fix all your issues and now you have a successfully working configuration. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 20.10.2014 22:09, Kaan Dandin wrote: Hi Bogdan, With the below workaround, I have managed to make load balancing with Opensips dispather module . I am using record_route for INVITE message. Thanks a lot for your support. Kind regards, Kaan Related part of Opensips script ... else if (is_method("INVITE")) { #load_balance("1","pstn"); xlog("xlog_initialinvite"); if($si=="192.168.2.11") { ds_select_dst("1","1"); } record_route(); if(!t_relay()) { sl_reply_error(); xlog("xlog_invitereplyerror"); } exit; ... if (loose_route()) { xlog("xlog_loose_route"); if($si=="192.168.2.11") { t_relay(); exit; } else if($si=="192.168.2.3" or $si=="192.168.2.5" ) { $du = "sip:192.168.2.11:4060"; append_branch(); t_relay(); exit; } . *ims_bench output* 1- ims_uac-0- Scenario Screen- [1-9]: Change Screen - 6663 Call-rate(length) Port Total-time Total-calls Remote-host 0.0(0 ms)/1.000s 5060 65.32 s 65 192.168.2.141:4060(UDP) 0 new calls during 0.287 s period 1 ms scheduler resolution 0 calls (limit 0) Peak was 32 calls, after 45 s 0 Running, 1 Paused, 1 Woken up, 0 Sync 0 out-of-call msg (discarded) 0 open sockets Messages Retrans Timeout Unexpected-Msg 0[ NOP ] 1[ SENDRMT ] 11 2[ RECVRMT ] 11 0 3[ SYNC ]11 4 INVITE --> B1,2,4 110 0 5100 <-- 11 0 0 6180 <-- 11 0 0 7183 <-- 0 0 0 8200 <-- 11 0 0 9ACK --> 11 0 10180 <-- 0 0 0 11 Pause [Exp(2:00)] 110 12BYE --> B3 110 0 13180 <-- 0 0 0 14200 <-- E3,411 0 0 15[ RECVRMT ] 11 0 -- Test Terminated ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] YNT: Re: YNT: Re: YNT: Re: YNT: Re: RFC3261 transaction matching failed error for the second 401 Unauthorized - Challenging the UE
Hi Bogdan, Thanks for your support. I am also trying dialog support as an option. But I found one workaround for the previous option. I have changed the pcscf name of second openims instance which is .5 as pcscf2. And added this hostname in /etc/hosts of opensips. Now opensips is able to send the messages to correct openims pcscf after dns lookup. But in the last message of Ok and Ack coming from openims nodes to ims bench I am making the routing with t_relay (udp:192.168.2.11:4060) instead of t_relay. But this response is not accepted at ims bench it keeps sending Ok and ack messages. What's the difference between t_relay() and t_relay (udp:192.168.2.11:4060) other than defining the destination. What's may be reason at ims bench keeps sending the messages. Kind regards, Kaan Samsung Mobile tarafından gönderildi Orjinal mesaj Kimden: Bogdan-Andrei Iancu Tarih:17 10 2014 10:31 (GMT+02:00) Alıcı: Kaan Dandin ,OpenSIPS users mailling list Cc: Gunes Kurt ,"Ibrahim Hokelek, (BİLGEM-UEKAE)" Konu: Re: YNT: Re: YNT: Re: YNT: Re: [OpenSIPS-Users] RFC3261 transaction matching failed error for the second 401 Unauthorized - Challenging the UE Kaan, as per my previous email, the problem is in sipp, not in openims. To get rid of the large set of Route header, I suggest you to use dialog support on opensips with topologyhiding. http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#id296413 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 16.10.2014 21:43, Kaan Dandin wrote: Hi Bogdan, I have changed the ims_uac.xml of IMS Bench. Now it includes record_route header. But via header in ACK is not having all of the passed nodes. The reason looks, although Open IMS receives all of the passed nodes in via header of 200 OK it received from Open SIPS, it does not include all of them in via header of 200 Ok response sent to OpenSIPS. Therefore ACK from UAC is ended now at Open SIPS instead of Open IMS. Now I need to troubleshoot OpenIMS configuration. BR, ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users