Hi Guys, is it possible to create a channel using event socket (without calling a number) ? LG, Marcel
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
2Giovanni, He most likely wants to use FS as an event engine only, to send/receive/handle events from different IOT devices. :) 2Marcel: Why do you want FS than? as you have event bus software, line NATS, nsq, rabbit, zmq, mqtt and lots of other... ? 2017-04-29 20:45 GMT+03:00 Giovanni Maruzzelli <gmaruzz@gmail.com>:
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
Maybe whants to treat the devices as SIP endpoints 2017-04-30 8:25 GMT+01:00 Anton VG <anton.vazir@gmail.com>:
2Giovanni, He most likely wants to use FS as an event engine only, to send/receive/handle events from different IOT devices. :)
2Marcel: Why do you want FS than? as you have event bus software, line NATS, nsq, rabbit, zmq, mqtt and lots of other... ?
2017-04-29 20:45 GMT+03:00 Giovanni Maruzzelli <gmaruzz@gmail.com>:
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
_________________________________________________________________________ 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
Maybe just wants to talk ... ;) On Apr 30, 2017 09:38, "Raúl Alexis Betancor Santana" <rbetancor@gmail.com> wrote:
Maybe whants to treat the devices as SIP endpoints
2017-04-30 8:25 GMT+01:00 Anton VG <anton.vazir@gmail.com>:
2Giovanni, He most likely wants to use FS as an event engine only, to send/receive/handle events from different IOT devices. :)
2Marcel: Why do you want FS than? as you have event bus software, line NATS, nsq, rabbit, zmq, mqtt and lots of other... ?
2017-04-29 20:45 GMT+03:00 Giovanni Maruzzelli <gmaruzz@gmail.com>:
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/free switch-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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Yep, now and then we all need some love from the FreeSWITCH user community <3 sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT Il 30 apr 2017 09:45, "Mirko Brankovic" <mirkobrankovic@gmail.com> ha scritto: Maybe just wants to talk ... ;) On Apr 30, 2017 09:38, "Raúl Alexis Betancor Santana" <rbetancor@gmail.com> wrote:
Maybe whants to treat the devices as SIP endpoints
2017-04-30 8:25 GMT+01:00 Anton VG <anton.vazir@gmail.com>:
2Giovanni, He most likely wants to use FS as an event engine only, to send/receive/handle events from different IOT devices. :)
2Marcel: Why do you want FS than? as you have event bus software, line NATS, nsq, rabbit, zmq, mqtt and lots of other... ?
2017-04-29 20:45 GMT+03:00 Giovanni Maruzzelli <gmaruzz@gmail.com>:
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/free switch-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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
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<mailto: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<mailto: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<mailto: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
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
Hi, Marcel Everything is possible . When you say "without calling a number", so ,the channel will "bypass" the FS Route code. Maybe ,you need modify some source code. Raymond 在 2017-04-30 01:31:39,"Marcel Haldemann" <marcel.haldemann@convercom.ch> 写道: Hi Guys, is it possible to create a channel using event socket (without calling a number) ? LG, Marcel
Do you mean creating an outbound call without having to dial into freeswitch via a DDI? If so look at the 'originate' command. You still need to send the call somewhere for processing when it's answered - either into an application (eg park/playback) or into the dialplan. You could also park it and then execute applications over the ESL socket. -Steve On 29 April 2017 at 18: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
The application you send originate to could also be an outbound event socket. On 30 April 2017 at 16:16, Steven Ayre <steveayre@gmail.com> wrote:
Do you mean creating an outbound call without having to dial into freeswitch via a DDI?
If so look at the 'originate' command. You still need to send the call somewhere for processing when it's answered - either into an application (eg park/playback) or into the dialplan.
You could also park it and then execute applications over the ESL socket.
-Steve
On 29 April 2017 at 18: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
participants (8)
-
Anton VG
-
Giovanni Maruzzelli
-
Marcel Haldemann
-
Mirko Brankovic
-
Raymond
-
Raúl Alexis Betancor Santana
-
Stanislav Sinyagin
-
Steven Ayre