<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Our code to handle options couldn’t be much simpler.  If you are seeing massive delays the only thing I would guess would be that there is some sort of massive ddos type attack causing significant queuing of inbound requests or a register storm and your registrations handlers are getting behind.  Take a look at logging and sip traffic around the same time for clues on what else might be happening on this sip profile at the same time.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Nov 25, 2019, at 12:22 PM, Jai Rangi <<a href="mailto:jprangi@gmail.com" class="">jprangi@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hello,</div><div class=""><br class=""></div><div class="">Every now and then we see long delay in response for options. Example in the trace below free-switch took 44 seconds before it send 200 OK. <br class=""></div><div class=""><br class=""></div><div class="">What will be best way to troubleshoot this? </div><div class=""><br class=""></div><div class="">U 2019/11/25 10:49:27.185325 <a href="http://192.168.1.1:49020/" class="">192.168.1.1:49020</a> -> <a href="http://192.168.1.5:5060/" class="">192.168.1.5:5060</a><br class="">OPTIONS <a href="mailto:sip%3A100000@192.168.1.5" class="">sip:100000@192.168.1.5</a> SIP/2.0.<br class="">Via: SIP/2.0/UDP 192.168.2.1:49020;branch=z9hG4bKhjhs8ass877.<br class="">Max-Forwards: 70.<br class="">To: <a href="mailto:sip%3A100000@192.168.1.5" class="">sip:100000@192.168.1.5</a>.<br class="">From: <a href="sip:1000@192.168.2.1:49020;tag=cbzxq0" class="">sip:1000@192.168.2.1:49020;tag=cbzxq0</a>.<br class="">Call-ID: <a href="mailto:hcrtfi@192.168.2.1" class="">hcrtfi@192.168.2.1</a>.<br class="">CSeq: 1 OPTIONS.<br class="">Accept: application/sdp.<br class="">Content-Length: 0.<br class="">.<br class=""><br class="">U 2019/11/25 10:49:51.819959 <a href="http://192.168.1.5:5060/" class="">192.168.1.5:5060</a> -> <a href="http://192.168.1.1:49020/" class="">192.168.1.1:49020</a><br class="">SIP/2.0 200 OK.<br class="">Via: SIP/2.0/UDP 192.168.2.1:49020;branch=z9hG4bKhjhs8ass877;received=192.168.1.1.<br class="">From: <<a href="http://sip:1000@192.168.2.1:49020/" class="">sip:1000@192.168.2.1:49020</a>>;tag=cbzxq0.<br class="">To: <<a href="mailto:sip%3A100000@192.168.1.5" class="">sip:100000@192.168.1.5</a>>;tag=aUUQj55rcetma.<br class="">Call-ID: <a href="mailto:hcrtfi@192.168.2.1" class="">hcrtfi@192.168.2.1</a>.<br class="">CSeq: 1 OPTIONS.<br class="">Contact: <sip:<a href="http://192.168.1.5:5660/" class="">192.168.1.5:5660</a>>.<br class="">User-Agent: Monitor.<br class="">Accept: application/sdp.<br class="">Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.<br class="">Supported: path, replaces.<br class="">Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.<br class="">Content-Length: 0.</div><div class=""><br class=""></div></div>
_________________________________________________________________________<br class=""><br class="">The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" class="">https://signalwire.com</a><br class="">Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br class="">Build your next product on our scalable cloud platform.<br class=""><br class="">Join our online community to chat in real time <a href="https://signalwire.community" class="">https://signalwire.community</a><br class=""><br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" class="">sales@freeswitch.com</a><br class="">https://freeswitch.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">https://freeswitch.com/oss<br class="">https://freeswitch.org/confluence<br class="">https://cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">https://freeswitch.com</div></blockquote></div><br class=""></body></html>