[sr-dev] modules_k/rls: Tow MAx-Forwards Header

Klaus Darilion klaus.mailinglists at pernau.at
Wed Dec 15 12:33:41 CET 2010


Hi!

After rls subscription Kamailio sends out the following message:

SUBSCRIBE sip:asdfasf at domain SIP/2.0.
Via: SIP/2.0/UDP 83.136.32.148;branch=z9hG4bKa552.759c4dd5.0.
To: sip:asdfasf at domain.
From: sip:klaus3000 at domain;tag=0ba80b241f8a9fa52b4df857d4681d35-1516.
CSeq: 10 SUBSCRIBE.
Call-ID: 7f9f6f80-17150 at 83.136.32.148.
Content-Length: 0.
User-Agent: kamailio (3.1.1 (i386/linux)).
Max-Forwards: 70.
Event: presence.
Contact: <sip:83.136.32.148:5060;transport=udp>.
Expires: 100.
Max-Forwards: 70.
Support: eventlist.


Seems there is a bug as it contains 2 Max-Forwards header. Seems like 
the hard-coding in rls/subscribe.c in line 784 is needless.

In the same line, Support: eventlist should be replaced with
Supported: eventlist.

regards
Klaus



More information about the sr-dev mailing list