VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
ineya at post.sk Guest
|
Posted: Thu Oct 09, 2008 10:40 am Post subject: [Freeswitch-users] dialplan_hunt taking too long |
|
|
Hi,
I\'m currently trying freeswitch 1.0.1, and I found, that making a call seems to take quite a long time. My configuration is the default one, which comes with 1.0.1, I just changed IP to ipv6, but I also made tests in ipv4 and results are same.
These are the traces, as you can see, dialplan_hunt takes 6 seconds until it answers (sometimes more). Is this normal? My machine is idle, there are no extensive tasks running. In wireshark I can see this gap between messages \\\"Trying\\\" and \\\"Notify\\\".
Any ideas or hints?
Thank you
2008-10-09 15:04:02 [NOTICE] switch_channel.c:534 switch_channel_set_name() New Channel sofia/internal/1002@franta.ipv6.dummy.net [bed072d6-9602-11dd-b63a-174c0ad3ca0a]
2008-10-09 15:04:02 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing 1002->5000@default
2008-10-09 15:04:08 [NOTICE] mod_dptools.c:601 answer_function() Channel [sofia/internal/1002@franta.ipv6.dummy.net] has been answered
2008-10-09 15:04:12 [NOTICE] sofia.c:2545 sofia_handle_sip_i_state() Hangup sofia/internal/1002@franta.ipv6.dummy.net [CS_EXECUTE] [NORMAL_CLEARING]
2008-10-09 15:04:12 [NOTICE] switch_core_session.c:807 switch_core_session_thread() Session 14 (sofia/internal1002@franta.ipv6.dummy.net) Ended
2008-10-09 15:04:12 [NOTICE] switch_core_session.c:809 switch_core_session_thread() Close Channel sofia/internal/1002@franta.ipv6.dummy.net [CS_HANGUP]
__________
http://zabava.sme.sk/ - Stránka čo usmeje ti tvár
_______________________________________________
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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Thu Oct 09, 2008 9:18 pm Post subject: [Freeswitch-users] dialplan_hunt taking too long |
|
|
what extension is it hitting?
The entire log with debug on would be more useful (press f8 on the console and try the call again)
2008/10/9 Ineya Ineya <ineya@post.sk (ineya@post.sk)>
Quote: | Hi,
I\'m currently trying freeswitch 1.0.1, and I found, that making a call seems to take quite a long time. My configuration is the default one, which comes with 1.0.1, I just changed IP to ipv6, but I also made tests in ipv4 and results are same.
These are the traces, as you can see, dialplan_hunt takes 6 seconds until it answers (sometimes more). Is this normal? My machine is idle, there are no extensive tasks running. In wireshark I can see this gap between messages \\\"Trying\\\" and \\\"Notify\\\".
Any ideas or hints?
Thank you
2008-10-09 15:04:02 [NOTICE] switch_channel.c:534 switch_channel_set_name() New Channel sofia/internal/1002@franta.ipv6.dummy.net (1002@franta.ipv6.dummy.net) [bed072d6-9602-11dd-b63a-174c0ad3ca0a]
2008-10-09 15:04:02 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing 1002->5000@default
2008-10-09 15:04:08 [NOTICE] mod_dptools.c:601 answer_function() Channel [sofia/internal/1002@franta.ipv6.dummy.net (1002@franta.ipv6.dummy.net)] has been answered
2008-10-09 15:04:12 [NOTICE] sofia.c:2545 sofia_handle_sip_i_state() Hangup sofia/internal/1002@franta.ipv6.dummy.net (1002@franta.ipv6.dummy.net) [CS_EXECUTE] [NORMAL_CLEARING]
2008-10-09 15:04:12 [NOTICE] switch_core_session.c:807 switch_core_session_thread() Session 14 (sofia/internal1002@franta.ipv6.dummy.net (internal1002@franta.ipv6.dummy.net)) Ended
2008-10-09 15:04:12 [NOTICE] switch_core_session.c:809 switch_core_session_thread() Close Channel sofia/internal/1002@franta.ipv6.dummy.net (1002@franta.ipv6.dummy.net) [CS_HANGUP]
__________
http://zabava.sme.sk/ - Stránka čo usmeje ti tvár
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
ineya at post.sk Guest
|
Posted: Fri Oct 10, 2008 3:01 am Post subject: [Freeswitch-users] dialplan_hunt taking too long |
|
|
Thanks for the tip with f8. I did a call from soft phone (x-lite) 1003 to extension 5000.
This is the log:
http://pastebin.freeswitch.org/5791
So it seems, that dialplan_hunt is ok. As you can see, there is a gap ~8 seconds between line 127 and 128.
The PC is pentium 3, 1.8 GHz, which is pretty idle. It is running Debian etch x86 on kernel 2.6.18-6-686. I also made the same test on windows xp, and on other notebook running Debian Etch 64bit, and the gap was smaller (< 1-2 seconds).
I also did run freeswitch using gdb, and after I dialled extension 5000, I waited for a few seconds, and then I hit ctrl+c and made backtraces from all threads:
http://pastebin.freeswitch.org/5792
sample Wireshark trace on client side when dialling out extension 5000 (client is 163.242.69.92, server is 172.16.3.40):
http://pastebin.freeswitch.org/5793
My guess would be the \'while\' inside switch_rtp_set_local_address(), but I prefer to hear the expert opinion .
Thank you.
----- Original message-----
Od: \"Anthony Minessale\"
Komu:
Poslaná: 10.10.2008 04:05
Predmet: Re: [Freeswitch-users] dialplan_hunt taking too long
Quote: |
what extension is it hitting?
The entire log with debug on would be more useful (press f8 on the console
and try the call again)
|
__________
Sprievodca herným svetom - http://hry.sme.sk/
_______________________________________________
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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Fri Oct 10, 2008 8:20 am Post subject: [Freeswitch-users] dialplan_hunt taking too long |
|
|
From the looks of your SDP on line 129 your system appears to be misconfigured with IPv6
Try disabling IPv6 on your interface or setting sofia up according to the IPv6 instructions on the wiki.
2008/10/10 Ineya Ineya <ineya@post.sk (ineya@post.sk)>
Quote: | Thanks for the tip with f8. I did a call from soft phone (x-lite) 1003 to extension 5000.
This is the log:
http://pastebin.freeswitch.org/5791
So it seems, that dialplan_hunt is ok. As you can see, there is a gap ~8 seconds between line 127 and 128.
The PC is pentium 3, 1.8 GHz, which is pretty idle. It is running Debian etch x86 on kernel 2.6.18-6-686. I also made the same test on windows xp, and on other notebook running Debian Etch 64bit, and the gap was smaller (< 1-2 seconds).
I also did run freeswitch using gdb, and after I dialled extension 5000, I waited for a few seconds, and then I hit ctrl+c and made backtraces from all threads:
http://pastebin.freeswitch.org/5792
sample Wireshark trace on client side when dialling out extension 5000 (client is 163.242.69.92, server is 172.16.3.40):
http://pastebin.freeswitch.org/5793
My guess would be the \'while\' inside switch_rtp_set_local_address(), but I prefer to hear the expert opinion .
Thank you.
----- Original message-----
Od: \"Anthony Minessale\"
Komu:
Poslaná: 10.10.2008 04:05
Predmet: Re: [Freeswitch-users] dialplan_hunt taking too long
Quote: |
what extension is it hitting?
The entire log with debug on would be more useful (press f8 on the console
and try the call again)
|
__________
Sprievodca herným svetom - http://hry.sme.sk/
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
ineya at post.sk Guest
|
Posted: Fri Oct 10, 2008 8:47 am Post subject: [Freeswitch-users] dialplan_hunt taking too long |
|
|
You\'re right, I disabled ipv6 and replaced \"auto\" with ipv4 addresses (just to be sure) and the lag is smaller now, it\'s 1-2 secs max, which is \'normal\' I guess.
Thank you for help.
----- Originálna Správa -----
Od: \"Anthony Minessale\"
Komu:
Poslaná: 10.10.2008 15:04
Predmet: Re: [Freeswitch-users] dialplan_hunt taking too long
Quote: |
Quote: | From the looks of your SDP on line 129 your system appears to be
| misconfigured with IPv6
Try disabling IPv6 on your interface or setting sofia up according to the
IPv6 instructions on the wiki.
|
__________
http://cestovanie.sme.sk/ - Celý svet na vašom monitore
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|