• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Asterisk-video] Getting back the dtmf from app_mp4

 
   AsteriskGuru Archives Forum Index -> Asterisk-Video
View previous topic :: View next topic  
Author Message
robert.bielik at xponaut.
Guest





PostPosted: Wed Apr 22, 2009 12:25 pm    Post subject: [Asterisk-video] Getting back the dtmf from app_mp4

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...

Ideas?
TIA
/Rob


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
borja.sixto at i6net.com
Guest





PostPosted: Wed Apr 22, 2009 12:31 pm    Post subject: [Asterisk-video] Getting back the dtmf from app_mp4

Hi,

What are the parameters set to the app_mp4 application ?

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...

Ideas?
TIA
/Rob


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
robert.bielik at xponaut.
Guest





PostPosted: Wed Apr 22, 2009 12:38 pm    Post subject: [Asterisk-video] Getting back the dtmf from app_mp4

Borja SIXTO skrev:
Quote:
What are the parameters set to the app_mp4 application ?

Only the path to the mp4 video file.

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

Ok, so app_mp4 should propagate back the dtmf code that "barged in"... I just can't see right
now how to get to it...

/Rob

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
robert.bielik at xponaut.
Guest





PostPosted: Wed Apr 22, 2009 12:42 pm    Post subject: [Asterisk-video] Getting back the dtmf from app_mp4

Borja SIXTO skrev:
Quote:
Hi,

What are the parameters set to the app_mp4 application ?

Aha. Now I see. I'll try to set options to 'n(1)S(DTMF_INPUT)'

Thnx!
/Rob

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
borja.sixto at i6net.com
Guest





PostPosted: Wed Apr 22, 2009 12:45 pm    Post subject: [Asterisk-video] Getting back the dtmf from app_mp4

Hi,

Here the dump of the online documentation :

debian32*CLI> core show application mp4play
debian32*CLI>
-= Info about application 'mp4play' =-

[Synopsis]
MP4 file playblack

[Description]
mp4play(filename,[options]): Play mp4 file to user.

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 '#'

debian32*CLI>

All parameters are described.

Regards,


Borja from i6net


Robert Bielik a écrit :
Quote:
Borja SIXTO skrev:

> What are the parameters set to the app_mp4 application ?
>

Only the path to the mp4 video file.


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

Ok, so app_mp4 should propagate back the dtmf code that "barged in"... I just can't see right
now how to get to it...

/Rob

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
robert.bielik at xponaut.
Guest





PostPosted: Wed Apr 22, 2009 1:13 pm    Post subject: [Asterisk-video] Getting back the dtmf from app_mp4

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...

Any pointers would be highly appreciated :)
TIA
/R

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
borja.sixto at i6net.com
Guest





PostPosted: Wed Apr 22, 2009 1:36 pm    Post subject: [Asterisk-video] Getting back the dtmf from app_mp4

Personally, I don't know how to do it with Agi.

Regards,


Borja from i6net


Robert Bielik a écrit :
Quote:
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...

Any pointers would be highly appreciated :)
TIA
/R

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
emmanuel.buu at ives.fr
Guest





PostPosted: Wed Apr 22, 2009 1:50 pm    Post subject: [Asterisk-video] Getting back the dtmf from app_mp4

I would say : http://www.voip-info.org/wiki/view/get+variable

Emmanuel BUU
http://www.ives.fr/

Borja SIXTO a écrit :
Quote:
Quote:
Personally, I don't know how to do it with Agi.

Regards,


Borja from i6net


Robert Bielik a écrit :
Quote:
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...

Any pointers would be highly appreciated :)
TIA
/R

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video

Back to top
robert.bielik at xponaut.
Guest





PostPosted: Thu Apr 23, 2009 7:24 am    Post subject: [Asterisk-video] Getting back the dtmf from app_mp4

Emmanuel BUU skrev:
Quote:
I would say : http://www.voip-info.org/wiki/view/get+variable

Thanks! Quite right. AgiChannel (in asterisk-java) has the getVariable(...) method and I can retrieve the
dtmf code that way :)

/Rob

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Video All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™