<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Using Kamailio 4.1.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m having some problems with the Max-Forwards header being decremented by almost 50 when Kamailio relays the INVITE to the next hop.<o:p></o:p></p><p class=MsoNormal>The INVITE is received by Kamailio with the value of 65, but when sent to the next hop it has the value of 16.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m not altering the max-forwards header value in any way in the config script. At least not explicitly. <o:p></o:p></p><p class=MsoNormal>Are there any known constructs which indirectly affect the Max-Forwards header?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>10.0.0.16 is the Kamailio server.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=NL>U 10.0.0.10:5060 -> 10.0.0.16:5060<o:p></o:p></span></p><p class=MsoNormal><span lang=NL>INVITE sip:3110123456@10.0.0.16:5060 SIP/2.0.<o:p></o:p></span></p><p class=MsoNormal><span lang=NL>Via: SIP/2.0/UDP 10.0.0.10;rport;branch=z9hG4bKeg5g6U4Dc5HeS.<o:p></o:p></span></p><p class=MsoNormal>Max-Forwards: 65.<o:p></o:p></p><p class=MsoNormal>From: "31765123456" <sip:31765123456@10.0.0.10>;tag=9Z7avj87Bc2gm.<o:p></o:p></p><p class=MsoNormal>To: <sip:3110123456@10.0.0.16:5060>.<o:p></o:p></p><p class=MsoNormal>Call-ID: e089c971-f3a8-1231-c2bb-000c2941b070.<o:p></o:p></p><p class=MsoNormal>CSeq: 54291565 INVITE.<o:p></o:p></p><p class=MsoNormal>Contact: <sip:mod_sofia@10.0.0.10:5060>.<o:p></o:p></p><p class=MsoNormal>User-Agent: CM Carrier SBC.<o:p></o:p></p><p class=MsoNormal>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY.<o:p></o:p></p><p class=MsoNormal>Supported: timer, precondition, path, replaces.<o:p></o:p></p><p class=MsoNormal>Allow-Events: talk, hold, conference, refer.<o:p></o:p></p><p class=MsoNormal>Content-Type: application/sdp.<o:p></o:p></p><p class=MsoNormal>Content-Disposition: session.<o:p></o:p></p><p class=MsoNormal>Content-Length: 205.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>U 10.0.0.16:5060 -> 10.0.0.31:5060<o:p></o:p></p><p class=MsoNormal>INVITE sip:3110123456@10.0.0.25:5060 SIP/2.0.<o:p></o:p></p><p class=MsoNormal>Record-Route: <sip:10.0.0.16;lr=on>.<o:p></o:p></p><p class=MsoNormal>Via: SIP/2.0/UDP 10.0.0.16;branch=z9hG4bKe501.5459c149e5fa2c6c723149661017aa3d.0.<o:p></o:p></p><p class=MsoNormal>Via: SIP/2.0/UDP 10.0.0.10;rport=5060;branch=z9hG4bKeg5g6U4Dc5HeS.<o:p></o:p></p><p class=MsoNormal>Max-Forwards: 16.<o:p></o:p></p><p class=MsoNormal>From: "31765123456" <sip:31765123456@10.0.0.10>;tag=9Z7avj87Bc2gm.<o:p></o:p></p><p class=MsoNormal>To: <sip:3110123456@10.0.0.16:5060>.<o:p></o:p></p><p class=MsoNormal>Call-ID: e089c971-f3a8-1231-c2bb-000c2941b070.<o:p></o:p></p><p class=MsoNormal>CSeq: 54291565 INVITE.<o:p></o:p></p><p class=MsoNormal>Contact: <sip:mod_sofia@10.0.0.10:5060>.<o:p></o:p></p><p class=MsoNormal>User-Agent: CM Carrier SBC.<o:p></o:p></p><p class=MsoNormal>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY.<o:p></o:p></p><p class=MsoNormal>Supported: timer, precondition, path, replaces.<o:p></o:p></p><p class=MsoNormal>Allow-Events: talk, hold, conference, refer.<o:p></o:p></p><p class=MsoNormal>Content-Type: application/sdp.<o:p></o:p></p><p class=MsoNormal>Content-Disposition: session.<o:p></o:p></p><p class=MsoNormal>Content-Length: 205.<o:p></o:p></p></div></body></html>