You can call originate with park() from an ESL client, and set your own SIP address as destination.

Then the b-leg will go through the dialplan.



On 1 May 2017 16:10, "Marcel Haldemann" <marcel.haldemann@convercom.ch> wrote:

Hi Giovanni,

 

Thanks for ur reply. Here is what im currently thinking of to use FreeSwitch for (currently it’s just an idea):

 

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).

 

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).

 

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)

 

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).

 

If necessary I would like to add a b-leg with bridge.

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.

 

Is this possible in some way ?

It must not be with event_socket I also could use some other mod.

But maybe it’s necessary to write a mod_endpoint_mqtt or similar for this ?

 

Regards,

Marcel

 

 

Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Giovanni Maruzzelli
Gesendet: Samstag, 29. April 2017 19:46
An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Betreff: Re: [Freeswitch-users] Freeswitch and IoT

 

Hello Marcel,

can you elaborate? Don't be so terse, there can be a lot of meanings in your question, and lot of different answers.

Please specify a clear use case, etc etc

-giovanni

 

On 29 April 2017 at 19:31, Marcel Haldemann <marcel.haldemann@convercom.ch> wrote:

Hi Guys,

 

is it possible to create a channel using event socket (without calling a number) ?

 

LG,

Marcel


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--


Sincerely,

Giovanni Maruzzelli
OpenTelecom.IT

cell: +39 347 266 56 18


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org