<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I enabled dispatcher but after dispatcher sends the OPTION it causes kamailio proxy to think it's offline.</div><div dir="ltr"><br></div><div dir="ltr">MY_PUBLIC_IP:5060 > <a href="http://127.0.0.1:5062">127.0.0.1:5062</a></div><div dir="ltr">OPTIONS>>><br></div><div dir="ltr"><<<100 Trying <br></div><div dir="ltr"><<< 403 Domain not served here</div><div dir="ltr"><br><div><br></div><div>To fix the issue I had to comment out a few lines in the kamailio proxy cfg.</div><div><br></div><div>kamailio.cfg.customtt.tt2<br></div><div><br></div><div><div>+<span style="white-space:pre">           </span>#}</div><div>+<span style="white-space:pre">           </span>#else if(is_method("OPTIONS")) # deny OPTIONS when R-URI is none of our IPs. ignore NOTIFY</div><div>+<span style="white-space:pre">         </span>#{</div><div>+<span style="white-space:pre">           </span>#<span style="white-space:pre">    </span>sl_send_reply("403", "Domain not served here");</div><div>+<span style="white-space:pre">          </span>#<span style="white-space:pre">    </span>xlog("L_NOTICE", "Sending reply S=403 Domain not served here M=$rm fs='«$Ri»:«$Rp»' du='«$si»:«$sp»' - [% logreq %]\n");</div><div>+<span style="white-space:pre">         </span>#<span style="white-space:pre">    </span>route(ROUTE_EXIT);</div><div>+<span style="white-space:pre">           </span>#}</div></div><div><div> <span style="white-space:pre">                   </span>sl_send_reply("200", "Alive");</div><div> <span style="white-space:pre">                  </span>xlog("L_NOTICE", "Sending reply S=200 Alive M=$rm fs='«$Ri»:«$Rp»' du='«$si»:«$sp»' - [% logreq %]\n");</div><div> <span style="white-space:pre">                 </span>route(ROUTE_EXIT);</div></div><div><div>+<span style="white-space:pre">            </span>#}</div><div>+<span style="white-space:pre">           </span>#else if(is_method("OPTIONS")) # deny OPTIONS when R-URI is none of our IPs. ignore NOTIFY</div><div>+<span style="white-space:pre">         </span>#{</div><div>+<span style="white-space:pre">           </span>#<span style="white-space:pre">    </span>sl_send_reply("403", "Domain not served here");</div><div>+<span style="white-space:pre">          </span>#<span style="white-space:pre">    </span>xlog("L_NOTICE", "Sending reply S=403 Domain not served here M=$rm fs='«$Ri»:«$Rp»' du='«$si»:«$sp»' - [% logreq %]\n");</div><div>+<span style="white-space:pre">         </span>#<span style="white-space:pre">    </span>route(ROUTE_EXIT);</div><div>+<span style="white-space:pre">           </span>#}</div></div><div><br></div><div><br></div><div>What is the correct way to solve this issue?</div><div><br></div><div>In the UI I have added to IP address as a domain but that didn't make any difference.</div><div>ngcp-status - shows everything is fine (hostname and FQDN and IP addresses are all showing correctly)</div><div><br></div><div>Thanks</div></div></div></div></div></div></div></div></div></div></div></div>