Customize default Music On Hold


If you want to dynamically change the default MusicOnHold class during the call flow, follow below instructions:

  • Create your custom moh class and add your audio files


  • Create variable CHANNEL(musicclass)

Please refer here to create a Variable


  • Update MOH class on runtime
    1. If you use Internal/Inbound dialplan, you need to add the Set application with following syntax



    2. If you use CallySquare project, you need to add the Set block with following syntax