Hi,<br><br>What I would like to do is to park an incoming call and then play a background music while it is parked. Upon occurrence of certain event, I would like to unpark the caller again and bridge it to someone else. <br>
<br>I tried to use the following:<br><br> switch_status_t status = switch_ivr_play_file(session, NULL, set_bg_prompt_data, NULL);<br> switch_ivr_park_session ( session);<br><br>It does not work. The call goes to hangup and it does not "wait" there.<br>
<br>Does anyone know what is wrong and how to accomplish my goal?<br><br>thanks,<br>jb<br>