int/ext dial tones not synchronous
Hello all, I made the first experiences with the dialplan, and after some while, I really got calls from the outside routed to one of my sip phones. However, my phone is ringing something like 1-3 seconds earlier than the dial tone the caller is hearing. I googled around, but found no solution. As a start, I just used this extension: <extension name="Local_Extension"> <condition field="destination_number" expression="^(4930XXXXXXXX)$"> <action application="bridge" data="user/12@192.168.1.93"/> </condition> </extension> Thanks, Georg
I'm not sure that I understand what the issue is here. What two "tones" are not in sync? You said "dial tone" but I'm pretty sure that's not what you mean. Are you talking about the ringback tone that the caller hears? -MC On Thu, Dec 22, 2011 at 6:10 PM, <georg@riseup.net> wrote:
Hello all,
I made the first experiences with the dialplan, and after some while, I really got calls from the outside routed to one of my sip phones.
However, my phone is ringing something like 1-3 seconds earlier than the dial tone the caller is hearing.
I googled around, but found no solution.
As a start, I just used this extension: <extension name="Local_Extension"> <condition field="destination_number" expression="^(4930XXXXXXXX)$"> <action application="bridge" data="user/12@192.168.1.93"/> </condition> </extension>
Thanks, Georg
_________________________________________________________________________ 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'm not sure that I understand what the issue is here. What two "tones" are not in sync? You said "dial tone" but I'm pretty sure that's not what you mean. Are you talking about the ringback tone that the caller hears?
Exactly Michael, I was talking about the ringback tone. I didn't know the correct expression and used a translation engine... Georg
I don't believe you can reliable put these tones in synch. I've never heard of any telephony system that does so, although I admit my experience is limited to legacy PBXes and FreeSWITCH. -MC On Fri, Dec 23, 2011 at 8:47 PM, <georg@riseup.net> wrote:
Hi,
I'm not sure that I understand what the issue is here. What two "tones" are not in sync? You said "dial tone" but I'm pretty sure that's not what you mean. Are you talking about the ringback tone that the caller hears?
Exactly Michael, I was talking about the ringback tone. I didn't know the correct expression and used a translation engine...
Georg
_________________________________________________________________________ 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
I don't believe you can reliable put these tones in synch. I've never heard of any telephony system that does so, although I admit my experience is limited to legacy PBXes and FreeSWITCH.
Allright. But now it's like this: When someone is calling, the internal phone is ringing, and after ~ two seconds, the calling party is getting the ringback tone, which is quite long, isn't it? And it might be confusing aswell... Thanks, Georg
But now it's like this: When someone is calling, the internal phone is ringing, and after ~ two seconds, the calling party is getting the ringback tone, which is quite long, isn't it? And it might be confusing aswell...
It's working quite well now with ring_ready. Are there any disadvantages using this? Thanks, Georg
if you are explicitly doing ring_ready, its telling it to ringback before we actually know the phone is ringing. The approach we take passes the ringing message all the way back to the original device. Take a look at the debug to see what is actually taking that long. Mike On Jan 24, 2012, at 6:18 PM, georg@riseup.net wrote:
But now it's like this: When someone is calling, the internal phone is ringing, and after ~ two seconds, the calling party is getting the ringback tone, which is quite long, isn't it? And it might be confusing aswell...
It's working quite well now with ring_ready. Are there any disadvantages using this?
Thanks, Georg
_________________________________________________________________________ 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 Mike,
if you are explicitly doing ring_ready, its telling it to ringback before we actually know the phone is ringing. The approach we take passes the ringing message all the way back to the original device. Take a look at the debug to see what is actually taking that long.
Allright. I thought of something similar, so I step back of using ring_ready. I tried several calls, and it seems just random: Like 50%/50%, the ringback tone the caller hears is nearly in sync with the internal one, in the other 50%, there's a delay of ~ three seconds. However, the debug output is looking the same, I posted one to [1]. My provider isn't supporting early media. Could this be a problem? Thanks, Georg [1] http://dpaste.de/no6bO/
seems you have truncated anything useful in this paste. On Jan 25, 2012, at 8:07 PM, georg@riseup.net wrote:
Hi Mike,
if you are explicitly doing ring_ready, its telling it to ringback before we actually know the phone is ringing. The approach we take passes the ringing message all the way back to the original device. Take a look at the debug to see what is actually taking that long.
Allright. I thought of something similar, so I step back of using ring_ready.
I tried several calls, and it seems just random: Like 50%/50%, the ringback tone the caller hears is nearly in sync with the internal one, in the other 50%, there's a delay of ~ three seconds.
However, the debug output is looking the same, I posted one to [1].
My provider isn't supporting early media. Could this be a problem?
Thanks, Georg
Hi, I had an idea. I read freeswitch can pause if doing a stun lookup each call. Maybe this is happening and that is why you get your variable sometimes ring straight away, sometimes not ? Or maybe it is completely unrelated, just thinking :). Also if you answer straight away does it cut off the first part of the call for the caller or does it actually connect even though the ringing hasn't come through yet? Ryan On 27/01/2012 12:52 AM, georg@riseup.net wrote:
seems you have truncated anything useful in this paste. You mean the "XXX"? Or is the paste "to short" or the loglevel not "deep" enough?
Thanks, Georg
_________________________________________________________________________ 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 had an idea. I read freeswitch can pause if doing a stun lookup each call. Maybe this is happening and that is why you get your variable sometimes ring straight away, sometimes not ? Or maybe it is completely unrelated, just thinking :).
I'm not using STUN as far as I know...
Also if you answer straight away does it cut off the first part of the call for the caller or does it actually connect even though the ringing hasn't come through yet?
Have to check this. Thanks, Georg
participants (4)
-
georg@riseup.net
-
Michael Collins
-
Michael Jerris
-
Ryan How