[Freeswitch-users] dynamic music on hold for mod_conference

Michael Collins msc at freeswitch.org
Tue Apr 10 20:23:00 MSD 2012


2012/4/10 Roland Hänel <roland at haenel.me>

> I found this in mod_conference.c:
>
> /* Set MOH from variable if not set */
> if (zstr(conference->moh_sound)) {
>  conference->moh_sound = switch_core_strdup(conference->pool,
> switch_channel_get_variable(channel, "*conference_moh_sound*"));
>  }
>
> This evaluate channel variable conference_moh_sound only if the
> "conference" command creates a new conference. Give it a try. ;-)
>
> Greetings,
> Roland
>
>
Roland,
Nice detective work! It turns out that my channel variable lister script
missed this one. I will revisit it and try again. In the meantime, thanks
for digging this up.

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120410/4bc99425/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list