Play file and get DTMF But Do not stop playing until the end

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Play file and get DTMF But Do not stop playing until the end

Postby woren » Sat Oct 08, 2011 3:37 am

Hello everyone,
I use asterisk for a while. But for this problem i did not offer a solution.
So I chose to raise it in this forum maybe there is something I missed.
I have to write a dialplan that play sound file and he Should to get DTMF But!
Do not stop playing the file until the end of file
or hangup . and keep the DTMF in Variable

Thanks
woren
woren
Newsterisk
 
Posts: 8
Joined: Sat Oct 08, 2011 3:11 am

Re: Play file and get DTMF But Do not stop playing until the end

Postby david55 » Sat Oct 08, 2011 4:24 am

You'll need to modify the source code of ast_builtin_background in main/pbx.c. It looks like it should be a relatively easy change.
david55
Moves Like Spencer
 
Posts: 10706
Joined: Fri Sep 26, 2008 5:03 am

Re: Play file and get DTMF But Do not stop playing until the end

Postby woren » Sat Oct 08, 2011 5:05 am

First Thanks for quick response.
Do you or anyone know any patch/module that does it correctly / right way ?

Thanks
Woren
woren
Newsterisk
 
Posts: 8
Joined: Sat Oct 08, 2011 3:11 am

Re: Play file and get DTMF But Do not stop playing until the end

Postby david55 » Sat Oct 08, 2011 6:57 am

It is behaving correctly. You have a feature request not a bug.
david55
Moves Like Spencer
 
Posts: 10706
Joined: Fri Sep 26, 2008 5:03 am

Re: Play file and get DTMF But Do not stop playing until the end

Postby woren » Sun Oct 09, 2011 9:51 am

Hello everyone,
After a comprehensive search in all the sites relating to VOIP .
I concluded that there is no shelf solution for my problem.
So I wrote one.
And you can download it at http://code.google.com/p/ifgotdigit/ .
So thanks to all who tried to help.

woren
woren
Newsterisk
 
Posts: 8
Joined: Sat Oct 08, 2011 3:11 am


Return to Asterisk Support

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 35 guests