[ opensips-Bugs-2354984 ] Error in adding contact header of 200ok SUBSCRIBE message

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ opensips-Bugs-2354984 ] Error in adding contact header of 200ok SUBSCRIBE message

SourceForge.net
Bugs item #2354984, was opened at 2008-11-28 13:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2354984&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: None
Priority: 5
Private: No
Submitted By: Nathan (rmnathan)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error in adding contact header of 200ok SUBSCRIBE message

Initial Comment:
Error in adding contact header of 200ok SUBSCRIBE message in handling_rls_subscribe.
The contact header of 200 ok message should be ip address of opensips. But it sends whatever received from SUBSCRIBE message.

Without RLS, its working fine.

Subscribe Message
============
SUBSCRIBE sip:s3-1@10.6.2.246 SIP/2.0
Via: SIP/2.0/UDP 192.168.126.1:50602;branch=z9hG4bK+7890d7155f69d4e241e7d752031eccce+s+1;X-ST-CID=20003
Via: SIP/2.0/UDP 192.168.126.151:60000;branch=z9hG4bK-s3-12901940060
P-Charging-Vector: icid-value=starent.coms3-1-80
Route: <sip:10.6.2.246:4343;lr>
Expires: 260
Event: presence
Accept: application/rlmi+xml
Accept: multipart/related
Accept: application/pidf+xml
Supported: eventlist
From: sip:s3-1@10.6.2.246;tag=59572288
To: sip:s3-1@10.6.2.246
P-Asserted-Identity: <sip:s3-1@10.6.2.246>
Record-Route: <sip:192.168.126.1:50602;lr>;X-DC-TM-IDX=1;X-ST-CID=20003
Record-Route: <sip:192.168.126.1:50602;lr>;X-DC-TM-IDX=1;X-ST-CID=20001;X-ST-DLG-ID=536870911
Call-ID: s3-1-80
CSeq: 1 SUBSCRIBE
Contact: <sip:s3-1@192.168.126.151:60000>
Content-Length: 0
Max-Forwards: 69

200 ok Message
===========
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.126.1:50602;branch=z9hG4bK+7890d7155f69d4e241e7d752031eccce+s+1;X-ST-CID=20003
Via: SIP/2.0/UDP 192.168.126.151:60000;branch=z9hG4bK-s3-12901940060
From: sip:s3-1@10.6.2.246;tag=59572288
To: sip:s3-1@10.6.2.246;tag=f1453b347f31a67638709b559e39d455-6afd
Record-Route: <sip:192.168.126.1:50602;lr>;X-DC-TM-IDX=1;X-ST-CID=20003
Record-Route: <sip:192.168.126.1:50602;lr>;X-DC-TM-IDX=1;X-ST-CID=20001;X-ST-DLG-ID=536870911
Call-ID: s3-1-80
CSeq: 1 SUBSCRIBE
Expires: 260
Contact: <sip:s3-1@192.168.126.151:60000>
Require: eventlist
Server: OpenSIPS (1.5.0dev2-notls (i386/linux))
Content-Length: 0


Regards,
Nathan

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

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

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel