I am trying to achieve the following scenario:-
A call comes in. Asterisk rings on two sip interfaces whilst playing “ring ring” to the caller. If the call is not answered within 15 seconds, the caller is played a sound file (“sorry for the delay in answering your call blah blah”) whilst both interfaces keep ringing. After the sound file has been played, the ringing should change to music on hold.
Is this possible? I cannot seem to achieve this without ceasing the ringing during the soundfile playback. Could it be done using queues?
Here is the current dialplan…
exten => 200,1,Answer
exten => 200,2,Dial(SIP/100&SIP/103,20,tr)
exten => 200,3,Background(sorry-for-wait)
exten => 200,4,Dial(SIP/100&SIP/103,160,tm)