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:[EMAIL PROTECTED]:15061>;tag=4368efa7801ad038i0.
From: "NA" <sip:[EMAIL PROTECTED]:15061>;tag=e97ea43d566bae1bo1.
Call-ID: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]: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

_______________________________________________
Devel mailing list
Devel@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to