HI,
I did like this and now is working:

        <action application="pre_answer"/>
                        <action application="playback" data="silence_stream://1000"/>
                         <action application="set" data="ringback=%(1000,4000,425)"/

BR,
Miha

Dne 9/11/2013 10:09 AM, piše Miha:
hi Avi,

if I do

 <action application="pre_answer"/>
<action application="playback" data="silence_stream://1000"/>

I do not get ring-back tone. Must I do something else to generate ringback tone?

tnx

br,
miha

Dne 9/11/2013 9:43 AM, piše Avi Marcus:
If you do a pre_answer, that starts up the media stream (even if it's just ringing... I'm pretty sure). If you directly answer the call after, you haven't gained any time for the media stream to start.
If you do pre_answer, then bridge somewhere that rings for at least a second, then that should work.
I often put a silence of 200-500ms before playback... from the wiki:

Play 1000 ms of silence (1 second)

<action application="playback" data="silence_stream://1000"/>

Play 2000 ms of comfort noise

<action application="playback" data="silence_stream://2000,1400"/>

-Avi


On Wed, Sep 11, 2013 at 10:36 AM, Miha <miha@softnet.si> wrote:
Avi tnx!

So I just do
<action application="pre_answer"/>

before bridge?

BR,
Miha

Dne 9/11/2013 9:23 AM, piše Avi Marcus:
Over SIP sometimes the media path takes a second to fully establish.
If you pre-answer or insert silence at the start of the call before your real audio then it will sound OK.

As far as I know, this is something that happens...

-Avi

On Wed, Sep 11, 2013 at 10:01 AM, Miha <miha@softnet.si> wrote:
Hi,

I am experiancing wird behaviour. Sometime happens that media is missing
for first few second and that everything is ok.

Can I prevent this in any way?

tnx!

miha

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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