VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
erik at erikwickstrom.com Guest
|
Posted: Thu Jan 08, 2009 9:06 am Post subject: [Freeswitch-users] Trouble getting session.setInputCallback |
|
|
Hi all,
I'm trying to get a setInputCallback function working with mod_python. I'm using a current svn checkout for my build and the hello world via call example from the wiki ( http://wiki.freeswitch.org/wiki/Mod_python#Hello_World_via_call ).
I've tried repeatedly, but I can't get the callback function to execute. I keep pressing various digits on my phone, but none of them are being logged to the console. My understanding is that this callback is supposed to fire when a dtmf (123456789*#, right??) and also acts as an event handler for things like mod_vmd.
Is this part of the wiki example working for anyone else? Any idea what I might be doing wrong?
Thanks!
Erik |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Thu Jan 08, 2009 7:01 pm Post subject: [Freeswitch-users] Trouble getting session.setInputCallback |
|
|
Sorry for the late followup. Did you ever get this working? (I'm not a
Python guy so it's a bit out of my area of interest/expertise).
-MC
On Wed, Jan 7, 2009 at 4:09 PM, Erik Wickstrom <erik@erikwickstrom.com> wrote:
Quote: | Hi all,
I'm trying to get a setInputCallback function working with mod_python. I'm
using a current svn checkout for my build and the hello world via call
example from the wiki (
http://wiki.freeswitch.org/wiki/Mod_python#Hello_World_via_call ).
I've tried repeatedly, but I can't get the callback function to execute. I
keep pressing various digits on my phone, but none of them are being logged
to the console. My understanding is that this callback is supposed to fire
when a dtmf (123456789*#, right??) and also acts as an event handler for
things like mod_vmd.
Is this part of the wiki example working for anyone else? Any idea what I
might be doing wrong?
Thanks!
Erik
_______________________________________________
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
|
_______________________________________________
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 |
|
Back to top |
|
|
erik at erikwickstrom.com Guest
|
Posted: Thu Jan 08, 2009 9:36 pm Post subject: [Freeswitch-users] Trouble getting session.setInputCallback |
|
|
Yes, I think so. It seems that it just doesn't work while doing an api call such as session.execute("playback", "/path/to/file.wav")
Is this the correct behaviour? Are calls made with execute "blocking"?
Thanks!
Erik
On Thu, Jan 8, 2009 at 4:01 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
|
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Fri Jan 09, 2009 12:17 pm Post subject: [Freeswitch-users] Trouble getting session.setInputCallback |
|
|
That is correct, if you want to use the input callback you need to use
the session methods (streamFile ?) to play the file.
Mike
On Jan 8, 2009, at 9:33 PM, Erik Wickstrom wrote:
Quote: | It seems that it just doesn't work while doing an api call such as
session.execute("playback", "/path/to/file.wav")
Is this the correct behaviour? Are calls made with execute
"blocking"?
|
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
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
|