[asterisk-users] MOH class to use

Dovid Bender dovid at telecurve.com
Sun Oct 29 17:47:32 CDT 2017


What is the expected behavior when setting the MOH Class in the Application
MusiConHold? For simplicity purposes my dialplan looks like this:

Exten => moh,1,MSet(SIP_CODEC=ulaw,CHANNEL(musicclass)=ABC)
Exten => moh,n,Answer
Exten => moh,n,MusicOnHold(DEF)
Exten => moh,n,Hangup

If you dial in you would expect the system to play class DEF since it's
specified in the parameters for the application MusicOnHold yet it plays
the class ABC. Is this a bug or expected behavior?

I have this with 13.8.0 and 14.5.0.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20171029/363e36ce/attachment.html>

More information about the asterisk-users mailing list