<div dir="ltr">Thanks for pointing this out.<div><br></div><div>I have commented on the issue with instructions with what I think is going wrong here.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 19, 2015 at 6:33 PM, Anatoli <span dir="ltr"><<a href="mailto:me@anatoli.ws" target="_blank">me@anatoli.ws</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I was evaluating the latest Asterisk (13.2.0) with the latest PJSIP (2.3) and found a critical problem (critical if some of the endpoints enforce compliance with the SIP RFC).<br>
<br>
I had a discussion on pjsip mailing list about this (<a href="http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2015-February/018120.html" target="_blank">http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2015-February/018120.html</a>) where the consensus was that there is a bug in res_pjsip code that manages SIP headers. The problem consists in that first the code in res_pjsip.c removes Max-Forwards header from the request generated by PJSIP library, but it doesn't add it later, so Asterisk sends INVITE, ACK, BYE, etc. messages without this mandatory header and RFC enforcing clients reject these messages.<br>
<br>
I've also submitted a bug report in the Asterisk issue tracker: <a href="https://issues.asterisk.org/jira/browse/ASTERISK-24807" target="_blank">https://issues.asterisk.org/jira/browse/ASTERISK-24807</a>. It has a patch for a workaround, but it's not the correct way of addressing the problem (it patches pjsip library when the problem is inside res_pjsip adapter).<br>
<br>
Regards,<br>
Anatoli<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</font></span></blockquote></div><br></div></div>