<div dir="auto">Hi Sagar,<div dir="auto">So if I can glue info provided by Bogdan then yes you can pull data from incoming ESL event and create a new NOTIFY and send it to (where ) !</div><div dir="auto">I would send this new NOTIFY to myself(<a href="http://127.0.0.1:5060">127.0.0.1:5060</a>) so opensips can find the location of the desired registered client and relay it swiftly. </div><div dir="auto"><br></div><div dir="auto">Hope it works :) </div><div dir="auto">Regards,</div><div dir="auto">Sammy</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 25, 2019, 1:46 PM Bogdan-Andrei Iancu, <<a href="mailto:bogdan@opensips.org">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 Sagar,<br>
<br>
Theoretically you can get ESL events via freeswitch_scripting
module [1] and from OpenSIPS, using an event_route[E_FREESWITCH]
[2], you can build and send SIP request [3] - the question is if
you have all the info and flexibility to construct the Notify
requests <br>
<br>
[1] </tt><tt><tt><a class="m_1934079664251857808moz-txt-link-freetext" href="https://opensips.org/html/docs/modules/2.4.x/freeswitch_scripting.html#param_fs_subscribe" target="_blank" rel="noreferrer">https://opensips.org/html/docs/modules/2.4.x/freeswitch_scripting.html#param_fs_subscribe</a><br>
[2]
<a class="m_1934079664251857808moz-txt-link-freetext" href="https://opensips.org/html/docs/modules/2.4.x/freeswitch_scripting.html#event-freeswitch" target="_blank" rel="noreferrer">https://opensips.org/html/docs/modules/2.4.x/freeswitch_scripting.html#event-freeswitch</a><br>
[3]
<a class="m_1934079664251857808moz-txt-link-freetext" href="https://opensips.org/html/docs/modules/2.4.x/tm.html#func_t_new_request" target="_blank" rel="noreferrer">https://opensips.org/html/docs/modules/2.4.x/tm.html#func_t_new_request</a><br>
<br>
</tt>Best regards,<br>
</tt>
<pre class="m_1934079664251857808moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="m_1934079664251857808moz-txt-link-freetext" href="https://www.opensips-solutions.com" target="_blank" rel="noreferrer">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
<a class="m_1934079664251857808moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/" target="_blank" rel="noreferrer">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
<div class="m_1934079664251857808moz-cite-prefix">On 03/20/2019 05:02 PM, sagar malam
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello ,
<div><br>
</div>
<div>We are using FreeSWITCH for presence but it is not working
well with heavy traffic.I wonder if we can using Opensips
FreesWITCH ESL module to listen on presence event and generate
notifies from OpenSIPs ? </div>
<div><br>
-- <br>
<div dir="ltr" class="m_1934079664251857808gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">Thanks,
<div><br>
</div>
<div>Sagar</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_1934079664251857808mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a class="m_1934079664251857808moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a>
<a class="m_1934079664251857808moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" rel="noreferrer">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>