[new feature] assistance with incorporating new feature

I was hoping to add a feature which would allow you to play a system recording before going to a destination. I’ve looked over the drawselects function in admin/functions.inc.php. I’ve added the code necessary to get the display using the valid list of recordings and only if the recordings module is installed.

I was going to see how to integrate this into the section where the extensions_additional.conf is written out since the playback will need to be inserted before the goto statement.

Can somone tell me where this file is generated and written out?

Forgot to add that I need to know where the records are inserted into the database as well. I’ll look, was just hoping to get a pointer or two. Thanks.

I was able to determine where the database update goes and modify the code to post the right changes to the database. I would still like to see this feature in the core system for ivr functionality only. It seems like providing a DID for people to directly reach a queue or other destination is a good message to have available in the IVR.

I decided in the short-term to create a custom destination that plays the message, then goes to the destination queue. This is a quick way to make the change I needed.

I’ll further test the code and then see if all goes well…this post is now not necessary.

Have you looked at the announcement module?

Also, as a heads-up, in 2.3 we’re going to fairly drastically change the
API for GUI code, see http://freepbx.org/trac/wiki/ApiModules2

ip-rob wrote:

[quote] I was hoping to add a feature which would allow you to play a system recording before going to a destination. I’ve looked over the drawselects function in admin/functions.inc.php. I’ve added the code necessary to get the display using the valid list of recordings and only if the recordings module is installed.

I was going to see how to integrate this into the section where the extensions_additional.conf is written out since the playback will need to be inserted before the goto statement.

Can somone tell me where this file is generated and written out?


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-devel

[/quote]


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Amportal-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-devel

Post generated using Mail2Forum (http://www.mail2forum.com)