> enter telephone number in webapp > python script have fs to call number > say "please enter the pin code from the website" > validate dtmf code > pass back to webapp: correct or not correct > > unfortunately just from reading the wiki i don't know how to do it in my > python script. > > can you share your experience?
You definitely need to become familiar with the event socket. However, to become familiar with the event socket you need also to become familiar with some of the basic FreeSWITCH API functions, like "bgapi" and "originate" as well as what kinds of events come over the event socket. Here is some recommended reading: #1 - The reporting bugs page on the wiki. It may sound crazy, but I promise you that if you at least skim over it then it will save you time when you start having to debug things. http://wiki.freeswitch.org/wiki/Reporting_Bugs #2 - The event socket page on the wiki: http://wiki.freeswitch.org/wiki/Mod_event_socket #3 - The commands page on the wiki. Pay special attention to the "originate," "bridge," and "bgapi" commands because they will be extremely useful to you in your application: http://wiki.freeswitch.org/wiki/Mod_commands #4 - The Asterisk/FreeSWITCH Rosetta Stone wiki page. In some cases you can leverage your Asterisk knowledge. This page gives you some tips on how to do stuff in FS that you already know how to do with Asterisk: http://wiki.freeswitch.org/wiki/Rosetta_stone You have lots of reading to do! :) You will also need to start doing test phone calls. Make test calls and see how things work. Watch the debug information on the CLI to see what FS is doing with each call. It's very interesting. Join us on IRC when you have questions and want to talk in real-time. -MC (IRC: mercutioviz) _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
