[OpenSIPS-Devel] [ opensips-Bugs-3514052 ] B2B - incompatibility with path module

SourceForge.net noreply at sourceforge.net
Mon Apr 2 16:47:34 CEST 2012


Bugs item #3514052, was opened at 2012-04-01 23:35
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3514052&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: 1.8.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nick Altmann (nikbyte)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: B2B - incompatibility with path module

Initial Comment:
When opensips with b2b logic receives packet from another opensips with enabled path module with header like
Route: <sip:192.168.0.1;r2=on;lr;received=sip:8.8.8.8:49766>
it ignores this packet with message in log:
Apr  2 10:15:43 opensips-2-1 /usr/sbin/opensips[17826]: DBG:b2b_entities:b2b_prescript_f: start - method = CANCEL
Apr  2 10:15:43 opensips-2-1 /usr/sbin/opensips[17826]: DBG:b2b_entities:b2b_prescript_f: Found route headers
In my case it's CANCEL message.

I think, that in dlg.c of b2b_entities module in function b2b_prescript_f route tag should be checked on received tag. If packet with route header with received tag, it shouldn't be ignored.


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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2012-04-02 07:47

Message:
As per discussion, the problem is that the b2b is not accepting pre-loaded
routes  - like the b2b should ignore the Route header as time as  they
point to its own IPs.

Attached is the proper fix for this - please have it tested.

Thanks and regards,
Bogdan

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

Comment By: Nick Altmann (nikbyte)
Date: 2012-04-02 03:37

Message:
I've added patch #3514102 for this issue to patches tracker. Tested. It
works.

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

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



More information about the Devel mailing list