I'm calling app_mp4 from a fastagi app. mp4play gets interrupted when the user presses any key, and it seems that
the value of the key is not propagated to the output of mp4play. I always get zero as output value.

I can easily change this to it returning the dtmf char code, but I don't know if its the right thing to do...

app_mp4 is controlled from our VoiceXML browser without any problem
(with supported bargein).

Regards,

Borja form inet

Robert Bielik a écrit :

Quote:

I'm calling app_mp4 from a fastagi app. mp4play gets interrupted when the user presses any key, and it seems that
the value of the key is not propagated to the output of mp4play. I always get zero as output value.

I can easily change this to it returning the dtmf char code, but I don't know if its the right thing to do...

Available options:
'n(x)': number of digits (x) to wait for
'S(x)': set variable of name x (with DTMFs) rather than go to extension
's(x)': set digits, which should stop playback

Examples:
mp4play(/tmp/video.mp4) play
video file to user
mp4play(/tmp/test.mp4,'n(3)') play video file
to user and wait for 3 digits
mp4play(/tmp/test.mp4,'n(3)S(DTMF_INPUT)') play video file to user
and wait for 3 digits and
set them as
value of variable DTMF_INPUT
mp4play(/tmp/test.mp4,'n(3)s(#)') play video file, wait
for 3 digits or break on '#'

Thnx! Found it too.. :) so I managed to set the parameters to n(1)S(DTMF_INPUT) but I don't know how to
retrieve the DTMF_INPUT entry from the AgiResult value from the execution of the app_mp4 app. At least I
haven't been able to find anything in the reply value...

Thnx! Found it too.. :) so I managed to set the parameters to n(1)S(DTMF_INPUT) but I don't know how to
retrieve the DTMF_INPUT entry from the AgiResult value from the execution of the app_mp4 app. At least I
haven't been able to find anything in the reply value...

Thnx! Found it too.. :) so I managed to set the parameters to n(1)S(DTMF_INPUT) but I don't know how to
retrieve the DTMF_INPUT entry from the AgiResult value from the execution of the app_mp4 app. At least I
haven't been able to find anything in the reply value...