Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] mod_event_socket: command to play and collect DTMF


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
d.mordovin at crestwav...
Guest





PostPosted: Tue Nov 24, 2020 1:47 pm    Post subject: [Freeswitch-users] mod_event_socket: command to play and col Reply with quote

HelloI try to solve task: play a prompt and collect DTMF digits.Now I use Lua script and session:playAndGetDigits to did it.How can I do it thru mod_event_socket commands?

I know uuid_broadcast command can play prompt, but I can’t find command to wait some DTMF digits.
Any one can direct me to right simple solution?



PS: one idea, it can be done if I can run same Lua script from mod_event_socket
Back to top
cmrienzo at gmail.com
Guest





PostPosted: Tue Nov 24, 2020 2:55 pm    Post subject: [Freeswitch-users] mod_event_socket: command to play and col Reply with quote

https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+play_and_get_digits

Try play_and_get_digits dialplan app.  Execute over event socket.


On Tue, Nov 24, 2020 at 2:05 PM Dmitry Mordovin <d.mordovin@crestwavetech.ru (d.mordovin@crestwavetech.ru)> wrote:

Quote:
Hello

I try to solve task: play a prompt and collect DTMF digits.

Now I use Lua script and session:playAndGetDigits to did it.
How can I do it thru mod_event_socket commands?


I know uuid_broadcast command can play prompt, but I can’t find command to wait some DTMF digits.


Any one can direct me to right simple solution?




PS: one idea, it can be done if I can run same Lua script from mod_event_socket 

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
toraritte at gmail.com
Guest





PostPosted: Wed Nov 25, 2020 12:09 pm    Post subject: [Freeswitch-users] mod_event_socket: command to play and col Reply with quote

With mod_event_socket you can go to a deeper level and use the events
to drive your program. In our app, we subscribe to all events (see
"3.5 event" at https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket)
and filter out the incoming DTMF digits while playing a prompt (see
"3.9 sendmsg" at
https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket;
there is even an example there using "mod_dptools:playback",
https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket).

Specifically, we use "mod_erlang_event" (which is just a wrapper
around ESL,https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Library)
but the basics are the same. You can take a look here,
https://github.com/access-news/phone-service, but it is a bit messy
with almost no documentation (yet).

Hope this helps.
Attila

On Tue, Nov 24, 2020 at 8:07 PM Christopher Rienzo <cmrienzo@gmail.com> wrote:
Quote:

https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+play_and_get_digits

Try play_and_get_digits dialplan app. Execute over event socket.

On Tue, Nov 24, 2020 at 2:05 PM Dmitry Mordovin <d.mordovin@crestwavetech.ru> wrote:
Quote:

Hello

I try to solve task: play a prompt and collect DTMF digits.

Now I use Lua script and session:playAndGetDigits to did it.

How can I do it thru mod_event_socket commands?

I know uuid_broadcast command can play prompt, but I can’t find command to wait some DTMF digits.

Any one can direct me to right simple solution?

PS: one idea, it can be done if I can run same Lua script from mod_event_socket
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services