<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Thanks Sammy for the follow up.<br>
      <br>
      For the sake of the completion of this discussion, just update
      here with the feature request link, so people can follow it later.<br>
      <br>
      Thanks and regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
  <a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
    <div class="moz-cite-prefix">On 11/05/2018 05:29 PM, SamyGo wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJUJwtjPTGagtEURtjVsUrmtK0zhsN7NcbLdqtF5oebr-5M_Sw@mail.gmail.com">
      <div dir="ltr">Hi Bogdan,
        <div>Sure thing I'd open up a feature request. Yes thats what we
          decided to go with to use sipsak or something like that to
          trigger SIP packet and make use of it. </div>
        <div>Apologize for late reply; thanks a lot for your response.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Sammy</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Tue, Oct 16, 2018 at 4:29 AM Bogdan-Andrei
          Iancu <<a href="mailto:bogdan@opensips.org"
            moz-do-not-send="true">bogdan@opensips.org</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Sammy,<br>
              <br>
              The Event Interface philosophy is to allow external apps
              to get access to the events generated by OpenSIPS;
              basically a data flow from OpenSIPS to outside world. So,
              there is no way to trigger an event from outside (via MI).<br>
              Still, your example is valid, so please open a feature
              request on github and we could add a "raise_event" MI
              function. <br>
              <br>
              As really (really) dirty hack, you can use (if possible)
              some SIP OPTIONS to trigger the event. From the web send
              an OPTIONS via UDP, with a special RURI -> you identify
              the RURI in script and do a raise_event() in script.<br>
              <br>
              Regards, <br>
            </tt>
            <pre class="m_-5161883269983368854moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="m_-5161883269983368854moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
  <a class="m_-5161883269983368854moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/" target="_blank" moz-do-not-send="true">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
            <div class="m_-5161883269983368854moz-cite-prefix">On
              10/11/2018 07:35 PM, SamyGo wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Hi,
                <div><br>
                  <div>I'm trying to find out document pages regarding
                    raising events from outside the OpenSIPS via
                    fifo/mi_* modules. All I have read so far is
                    opensips can send events and their data OUT to
                    external "subscribing" applications. There is even a
                    fifo command to subscribe for an event from FIFO
                    layer. </div>
                  <div><br>
                  </div>
                  <div>Kindly guide me as how do I tell OpenSIPS that a
                    particular Event has triggered. </div>
                  <div><br>
                  </div>
                  <div>My usage scenario is (OpenSIPS 2.2.7) a caller is
                    waiting_on_event("OPENSIPS_BOOTCAMP");</div>
                  <div>Now some external web monitoring bot just
                    realized Bootcamp has started and it wants to raise
                    this event to the waiting caller !</div>
                  <div><font face="monospace, monospace"><br>
                    </font></div>
                  <div><font face="monospace, monospace">opensipsctl
                      fifo raise_event OPENSIPS_BOOTCAMP 22Oct18 Romania</font></div>
                  <div><br>
                  </div>
                  <div>Best Regards,</div>
                  <div>Sammy</div>
                </div>
              </div>
              <br>
              <fieldset
                class="m_-5161883269983368854mimeAttachmentHeader"></fieldset>
              <br>
              <pre>_______________________________________________
Users mailing list
<a class="m_-5161883269983368854moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="m_-5161883269983368854moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>