mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
more ivr stuff (not done)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@693 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
5938cee550
commit
bdd2223542
13 files changed
+362
-91
No files matched your search
@@ -149,7 +149,7 @@ static void ivrtest_function(switch_core_session *session, char *data)
|
||||
/* you could have passed NULL instead of on_dtmf to get this exact behaviour (copy the digits to buf and stop playing)
|
||||
but you may want to pass the function if you have something cooler to do...
|
||||
*/
|
||||
status = switch_ivr_play_file(session, data, NULL, on_dtmf, buf, sizeof(buf));
|
||||
status = switch_ivr_play_file(session, NULL, data, NULL, on_dtmf, buf, sizeof(buf));
|
||||
|
||||
if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK) {
|
||||
switch_channel_hangup(channel);
|
||||
|
||||
Reference in new issue
Block a user