[Freeswitch-users] media problem first seconds

Miha miha at softnet.si
Wed Sep 11 12:09:23 MSD 2013


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, pis(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 at softnet.si 
> <mailto:miha at softnet.si>> wrote:
>
>     Avi tnx!
>
>     So I just do
>
>     <action application="pre_answer"/>
>
>     before bridge?
>
>     BR,
>     Miha
>
>     Dne 9/11/2013 9:23 AM, pis(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 at softnet.si
>>     <mailto:miha at 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 at freeswitch.org <mailto:consulting at freeswitch.org>
>>         http://www.freeswitchsolutions.com
>>
>>         
>>         
>>
>>         Official FreeSWITCH Sites
>>         http://www.freeswitch.org
>>         http://wiki.freeswitch.org
>>         http://www.cluecon.com
>>
>>         FreeSWITCH-users mailing list
>>         FreeSWITCH-users at lists.freeswitch.org
>>         <mailto: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
>>
>>
>>
>>
>>     _________________________________________________________________________
>>     Professional FreeSWITCH Consulting Services:
>>     consulting at freeswitch.org  <mailto:consulting at freeswitch.org>
>>     http://www.freeswitchsolutions.com
>>
>>     
>>     
>>
>>     Official FreeSWITCH Sites
>>     http://www.freeswitch.org
>>     http://wiki.freeswitch.org
>>     http://www.cluecon.com
>>
>>     FreeSWITCH-users mailing list
>>     FreeSWITCH-users at lists.freeswitch.org  <mailto: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
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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/20130911/82cf1ba6/attachment.html 


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