[Freeswitch-users] An issue when attended transfer to fs

Troy Anderson troy at tlainvestments.com
Fri Apr 9 19:25:41 PDT 2010


Also, make sure you did <action application="answer" /> at some point before starting to play the file.  If you start to play a file without answering first, the first bit of the file is cut off.  Best practice seems to be something like:

<action application="answer" />
<action applicatino="sleep" data="1000"/>
<action application="playback" data="sounds/soundfile.wav"/>

-Troy


On Apr 9, 2010, at 8:27 AM, CHU, XINGJUN (XINGJUN) wrote:

> I don't see how this is relevant to the problem?
>  
>  
> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Milena
> Sent: Thursday, April 08, 2010 9:57 AM
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] An issue when attended transfer to fs
>  
> hi,
>  
> put an <action application="sleep" data="2000"/> before the instruction to play something
>  
> 
> 2010/4/7 CHU, XINGJUN (XINGJUN) <jasonchu at avaya.com>
> Hi,
> 
> I have Freeswitch and other two SIP sets all registered with a SIP proxy/registry, and I am writing a control software to  control the freeswitch via event socket. Baisically the control software tells freeswitch when someone calls it, what action to take, for example, acts as Auto attendant and play prompt. Etc.
> 
> Now I got a problem when A calls B then attended transfer B to freeswitch,
> The prompt B hear is not from the beginning, it actually hears  the trailing part of the prompt played to A when A called freeswitch in the beginning of the transfer.  I understand that's because nobody tell freeswitch to stop and start from the beginning.  I am looking for what event should the control software monitor for the replaced session (the transfer is done via "invite replaces" ) and how to cancel the current prompt and start from beginning.
> 
> Any suggestions are greatly appreciated.
> 
> Thanks
> Xingjun
> 
> _______________________________________________
> 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
>  
> _______________________________________________
> 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/20100409/03f909f3/attachment-0029.html 


More information about the FreeSWITCH-users mailing list