<p>The issue is as explained in<br>
<a href="http://lists.sip-router.org/pipermail/sr-dev/2014-December/026294.html">http://lists.sip-router.org/pipermail/sr-dev/2014-December/026294.html</a><br>
i.e. when pua module send_publish API function returns 418 to pua_rpc publish function,<br>
rpc->fault(c, 500, "Wrong ETag"); call produces response document</p>
<p>HTTP/1.1 200 OK.<br>
Via: SIP/2.0/TCP 127.0.0.1:52280.<br>
Server: OpenXg SIP Proxy (4.3.0-0 (i386/linux)).<br>
Content-Length: 108.<br>
.</p>







<p>when it should produce response document</p>
<p>HTTP/1.1 200 OK.<br>
Via: SIP/2.0/TCP 127.0.0.1:52204.<br>
Server: OpenXg SIP Proxy (4.3.0-0 (i386/linux)).<br>
Content-Length: 151.<br>
.</p>




500
Wrong ETag





<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/878#issuecomment-266004829">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36Zcvk0N7Dt3fwHc3l67bzFXcxThszks5rGUydgaJpZM4LCUbH">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZXX4AVyjEfdyMBbGBz-2SCqj5WRLks5rGUydgaJpZM4LCUbH.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/878#issuecomment-266004829"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@juha-h in #878: The issue is as explained in\r\nhttp://lists.sip-router.org/pipermail/sr-dev/2014-December/026294.html\r\ni.e. when pua module send_publish API function returns 418 to pua_rpc publish function,\r\nrpc-\u003efault(c, 500, \"Wrong ETag\"); call produces response document\r\n\r\nHTTP/1.1 200 OK.\r\nVia: SIP/2.0/TCP 127.0.0.1:52280.\r\nServer: OpenXg SIP Proxy (4.3.0-0 (i386/linux)).\r\nContent-Length: 108.\r\n.\r\n\u003c?xml version=\"1.0\"?\u003e\r\n\u003cmethodResponse\u003e\r\n\u003cparams\u003e\r\n\u003cparam\u003e\r\n\u003cvalue\u003e\u003c/value\u003e\r\n\u003c/param\u003e\r\n\u003c/params\u003e\r\n\r\nwhen it should produce response document\r\n\r\nHTTP/1.1 200 OK.\r\nVia: SIP/2.0/TCP 127.0.0.1:52204.\r\nServer: OpenXg SIP Proxy (4.3.0-0 (i386/linux)).\r\nContent-Length: 151.\r\n.\r\n\u003c?xml version=\"1.0\"?\u003e\r\n\u003cmethodResponse\u003e\r\n\u003cparams\u003e\r\n\u003cparam\u003e\r\n\u003cvalue\u003e\u003cint\u003e500\u003c/int\u003e\r\n\u003cstring\u003eWrong ETag\u003c/string\u003e\r\n\u003c/value\u003e\r\n\u003c/param\u003e\r\n\u003c/params\u003e\r\n\u003c/methodResponse\u003e\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/878#issuecomment-266004829"}}}</script>