I have a problem: in Asterisk script, i execute a call from A to B by command Dial(SIP/xxx). I want play music during A talking with B.
Fuction Dial only support music begin call OR end Call: https://www.voip-info.org/wiki/view/Asterisk+cmd+Dial
Please help me if you know.
There is 2 possible variants
1) dial command L param play file at some time before end of call, with repeat option
2) You can orignate new channel, one leg to file, other leg via ChanSpy wisper feature connect to current call. https://www.voip-info.org/wiki/view/Asterisk+cmd+ChanSpy