<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body 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="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 10/11/2018 07:35 PM, SamyGo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJUJwthUnkoWD-1d3Cv6xKe5rcmfQPaoV7T6MOH1QtqaAQLc2g@mail.gmail.com">
<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="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>