I am using asterisk with normal PHP AGI following this link the problem is that my PHP AGI takes 5 seconds to execute .I just want to set some waiting tone for the user to wait until the AGI is been processing. On the same link I found something:
set music: Enable/Disable Music on hold generator, example "SET MUSIC ON default
but I don't know exactly how to use I mean what would be the exact syntax and where do I put it.
I have tried adding
same => n,Set(CHANNEL(musicclass)=default)
but it didn't work.