Hi Team,
I want to play customHold music when my call is answered then if that is put on hold then that custom music should play
for that case i have done some research that in asterisk 17.8 we have
moh_class
Set(CHANNEL(Musicclass) --> if have used this
This only work if I set that variable on part A channel and if party b holds the call then music plays
but i want to set the music class when party B answered the call then if any call put on hold then music should played
but the problem is
both are on diffrenet channel part A lets ex :: ASD34444000a channel
and partyB answeredChannel ex: ASSS00000b
so the variable set on part b channel but doest work it plays default music on hold
i want
if party B answers the call the custom music on class should set there and then it should work
this is the diaplan which was called when the call is answered
[macro-answered]