To hold a call to be picked up using intercept, I've tried this with the intention of having the call sent to voicemail if no one does the pickup:<br><br><action application="sleep" data="20000"/><br>
<action application="answer"/><br><action application="voicemail" data="default <a href="mailto:user@domain.com">user@domain.com</a>"/><br><br>However, when I use application intercept, sleep is not aborted and we have no audio until it finishes.<br>
I was expecting intercept would abort the sleep application the same way as it does for example for application playback.<br><br>I believe this can be solved by using application park and sched_transfer. But I thought I could ask if there would be a way of doing it without splitting the dialplan entities and keep it simple.<br>
<br>br,<br>takeshi<br>