<div dir="ltr">Hi,<div>I'm looking at using SIP SIMPLE to build a test harness but I have an issue that is puzzling me.</div><div><br></div><div>I'm new to SIP SIMPLE but am going through the documentation and experimenting with the code.</div><div><br></div><div>I want to inspect OPTIONS messages that are received. To do that I refer to the documentation on </div><h3 style="font-family:"Lucida Grande",verdana,arial,helvetica,sans-serif;font-size:13px;padding:2px 10px 1px 0px;margin:0px 0px 5px;border-bottom:0px;color:rgb(68,68,68)"><span style="font-weight:normal">IncomingRequest. </span></h3><div><span style="font-weight:normal">I add an observer with the NotificationCenter for the SIPIncomingRequestGotMessage. Then I add the following example code after the engine has been started.</span></div><div><p style="color:rgb(72,72,72);font-family:"Lucida Grande",verdana,arial,helvetica,sans-serif;font-size:12px">engine = Engine()</p><p style="color:rgb(72,72,72);font-family:"Lucida Grande",verdana,arial,helvetica,sans-serif;font-size:12px">engine.add_incoming_request('OPTIONS')</p>I try this with my application and it just seems to be ignored. I even change 'OPTIONS' to 'INVITE" which is illegal...but still no error message or any SIPIncomingRequestGotMessage.</div><div><br></div><div>I'm using python3-sipsimple-5.2.2 under Ubuntu</div><div><br></div><div>When I trace notifications, I don't see any notifications at all..it seems to be an automatic response handled entirely within PJSIP but configured by sipsimple:</div><div>--</div><div>2021-09-05 22:18:11.591995: Notification name=SIPApplicationDidStart sender=<__main__.McpttHarness object at 0x7fcb0b23b730><br>{}<br>Listening on: <a href="http://sip:01398652@172.27.171.215:44675">sip:01398652@172.27.171.215:44675</a><br>Press Ctrl+D to stop the program.<br>(5) b'2021-09-05 22:19:25.015         sip_endpoint.c Processing incoming message: Request msg OPTIONS/cseq=1 (rdata0x7fcafc1834c8)'<br>2021-09-05 22:19:25.019479: RECEIVED: Packet 1, +0:00:00<br><a href="http://172.27.171.215:5060">172.27.171.215:5060</a> -(SIP over UDP)-> <a href="http://172.27.171.215:44675">172.27.171.215:44675</a><br>OPTIONS <a href="mailto:sip%3Amcptt@172.27.171.215">sip:mcptt@172.27.171.215</a> SIP/2.0<br>Via: SIP/2.0/UDP 172.27.171.215:5060;branch=z9hG4bK-32012-1-0<br>Max-Forwards: 70<br>To: <<a href="mailto:sip%3Aservice@172.27.171.215">sip:service@172.27.171.215</a>><br>From: sipp <<a href="http://sip:sipp@172.27.171.215:5060">sip:sipp@172.27.171.215:5060</a>>;tag=1<br>Call-ID: <a href="mailto:1-32012@172.27.171.215">1-32012@172.27.171.215</a><br>CSeq: 1 OPTIONS<br>Contact: <<a href="http://sip:service@172.27.171.215:5060">sip:service@172.27.171.215:5060</a>><br>Accept: application/sdp<br>Content-Length: 0<br><br><br>--<br><br>(5) b'2021-09-05 22:19:25.015               endpoint .Response msg 200/OPTIONS/cseq=1 (tdta0x7fcafc1c6838) created'<br>(5) b"2021-09-05 22:19:25.015          sip_resolve.c .Target '<a href="http://172.27.171.215:5060">172.27.171.215:5060</a>' type=UDP resolved to '<a href="http://172.27.171.215:5060">172.27.171.215:5060</a>' type=UDP (UDP transport)"<br>2021-09-05 22:19:25.020904: SENDING: Packet 2, +0:00:00.001425<br><a href="http://172.27.171.215:44675">172.27.171.215:44675</a> -(SIP over UDP)-> <a href="http://172.27.171.215:5060">172.27.171.215:5060</a><br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP 172.27.171.215:5060;received=172.27.171.215;branch=z9hG4bK-32012-1-0<br>Call-ID: <a href="mailto:1-32012@172.27.171.215">1-32012@172.27.171.215</a><br>From: "sipp" <<a href="mailto:sip%3Asipp@172.27.171.215">sip:sipp@172.27.171.215</a>>;tag=1<br>To: <<a href="mailto:sip%3Aservice@172.27.171.215">sip:service@172.27.171.215</a>>;tag=z9hG4bK-32012-1-0<br>CSeq: 1 OPTIONS<br>Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER<br>Accept: application/sdp, application/conference-info+xml, application/simple-message-summary, multipart/related, application/rlmi+xml, application/pidf+xml, application/watcherinfo+xml, multipart/related, application/rlmi+xml, application/dialog-info+xml, application/watcherinfo+xml, message/sipfrag;version=2.0, application/xcap-diff+xml<br>Supported: 100rel, replaces, norefersub, gruu<br>Server: sipsimple 5.2.2<br>Content-Length:  0<br><br><br>--<br><br>(5) b'2021-09-05 22:19:25.015     tdta0x7fcafc1c6838 .Destroying txdata Response msg 200/OPTIONS/cseq=1 (tdta0x7fcafc1c6838)'<br></div><div><br></div><div>Any clues appreciated.</div></div>