[OpenSER-Devel] [ openser-Bugs-1834870 ] dialog route_set contains invalid information

SourceForge.net noreply at sourceforge.net
Tue Nov 20 01:14:21 UTC 2007


Bugs item #1834870, was opened at 2007-11-19 17:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1834870&group_id=139143

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: core
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: reticent (unspin)
Assigned to: Nobody/Anonymous (nobody)
Summary: dialog route_set contains invalid information

Initial Comment:
When changing the transmission protocol from UDP to TCP and using Record-Routing the resultant route_set in the dialog structure ('route_set' in the dialog or 'caller_route_set' and 'callee_route_set' in the database when using DB dialog persistence) contains a local URI (pointing to the local server)

This seems to be related to a lack of logic in dealing with double record-route situations (like that which occurs when changing the sip transmission protocol)


Here is the "200 OK" from which the callee_route_set will be created

----
SIP/2.0 200 OK.
To: <sip:200110005333 at spb1.hq.galnet.ca:15061>;tag=4368efa7801ad038i0.
From: "NA" <sip:200110002497 at spb1.hq.galnet.ca:15061>;tag=e97ea43d566bae1bo1.
Call-ID: af9d065-bc1a3013 at 192.168.99.19.
CSeq: 102 INVITE.
Via: SIP/2.0/TCP 207.232.98.31:15061;rport=44195;branch=z9hG4bKb344.260ffd61.0.
Via: SIP/2.0/UDP 192.168.99.19:5070;rport=9006;received=207.232.98.114;branch=z9hG4bK-ded28820.
Record-Route: <sip:65.39.180.33:15061;r2=on;lr;ftag=e97ea43d566bae1bo1;nid=UX0.v9G.Wu3>.
Record-Route: <sip:65.39.180.33:15061;transport=tcp;r2=on;lr;ftag=e97ea43d566bae1bo1;nid=UX0.v9G.Wu3>.
Record-Route: <sip:207.232.98.31:15061;transport=tcp;r2=on;lr;ftag=e97ea43d566bae1bo1;bid=bPP.x3v.E7g>.
Record-Route: <sip:207.232.98.31:15061;r2=on;lr;ftag=e97ea43d566bae1bo1;bid=bPP.x3v.E7g>.
Contact: "unspin" <sip:200110005333 at 24.82.161.85:1024>.
Server: Linksys/SPA962-5.1.7.
Content-Length: 213.
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER.
Supported: replaces.
Content-Type: application/sdp.
----
However when we look at callee_route_set the value in the database we see that there is an element that references the local system which shouldn't be there
207.232.98.31:15061 is the local SIP proxy

Database callee_route_set value:
"<sip:207.232.98.31:15061;transport=tcp;r2=on;lr;ftag=16ed1c322255e7feo1;bid=bPP.x3v.E7g>,<sip:65.39.180.33:15061;transport=tcp;r2=on;lr;ftag=16ed1c322255e7feo1;nid=UX0.v9G.Wu3>,<sip:65.39.180.33:15061;r2=on;lr;ftag=16ed1c322255e7feo1;nid=UX0.v9G.Wu3>"

Expected callee_route_set value:
"<sip:65.39.180.33:15061;transport=tcp;r2=on;lr;ftag=16ed1c322255e7feo1;nid=UX0.v9G.Wu3>,<sip:65.39.180.33:15061;r2=on;lr;ftag=16ed1c322255e7feo1;nid=UX0.v9G.Wu3>"






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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1834870&group_id=139143



More information about the Devel mailing list