[Freeswitch-users] Playing an audio file to end destination before bridging the call

Ashutosh ashutosh.kumars at gmail.com
Mon Jul 14 03:28:47 PDT 2008


Hi,
So, you want call from A to B, and make B listen to a file when he picks up,
right ?
  You can originate the call to LegB , and make it drop to a context which
does the following
- first play the file
- Then bridge to LegA

Regards,
ashutosh

On Mon, Jul 14, 2008 at 8:00 AM, Adnan Barakat <adnan at barakatdesigns.net>
wrote:

> Joseph Bajin wrote:
> > I assume you are meaning as you are connecting, you may want to play a
> > custom ringback or fake the ring.
> >
> > Here's the page to do it:
> >
> > http://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones
> >
> > Or if you are using the originate command:
> >
> > originate {ringback=/path/to/music.wav}sofia/gateway/name/number
> &bridge(sofia/gateway/name/othernumber)
> Thanks Joe, but this will play the file to the caller, I'm trying to play a
> file
> to the receiver (ie. when the receiver picks up the phone the voice file
> will be
> played to them [the receiver], then the call will get bridged - and while
> the
> file is being played [to the receiver] the caller will continue to hear the
> normal ringtone until the call is bridged)
>
>
> Adnan
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080714/786eb6aa/attachment-0002.html 


More information about the FreeSWITCH-users mailing list