<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Lazlo,<br>
<br>
Good the problem was sorted out. May I ask what kind of
misconfiguration lead to a missing IP in RR hdr ? were you doing
manual RR via record_route_preset() ? or ?<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 05/07/2013 12:08 PM, Laszlo wrote:
<blockquote
cite="mid:CANhz8u=1zX8cOCPAvwk0pvy5WKc3tjBh_ohyfugSU5WCHMSqLA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hi Bogdan,<br>
<br>
</div>
There was no record_route before firing up b2b, just a
logical mistake in the config.<br>
<br>
</div>
It is now sorted out, thanks!<br>
<br>
<br>
</div>
-Laszlo <br>
</div>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">2013/4/30 Bogdan-Andrei Iancu <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> <tt>The bogus RR
belongs to .170 which is the B2B - are you by mistake
doing record_route before pushing the call into the b2b
? if so, this is wrong and take it out..<br>
<br>
Regards,<br>
</tt>
<div class="im">
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<br>
</div>
<div>
<div class="h5"> On 04/30/2013 01:09 PM, Laszlo wrote:
<blockquote type="cite">
<div dir="ltr">
<div>
<div>Hi Bogdan,<br>
<br>
</div>
Sorry for not explaining it well :)<br>
<br>
<br>
</div>
this is my problem:<br>
<br>
<div>U 2013/04/30 02:13:50.130487 <a
moz-do-not-send="true"
href="http://103.29.214.170:5060"
target="_blank">xx.xx.xx.xx:5060</a> ->
yy.yy.yy.yy<a moz-do-not-send="true"
href="http://85.25.27.69:5060" target="_blank">:5060</a></div>
<div>SIP/2.0 183 Session Progress.</div>
<div>Record-Route: <a moz-do-not-send="true"><sip:6288808754418@;r2=on;lr;ftag=as439eda7d;did=35.b69971a2></a>.</div>
<div>Record-Route: <<a moz-do-not-send="true"
href="mailto:sip%3A6288808754418@103.29.214.170"
target="_blank">sip:6288808754418@xx.xx.xx.xx</a>;r2=on;lr;ftag=as439eda7d;did=35.b69971a2>.<br>
<br>
</div>
<div>it is the packet relayed to the calling
party, see the first record-route header, it's
missing the host part.<br>
<br>
</div>
<div>It is missing when I use the b2b refer
scenario. The refer-to is not processed in the
trace, I'm just saying that the host part is
missing :)<br>
<br>
<br>
</div>
<div>when using the b2b top hiding scenario, the
problem isn't present!<br>
<br>
<br>
</div>
<div>-Laszlo<br>
</div>
<br>
<div>
<div>
<div><br>
<br>
</div>
</div>
</div>
</div>
<div class="gmail_extra"> <br>
<br>
<div class="gmail_quote">2013/4/30 Bogdan-Andrei
Iancu <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:bogdan@opensips.org"
target="_blank">bogdan@opensips.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:
0pt 0pt 0pt 0.8ex; border-left: 1px solid
rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> Hi
Lazlo,<br>
<br>
I do not understand - the LB + b2b refer
capture shows a call going through the B2B
and receiving a 503.....there is no REFER
stuff there at all...<br>
<br>
Is there something I mis ?
<div><br>
<br>
Regards,<br>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<br>
</div>
On 04/29/2013 04:09 PM, Laszlo wrote:
<blockquote type="cite">
<div dir="ltr">
<div>Hi Bogdan,<br>
<br>
</div>
<div>
<div>
<div>with the stock LB config:<br>
</div>
<a moz-do-not-send="true"
href="http://pastebin.com/Msw6Hk0p"
target="_blank">http://pastebin.com/xxxxxxxxxxx</a>
<div><br>
<br>
with LB + b2b refer<br>
</div>
<a moz-do-not-send="true"
href="http://pastebin.com/zYb3PxLe"
target="_blank">http://pastebin.com/xxxxxxxxxxx</a><br>
<br>
<br>
</div>
</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/4/29
Bogdan-Andrei Iancu <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:bogdan@opensips.org"
target="_blank">bogdan@opensips.org</a>></span><br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid
rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff"
text="#000000"> <tt>Hi Lazlo,<br>
<br>
Could you post somewhere the
SIP capture of the call ?
Just to be sure I correctly
understand your scenario.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div> <br>
On 04/29/2013 02:38 PM,
Laszlo wrote: </div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hello,<br>
<br>
<br>
</div>
Just tried to
play with the
b2b refer
scenario with
opensips.<br>
</div>
The config is
pretty much the
default LB
config from <a
moz-do-not-send="true" href="http://opensips.org" target="_blank">opensips.org</a>,
so nothing sexy
in the conf, it
works fine
without the b2b
stuff. LB
destinations are
reachable
through the
private ip of
the server.<br>
<br>
</div>
if I use the b2b
topology hiding
scenario, it also
work fine.<br>
</div>
when I use the refer
scenario, things
goes mad :)<br>
<br>
</div>
Sending this to the
caller party (default
LB config):<br>
<p
style="margin-bottom:
0in;">U 2013/04/30
02:19:05.920262
opensips_public_ip:5060
-> caller_ip:5060</p>
<p
style="margin-bottom:
0in;">SIP/2.0 183
Session Progress.</p>
<p
style="margin-bottom:
0in;">Via:
SIP/2.0/UDP
caller_ip:5060;received=caller_ip;branch=z9hG4bK25704719;rport=5060.</p>
<p
style="margin-bottom:
0in;">Record-Route:
<a
moz-do-not-send="true"><sip:username@opensips_private_ip;r2=on;lr;ftag=as38e68f66;did=a3c.83df6ae1></a>.</p>
<p
style="margin-bottom:
0in;">Record-Route:<a
moz-do-not-send="true"><sip:username@opensips_public_ip;r2=on;lr;ftag=as38e68f66;did=a3c.83df6ae1></a>.</p>
<br>
<br>
<br>
<div>
<div>
<div>
<div>New callĀ
with the refer
settings
applied:<br>
<br>
U 2013/04/30
02:13:50.130487
opensips_public_ip:5060
->
caller_ip:5060<br>
SIP/2.0 183
Session
Progress.<br>
Record-Route:
<a
moz-do-not-send="true"><sip:6288808754418@;r2=on;lr;ftag=as439eda7d;did=35.b69971a2></a>.<br>
Record-Route:
<a
moz-do-not-send="true"><sip:6288808754418@opensips_public_ip;r2=on;lr;ftag=as439eda7d;did=35.b69971a2></a>.<br>
</div>
<div><br>
<br>
</div>
<div>In the
first
record-route
header, the
host part is
missing.<br>
<br>
</div>
<div>The
relevant lines
from the
syslog in this
case: <br>
Apr 30
02:13:47 svr2
/usr/local/sbin/opensips[30081]:
CRITICAL:core:lumps_len:
lumps_len
called with
null send_sock<br>
Apr 30
02:13:47 svr2
/usr/local/sbin/opensips[30081]:
CRITICAL:core:lump_check_opt:
null send
socket<br>
Apr 30
02:13:47 svr2
/usr/local/sbin/opensips[30081]:
CRITICAL:core:lump_check_opt:
null send
socket<br>
Apr 30
02:13:47 svr2
/usr/local/sbin/opensips[30081]:
CRITICAL:core:lump_check_opt:
null send
socket<br>
Apr 30
02:13:47 svr2
/usr/local/sbin/opensips[30081]:
CRITICAL:core:lump_check_opt:
null send
socket<br>
Apr 30
02:13:47 svr2
/usr/local/sbin/opensips[30081]:
CRITICAL:core:process_lumps:
null
bind_address<br>
Apr 30
02:13:47 svr2
/usr/local/sbin/opensips[30081]:
CRITICAL:core:lump_check_opt:
null send
socket<br>
Apr 30
02:13:47 svr2
/usr/local/sbin/opensips[30081]:
CRITICAL:core:lump_check_opt:
null send
socket<br>
Apr 30
02:13:47 svr2
/usr/local/sbin/opensips[30081]:
CRITICAL:core:lump_check_opt:
null send
socket<br>
Apr 30
02:13:47 svr2
/usr/local/sbin/opensips[30081]:
CRITICAL:core:lump_check_opt:
null send
socket<br>
<br>
<br>
</div>
<div>What can
cause this?<br>
</div>
<div>It is a
multihomed
enviroment
with opensips
1.9.<br>
# opensips -V<br>
version:
opensips
1.9.0-notls
(x86_64/linux)<br>
flags: STATS:
Off, USE_IPV6,
USE_TCP,
DISABLE_NAGLE,
USE_MCAST,
SHM_MEM,
SHM_MMAP,
PKG_MALLOC,
F_MALLOC,
FAST_LOCK-ADAPTIVE_WAIT<br>
ADAPTIVE_WAIT_LOOPS=1024,
MAX_RECV_BUFFER_SIZE
262144,
MAX_LISTEN 16,
MAX_URI_SIZE
1024, BUF_SIZE
65535<br>
poll method
support: poll,
epoll_lt,
epoll_et,
sigio_rt,
select.<br>
svnrevision:
2:9980<br>
@(#) $Id:
main.c 9790
2013-02-15
10:14:34Z
bogdan_iancu $<br>
main.c
compiled on
00:52:55 Apr
30 2013 with
gcc 4.4.6<br>
<br>
<br>
</div>
<div>-Laszlo<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</body>
</html>