If you use Asterisk you may want to make conference rooms available from an IVR, which is not supported by default.  After lots of pain and suffering the solution is to modify the ivr file to allow checking of the conference room number against the MeetMe settings.

To enable this functionality the following steps need to be taken:

1. Nagivate to  /var/www/html/admin/modules/ivr

2. bBackup and then open the file functions.inc.php

3. Search for " app-directory "

You'll see the following code:

---------------------------------------------------------------
if (!empty($details['enable_directory'])) {
$ext->addInclude($id,'app-directory');
$dir = featurecodes_getFeatureCode('infoservices', 'directory');
$ext->add($id, '#', '', new ext_goto("app-directory,$dir,1"));
}

$ext->add($id, 'h', '', new ext_hangup(''));
---------------------------------------------------------------

4. Above the line $ext->add($id, 'h', '', new ext_hangup(''));   Add the following:

$ext->addInclude($id,'ext-meetme');

5. The code should now look like this :

if (!empty($details['enable_directory'])) {
$ext->addInclude($id,'app-directory');
$dir = featurecodes_getFeatureCode('infoservices', 'directory');
$ext->add($id, '#', '', new ext_goto("app-directory,$dir,1"));
}

$ext->addInclude($id,'ext-meetme');
$ext->add($id, 'h', '', new ext_hangup(''));

6. Save the changes and reload in the asterisk cli. The "meetme" context will now be part of the IVR lookup.

You can now create an IVR called conference add a nice introductory message etc.

One thing to note is that you'll need to make this change each time the IVR module is written over via an asterisk or FreePBX update.

Article ID: 28, Created On: 5/29/2009, Modified: 6/9/2009

Comments (0)