Hello.
I want to play different slin files on to inform the caller about the reason of disconnection the other side: wrong number, unavailable and so on.
I watch chan.disconnected message and use chan.masquerade to play the message with options:
{
'message': 'call.execute',
'id': params['id'],
'callto': 'wave/play//share/yate/sounds/%s.slin' % sound
}
If the provider sent progress message before (ring tones), the rtp is up and busy message on disconnect is played. If there is no progress and earlymedia, no any sound is hear (but msgsniffer shows all good and message was played).
What I've forgottent to make this work?