[Freeswitch-dev] play background music and park the call (RESOLVED)

Juan Backson juanbackson at gmail.com
Wed Sep 23 03:44:48 PDT 2009


this issue is due to a missing Answer. It is ok now.


On Wed, Sep 23, 2009 at 12:32 PM, Juan Backson <juanbackson at gmail.com>wrote:

> Hi,
> 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.
> I tried to use the following:
>             switch_status_t status = switch_ivr_play_file(session, NULL,
> set_bg_prompt_data, NULL);
>             switch_ivr_park_session ( session);
> It does not work.  The call goes to hangup and it does not "wait" there.
> Does anyone know what is wrong and how to accomplish my goal?
> thanks,
> jb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090923/bdde99f7/attachment.html 

More information about the FreeSWITCH-dev mailing list