<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 5:14 AM, Grant Bagdasarian <span dir="ltr"><<a href="mailto:gb@cm.nl" target="_blank">gb@cm.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-US">
<br><div>
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">We’re running Asterisk 1.8.14.1 and our carrier requires us to send a 200 OK for OPTIONS request in order for them to keep sending traffic to our endpoints.</p>
<p class="MsoNormal">Asterisk is currently replying with 404 messages, and their SBC only accepts 200 OK responses.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">How do I configure asterisk to reply with 200 OK without changing any source code?
</p>
<p class="MsoNormal"> </p></div></div></blockquote><div><br></div><div>Asterisk attempts to look up who the OPTIONS request is for, using the username portion of the request URI. Make sure you have a matching extension for what your upstream provider is sending you, and chan_sip will respond with a 200 OK. <br></div></div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Matthew Jordan<br></div><div>Digium, Inc. | Engineering Manager</div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div><div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div></div></div>
</div></div>