[OpenSIPS-Users] YNT: Re: YNT: Re: YNT: Re: YNT: Re: RFC3261 transaction matching failed error for the second 401 Unauthorized - Challenging the UE
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Oct 21 19:52:41 CEST 2014
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 11 0 0
> 5 100 <---------- 11 0 0
> 6 180 <---------- 11 0 0
> 7 183 <---------- 0 0 0
> 8 200 <---------- 11 0 0
> 9 ACK ----------> 11 0
> 10 180 <---------- 0 0 0
> 11 Pause [Exp(2:00)] 11 0
> 12 BYE ----------> B3 11 0 0
> 13 180 <---------- 0 0 0
> 14 200 <---------- E3,4 11 0 0
> 15 [ RECVRMT ] 11 0
> ------------------------------ Test Terminated
> --------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141021/d3cfc060/attachment.htm>
More information about the Users
mailing list