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
Joseph Bajin wrote:Thanks Joe, but this will play the file to the caller, I'm trying to play a file
> 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)
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org