Re: [Freeswitch-users] Error: eval_some_python() Error importing module

2009-01-22 Thread Stephen Crosby
The reason I'd like to see the examples isn't so I can have a basic voicemail or IVR app, but so I can extend an example with my own complicated domain logic. --Stephen On Wed, Jan 21, 2009 at 5:14 PM, Brian West wrote: > Most if not all of this functionality is done with FreeSWITCH without > an

Re: [Freeswitch-users] Error: eval_some_python() Error importing module

2009-01-21 Thread Brian West
Most if not all of this functionality is done with FreeSWITCH without any need for python in the first place. For example you don't use python for voicemail, conferences, tone generation but maybe IVR... which is what any of the languages are for. /b On Jan 21, 2009, at 7:00 PM, Stephen Cros

Re: [Freeswitch-users] Error: eval_some_python() Error importing module

2009-01-21 Thread Stephen Crosby
I'd like to see an example of recording voicemail and a good conference application, tone generation, just a good IVR example would be nice too. --Stephen On Wed, Jan 21, 2009 at 4:42 PM, Brian Deacon wrote: > Well, rescuing someone from the evils of javascript cleans so many years > off my time

Re: [Freeswitch-users] Error: eval_some_python() Error importing module

2009-01-21 Thread Brian Deacon
Well, rescuing someone from the evils of javascript cleans so many years off my time in purgatory that I couldn't possibly pass up the chance. :) But I'm still probably another week or two from qualifying as N00b. I imagine I could probably handle transcoding javascript examples to python if it's

Re: [Freeswitch-users] Error: eval_some_python() Error importing module

2009-01-21 Thread Brian Deacon
See, my powers of stupidity are legendary. :) I updated the one-liner code sample on the mod_python page (near the part that points to python_example.py) to include the def fsapi line. Works like a champ now! Thanks! Brian On Wed, 2009-01-21 at 16:55 -0600, Anthony Minessale wrote: > add > >

Re: [Freeswitch-users] Error: eval_some_python() Error importing module

2009-01-21 Thread Stephen Crosby
I would love to see the documentation for python flourish. I would have chosen python for my recent development if I could have quickly figured out how to use it. I chose the javascript route instead because of all the examples on the wiki. --Stephen On Wed, Jan 21, 2009 at 3:33 PM, Michael Colli

Re: [Freeswitch-users] Error: eval_some_python() Error importing module

2009-01-21 Thread Michael Collins
On Wed, Jan 21, 2009 at 2:40 PM, Brian Deacon wrote: > Greetings, > > Couldn't find anything on the wiki or in the mail archives. (Let me > know where you think a good home for this info might be on the wiki and > I'd be more than happy to write something up in there.) Thanks, you're hired! :) We

Re: [Freeswitch-users] Error: eval_some_python() Error importing module

2009-01-21 Thread Anthony Minessale
add def fsapi(session, stream, env, args): stream.write("baz") see: http://svn.freeswitch.org/svn/freeswitch/trunk/src/mod/languages/mod_python/python_example.py could make a good addition to the wiki On Wed, Jan 21, 2009 at 4:40 PM, Brian Deacon wrote: > Greetings, > > Couldn't fin

[Freeswitch-users] Error: eval_some_python() Error importing module

2009-01-21 Thread Brian Deacon
Greetings, Couldn't find anything on the wiki or in the mail archives. (Let me know where you think a good home for this info might be on the wiki and I'd be more than happy to write something up in there.) I'm guessing I haven't done everything necessary to enable python on my machine. I have