How do you set the music on hold class for the other parties channel?
I have the following…
exten => 100,1,SetMusicOnHold(newclass)
exten => 100,2,Dial(SIP/102)
But when I call extension 100 and put the callee on hold, asterisk still tries to use ‘default’ class.
One of the asterisk developers said…
" Essentially that setting changes it on the current channel so that if musiconhold is activated on that channel, then the new music class is used. When you are in a call and put someone else on hold, you are putting their channel on hold - not yours. Their musicclass has not been changed, so the new one is not used."
So how would I go about setting the musicclass on their channel?