Displaying 1 result from an estimated 1 matches for "whatnumbertoinvit".
Did you mean:
whatnumbertoinvite
2005 Jul 12
0
meetme an customized menu
...to recognize any dtmf-tone after *3
here a little test-code:
case '3': /* Invite another Conferee */
menu_active = 0;
ast_log(LOG_WARNING,"Taste 3 gedrueckt -> now one more for testing!");
if (!ast_streamfile(chan, "whatNumberToInvite", chan->language))
dtmf = ast_waitstream(chan, AST_DIGIT_ANY);
else
dtmf = -1;
ast_log(LOG_WARNING,"Something pressed ?? :%d \n",dtmf);
break;
My thougt was, that ast_waitstrem waits a certain time period and then
return the dtmf...