[asterisk-commits] dvossel: branch dvossel/hd_confbridge r311472 - /team/dvossel/hd_confbridge/a...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 21 10:44:32 CDT 2011


Author: dvossel
Date: Mon Mar 21 10:44:28 2011
New Revision: 311472

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=311472
Log:
Add custom sound files to 'confbridge show profile bridge' output

Modified:
    team/dvossel/hd_confbridge/apps/confbridge/conf_config_parser.c

Modified: team/dvossel/hd_confbridge/apps/confbridge/conf_config_parser.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/hd_confbridge/apps/confbridge/conf_config_parser.c?view=diff&rev=311472&r1=311471&r2=311472
==============================================================================
--- team/dvossel/hd_confbridge/apps/confbridge/conf_config_parser.c (original)
+++ team/dvossel/hd_confbridge/apps/confbridge/conf_config_parser.c Mon Mar 21 10:44:28 2011
@@ -694,6 +694,55 @@
 		snprintf(tmp, sizeof(tmp), "auto");
 	}
 	ast_cli(a->fd,"Internal Sample Rate: %s\n", tmp);
+
+	if (!ast_strlen_zero(b_profile.sounds->onlyperson)) {
+		ast_cli(a->fd,"sound_only_person:    %s\n", b_profile.sounds->onlyperson);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->hasjoin)) {
+		ast_cli(a->fd,"sound_has_joined:     %s\n", b_profile.sounds->hasjoin);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->hasleft)) {
+		ast_cli(a->fd,"sound_has_left:       %s\n", b_profile.sounds->hasleft);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->kicked)) {
+		ast_cli(a->fd,"sound_kicked:         %s\n", b_profile.sounds->kicked);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->muted)) {
+		ast_cli(a->fd,"sound_muted:          %s\n", b_profile.sounds->muted);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->unmuted)) {
+		ast_cli(a->fd,"sound_unmuted:        %s\n", b_profile.sounds->unmuted);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->thereare)) {
+		ast_cli(a->fd,"sound_there_are:      %s\n", b_profile.sounds->thereare);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->otherinparty)) {
+		ast_cli(a->fd,"sound_other_in_party: %s\n", b_profile.sounds->otherinparty);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->placeintoconf)) {
+		ast_cli(a->fd,"sound_place_into_conference: %s\n", b_profile.sounds->placeintoconf);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->waitforleader)) {
+		ast_cli(a->fd,"sound_wait_for_leader:%s\n", b_profile.sounds->waitforleader);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->getpin)) {
+		ast_cli(a->fd,"sound_get_pin:        %s\n", b_profile.sounds->getpin);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->invalidpin)) {
+		ast_cli(a->fd,"sound_invalid_pin:    %s\n", b_profile.sounds->invalidpin);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->locked)) {
+		ast_cli(a->fd,"sound_locked:         %s\n", b_profile.sounds->locked);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->unlockednow)) {
+		ast_cli(a->fd,"sound_unlocked_now:   %s\n", b_profile.sounds->unlockednow);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->lockednow)) {
+		ast_cli(a->fd,"sound_lockednow:      %s\n", b_profile.sounds->lockednow);
+	}
+	if (!ast_strlen_zero(b_profile.sounds->errormenu)) {
+		ast_cli(a->fd,"sound_error_menu:     %s\n", b_profile.sounds->errormenu);
+	}
 	ast_cli(a->fd,"\n");
 
 	conf_bridge_profile_destroy(&b_profile);




More information about the asterisk-commits mailing list