[OpenSIPS-Devel] [ opensips-Bugs-2808416 ] Load_balancer dst_uri always uses 5060 as port

SourceForge.net noreply at sourceforge.net
Tue Jul 7 11:56:25 CEST 2009


Bugs item #2808416, was opened at 2009-06-18 17:24
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2808416&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
>Resolution: Invalid
>Priority: 1
Private: No
Submitted By: Josip Djuricic (jdjurici)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Load_balancer dst_uri always uses 5060 as port

Initial Comment:
I've noticed this strange behavior on trunk and 1.5.0 versions (didn't tried any other version though), when I input dst_uri with port specified in it (i.e. sip: xxx.xxx.xxx.xxx:33333) it always sends sip messages to port 5060 instead of 33333. Because of this I get loops if I'm using same IP for b2bua and sips. So is this behavior normal or is it a bug?

Best regards,

Josip

----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-07-07 12:56

Message:
Hi Josip,

running some tests:

+----+----------+--------------------+--------------------+------------+-------------+
| id | group_id | dst_uri            | resources          | probe_mode |
description |
+----+----------+--------------------+--------------------+------------+-------------+
|  1 |        1 | sip:127.0.0.1:5100 | pstn=3;tr=5;fff=5  |          0 |  
          | 
|  2 |        1 | sip:127.0.0.1:5200 | pstn=6;tr=57;fff=5 |          0 |  
          | 
+----+----------+--------------------+--------------------+------------+-------------+


and I get (via xlog($du)) :
--------AFTER LB ------ DU=<sip:127.0.0.1:5200>

and the trace shows:
U 127.0.0.1:5060 -> 127.0.0.1:5200
INVITE sip:service at 127.0.0.1:5100 SIP/2.0

Regards,
Bogdan

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-06-20 02:23

Message:
Let's sort out on the mailing list if indeed it's a bug or not.

Regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2808416&group_id=232389



More information about the Devel mailing list