media problem first seconds
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
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
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@softnet.si <mailto: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 <mailto: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 <mailto: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
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.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
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@softnet.si <mailto: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, 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@softnet.si <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto: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
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, pis(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, 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@softnet.si <mailto: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, 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@softnet.si <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto: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
On 09/11/2013 03:09 AM, Miha wrote:
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?
You don't mention the type of client? I saw a problem like this with some versions of Linphone - turns out it was Linphone and not freeswitch. -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 History may not repeat itself, but it does rhyme a lot. -Mark Twain --------------------------------------------------------------------------------
UAC is linksys SPA922 miha Dne 9/11/2013 10:03 PM, piše Karl Schmidt:
On 09/11/2013 03:09 AM, Miha wrote:
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? You don't mention the type of client? I saw a problem like this with some versions of Linphone - turns out it was Linphone and not freeswitch.
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
History may not repeat itself, but it does rhyme a lot. -Mark Twain --------------------------------------------------------------------------------
_________________________________________________________________________ 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
participants (3)
-
Avi Marcus
-
Karl Schmidt
-
Miha