<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><html>On Apr 6, 2008, at 5:33 PM, kokoska rokoska wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><br>Thank you very much, Brian, for super tip!<br><br>I know I can append headers (yout wrote it to me few days ago :-), but I<span class="Apple-converted-space"> </span><br> didn't know how to modify replies. And if config above will work, it<span class="Apple-converted-space"> </span><br>is exactly what I need.<br><br>BTW: Is there a way how to get contents of SIP headers on incoming<span class="Apple-converted-space"> </span><br>INVITEs? (I'm wondering especially on standard "Diversion" header -<span class="Apple-converted-space"> </span><br>parameters "reason" and "counter" - and nonstandard but widely used<span class="Apple-converted-space"> </span><br>"X-HopCounter" header.)<br>Do you have any hints here?</span></blockquote><div><br></div><div>Isn't this what <span class="Apple-style-span" style="font-family: Verdana; font-size: 11px; ">Max-Forwards header is for? Inbound Diversion is sip_h_diversion variable.</span></div><div><br></div><div>We already kill the call if the Max-Forwards makes it to zero. </div><div><br></div>/b</div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><br><br>Thanks once more, regards<br><br>kokoska.rokoska<br></span></blockquote></div><br></body></html>