Hi,

When using realtime MOH and an external script such as madplay if in
MusicOnhold we have set cachertclasses=yes, after an Asterisk restart the
first time a call comes in madplay is started. If ten people are using the
same moh class there is only one instance of madplay. The issue is that if
no one is using the MOH class once there is an instance of madplay it's up
forever (till Asterisk is restarted). On the other hand if cachertclasses
is set to no then it will start up madplay when the MOH class is used and
it will stop when the call is done. The issue with this is if there are 10
people using this MOH class then there are ten instances of madplay being
used. Is there any way of having a happy mix of both? If the calls is not
in use then launch an instance (as it is with cachertclasses=yes) however
when the MOH is over if there is no one in the class to stop the instance
of madplay running (as it is if we have cachertclasses=no).

TIA.

Dovid
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to