<div dir="ltr">Never mind, turns out I had a newline in the response text.<div><br></div><div>My bad there but one to watch out for!</div><div><br></div><div>Mark.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 13 Jun 2019 at 13:58, Mark Farmer <<a href="mailto:farmorg@gmail.com">farmorg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi all<div><br></div><div>I've got a dialog profile setup to count calls from $si which if it hits the allowed limit responds with a 503 Service Unavailable as required by our provider.</div><div><br></div><div>Looking at the 503 in Wireshark shows the SIP headers in the message body rather than message header.</div><div><br></div><div>I'm getting the same thing using both send_reply() & t_reply()</div><div><br></div><div>I followed the instructions here: </div><div><a href="https://www.opensips.org/Documentation/Tutorials-ConcurrentCallsLimitation" target="_blank">https://www.opensips.org/Documentation/Tutorials-ConcurrentCallsLimitation</a></div><div><br></div><div>Surely this can't be correct behaviour? What am I missing?</div><div><br></div><div><div>opensips -V</div><div>version: opensips 2.4.5 (x86_64/linux)</div><div>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</div><div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div><div>poll method support: poll, epoll, sigio_rt, select.</div><div>git revision: d025b4f61</div><div>main.c compiled on 11:39:27 Apr 12 2019 with gcc 7</div></div><div><br></div><div>TIA</div><div>Mark.</div><div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_540178655967454305gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>