[Freeswitch-users] media problem first seconds
Avi Marcus
avi at avimarcus.net
Wed Sep 11 11:43:57 MSD 2013
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> 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 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
>> 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
>>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://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/5aa1ccea/attachment-0001.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list