Bugs item #2320504, was opened at 2008-11-21 12:22
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=2320504&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.4.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Two Max-Forwards header getting added in  RLS  mode

Initial Comment:
Two Max-Forwards header getting added in handling RLS  Subscribe msg.

eg:
SUBSCRIBE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 10.6.2.246:4343;branch=z9hG4bK54fd.7d92c254.0
To: sip:[EMAIL PROTECTED]
From: sip:[EMAIL PROTECTED];tag=8438e15ae60d53f8aeb5d5f4de549934-8213
CSeq: 10 SUBSCRIBE
Call-ID: [EMAIL PROTECTED]
Content-Length: 0
User-Agent: OpenSIPS (1.4.2-notls (i386/linux))
Max-Forwards: 70
Event: presence
Contact: <sip:10.6.2.246:4343;transport=udp>
Expires: 370
Max-Forwards: 70
Support: eventlist

Solution:
In int resource_subscriptions(subs_t* subs, xmlNodePtr rl_node) function 
following code should remove.


  extra_headers.s= buf;
  extra_headers.len= sprintf(extra_headers.s,
      "Max-Forwards: 70\r\nSupport: eventlist\r\n");
  s.extra_headers= &extra_headers;


Please update this in future version.

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

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

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

Reply via email to