<div dir="auto">You can call originate with park() from an ESL client, and set your own SIP address as destination.<div dir="auto"><br></div><div dir="auto">Then the b-leg will go through the dialplan.</div><div dir="auto"><br></div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 May 2017 16:10, &quot;Marcel Haldemann&quot; &lt;<a href="mailto:marcel.haldemann@convercom.ch">marcel.haldemann@convercom.ch</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="DE-CH" link="blue" vlink="purple">
<div class="m_-5336650939259122196WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi Giovanni,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks for ur reply. Here is what im currently thinking of to use FreeSwitch for (currently it’s just an idea):<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I would like to use FreeSwitch for IoT (for example to run or check something against a dialplan if sensor or ‘alarm event’ values arrive via http/mqtt/amqp or similar protocols).  For
 this purpose I would like to create a channel without a sip call (I would write wrappers for all the necessary protocols, get the info on all protocols and set the variables in the same way no matter what protocol they come from).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The variables I would set would be things such as location and name of the sensor and the value (Values coming from mqtt, amqp or http).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Then I would like to run it against a dialplan with all the possibilities as it would be a call (for sure I would have to check some variables). (I would use mod_xml_curl to get the
 dialplan in redis)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">If necessary i would like to add an a-leg with bridge and maybe play some files an maybe get some dtmfs with lua (ivr).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">If necessary I would like to add a b-leg with bridge.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I now asked me whether it’s possible to create a channel out of nothing, set some variables and let it run against the dialplan context.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Is this possible in some way ?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">It must not be with event_socket I also could use some other mod.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">But maybe it’s necessary to write a mod_endpoint_mqtt or similar for this ?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Marcel<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="DE">Von:</span></b><span lang="DE"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@<wbr>lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-<wbr>bounces@lists.freeswitch.org</a>]
<b>Im Auftrag von </b>Giovanni Maruzzelli<br>
<b>Gesendet:</b> Samstag, 29. April 2017 19:46<br>
<b>An:</b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.<wbr>freeswitch.org</a>&gt;<br>
<b>Betreff:</b> Re: [Freeswitch-users] Freeswitch and IoT<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello Marcel,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">can you elaborate? Don&#39;t be so terse, there can be a lot of meanings in your question, and lot of different answers.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Please specify a clear use case, etc etc<u></u><u></u></p>
</div>
<p class="MsoNormal">-giovanni<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 29 April 2017 at 19:31, Marcel Haldemann &lt;<a href="mailto:marcel.haldemann@convercom.ch" target="_blank">marcel.haldemann@convercom.ch</a><wbr>&gt; wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">Hi Guys,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">is it possible to create a channel using event socket (without calling a number) ?</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">LG,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">Marcel</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><br>
Sincerely,<br>
<span style="color:#888888"><br>
Giovanni Maruzzelli<br>
OpenTelecom.IT</span><br>
cell: +39 347 266 56 18<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>

<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div></div>