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