[Freeswitch-users] Play ringback sound file while transfering a call (before ringing state)

Peter Steinbach lists at telefaks.de
Mon Mar 23 15:43:33 MSK 2015


Hello,

I have the following scenario

  * a call goes into an IVR
  * there it is answered
  * then I want to forward the call to another number via uuid_transfer
  * a new transfer dialplan is then generated
  * I want to issue a ringback sound file to the caller, in order to
    show that the call is not hung up
  * I just don't get the ringback to work properly

That's what I did
       <action application="set"
data="transfer_ringback=local_stream://moh"/>
This does silence for some seconds, and then when the transfer extension
is ringing, plays MOH. So the caller may assume for some seconds that
the call is hungup before MOH plays.

       <action application="displace_session" data="local_stream://moh"/>
This also does silence for some seconds, and then when the transfer
extension is ringing, plays MOH. So the caller may assume for some
seconds that the call is hungup before MOH plays.

I also tried the ringback application with no better result.

So how can I play a background sound for the time

  * after transfer
  * and before the ringing/progress message is received?


-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
mailto:lists (att) telefaks.de
Internet: www.telefaks.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150323/152d26c2/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list