Open Source Training Seminar


Not Logged in - No Account?

Logging in allows you to post to forums, track new posts, subscribe to threads, pm (private message) other members, and receive periodic news letters. Once logged in this message disappears. No account? Create one by registering here. Lost your password, request a new password. We respect your privacy and collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for details.


On-hold Music for conferences

pierredp's picture

Hi there,

Just wondering if for future releases, on-hold music categories can be selected per conference as appose to just "On-hold music Yes/No". Or is the limitation with Asterisk?

Many thanks,
Pierre


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Yes, it can!

dinhtrung's picture

You can specify a music on hold class with the M option in Meetme app. We could modify the page.conferences.php like this to acquire this feature:

<tr>
		<td><a href="#" class="info"><?php echo _("Music on Hold:")?><span><?php echo _("enable music on hold when the conference has a single caller")?></span></a></td>
		<td>
			<select name="opt#M" tabindex="<?php echo ++$tabindex;?>">
			<?php
				$tresults = music_list($amp_conf['ASTVARLIBDIR']."/mohmp3");
				if (isset($tresults[0])) {
					foreach ($tresults as $tresult) {
						echo '<option value="M('.$tresult.')"'.((strpos($options,$tresult) === false) ? ' ' : ' SELECTED').'>'.$tresult."</option>\n";
							}
						}
			?>		
			</select>		
		</td>
	</tr>

Replace this code to the table row that help you choose to enable Music On Hold. But we'll have to expand the option column in MySQL asterisk database, because now we use it to store the MOH category name as well as other options.
And of course, we can modify the meetme.conf to use a default MOH class.


__________________

QiS Technologies, ltd


Sorry, wait for 1.6!

dinhtrung's picture

Sorry, my testing asterisk server is 1.6 from svn, so you can choose what music class should be used with M(class) option. But with 1.4 stable version, we don't have any choice.
Then we have to wait for 1.6 release, to use this feature.


__________________

QiS Technologies, ltd


Thanks for the update. I'll

pierredp's picture

Thanks for the update. I'll wait for the next release :-)