Re: [Freeswitch-dev] FreeSWITCH Core Dump
On Wed 28 Mar 2007 11:37, Peter Nixon wrote:
Hi Guys
I managed to track down the core dump I was seeing. It occurs whenever I use dingaling with mod_cdr loaded. If mod_cdr is not loaded it doesn't crash.
Here is the bt with symbols: # gdb /opt/freeswitch/bin/freeswitch core.9370 GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `/opt/freeswitch/bin/freeswitch'. Program terminated with signal 11, Segmentation fault. warning: Can't read pathname for load map: Input/output error. Reading symbols from /opt/freeswitch/lib/libfreeswitch.so.1...Reading symbols from /usr/lib/debug/opt/freeswitch/lib/libfreeswitch.so.1.0.0.debug...done. done. Loaded symbols for /opt/freeswitch/lib/libfreeswitch.so.1 Reading symbols from /usr/lib/libsqlite3.so.0...done. Loaded symbols for /usr/lib/libsqlite3.so.0 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /opt/freeswitch/mod/mod_console.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_console.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_console.so Reading symbols from /opt/freeswitch/mod/mod_syslog.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_syslog.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_syslog.so Reading symbols from /opt/freeswitch/mod/mod_enum.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_enum.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_enum.so Reading symbols from /opt/freeswitch/mod/mod_xml_rpc.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_xml_rpc.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_xml_rpc.so Reading symbols from /opt/freeswitch/mod/mod_cdr.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_cdr.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_cdr.so Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /opt/freeswitch/mod/mod_dingaling.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_dingaling.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dingaling.so Reading symbols from /usr/lib/libgnutls.so.12...done. Loaded symbols for /usr/lib/libgnutls.so.12 Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib/libgcrypt.so.11...done. Loaded symbols for /usr/lib/libgcrypt.so.11 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /usr/lib/libgpg-error.so.0...done. Loaded symbols for /usr/lib/libgpg-error.so.0 Reading symbols from /opt/freeswitch/mod/mod_sofia.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_sofia.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_sofia.so Reading symbols from /usr/lib/libssl.so.0.9.8...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /opt/freeswitch/mod/mod_bridgecall.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_bridgecall.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_bridgecall.so Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_dns.so.2...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /opt/freeswitch/mod/mod_commands.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_commands.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_commands.so Reading symbols from /opt/freeswitch/mod/mod_conference.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_conference.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_conference.so Reading symbols from /opt/freeswitch/mod/mod_dptools.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_dptools.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dptools.so Reading symbols from /opt/freeswitch/mod/mod_echo.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_echo.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_echo.so Reading symbols from /opt/freeswitch/mod/mod_playback.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_playback.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_playback.so Reading symbols from /opt/freeswitch/mod/mod_dialplan_xml.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_dialplan_xml.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dialplan_xml.so Reading symbols from /opt/freeswitch/mod/mod_g711.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_g711.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_g711.so Reading symbols from /opt/freeswitch/mod/mod_gsm.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_gsm.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_gsm.so Reading symbols from /opt/freeswitch/mod/mod_ilbc.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_ilbc.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_ilbc.so Reading symbols from /opt/freeswitch/mod/mod_l16.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_l16.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_l16.so Reading symbols from /opt/freeswitch/mod/mod_speex.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_speex.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_speex.so Reading symbols from /opt/freeswitch/mod/mod_sndfile.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_sndfile.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_sndfile.so Reading symbols from /opt/freeswitch/mod/mod_native_file.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_native_file.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_native_file.so Reading symbols from /opt/freeswitch/mod/mod_softtimer.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_softtimer.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_softtimer.so Reading symbols from /opt/freeswitch/mod/mod_say_en.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_say_en.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_say_en.so #0 0xb7ed1d99 in switch_channel_get_caller_extension (channel=0x80ef130) at src/switch_channel.c:955 955 src/switch_channel.c: No such file or directory. in src/switch_channel.c (gdb) bt full #0 0xb7ed1d99 in switch_channel_get_caller_extension (channel=0x80ef130) at src/switch_channel.c:955 extension = (switch_caller_extension_t *) 0x80eaf70 __PRETTY_FUNCTION__ = "switch_channel_get_caller_extension" #1 0xb52b36a4 in CDRContainer::add_cdr (this=0x807bf18, session=0x80eaf70) at cdrcontainer.cpp:217 newchannel = (switch_mod_cdr_newchannel_t *) 0x80a6da0 __func__ = "add_cdr" __PRETTY_FUNCTION__ = "void CDRContainer::add_cdr(switch_core_session_t*)" #2 0xb52b3505 in my_on_hangup (session=0x80eaf70) at mod_cdr.cpp:119 No locals. #3 0xb7edba4e in switch_core_session_run (session=0x80eaf70) at src/switch_core.c:3375 index = 1 proceed = 1 exception = 0 '\0' state = CS_HANGUP laststate = CS_INIT midstate = CS_HANGUP endstate = CS_HANGUP endpoint_interface = (const switch_endpoint_interface_t *) 0xb3dc9108 driver_state_handler = (const switch_state_handler_table_t *) 0xb3dc90c0 application_state_handler = (const switch_state_handler_table_t *) 0xb52cb1a0 __PRETTY_FUNCTION__ = "switch_core_session_run" __func__ = "switch_core_session_run" #4 0xb7edcb01 in switch_core_session_thread (thread=0x80ef6c8, obj=0x80eaf70) at src/switch_core.c:3797 session = (switch_core_session_t *) 0x80eaf70 __func__ = "switch_core_session_thread" #5 0xb7f130b8 in dummy_worker (opaque=0x80ef6c8) at threadproc/unix/thread.c:138 thread = (apr_thread_t *) 0x80ef6c8 #6 0xb7dde34b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #7 0xb7d7665e in clone () from /lib/libc.so.6 No symbol table info available. -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
I added some protection in the core that will keep this from happening, but there is something definitely not right here. I assume this is only on a call that has no match in the dialplan, correct? Can you post a FreeSWITCH(tm) debug trace of this call as well? Mike
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev- bounces@lists.freeswitch.org] On Behalf Of Peter Nixon Sent: Wednesday, March 28, 2007 4:55 AM To: FreeSWITCH Dev Subject: Re: [Freeswitch-dev] FreeSWITCH Core Dump
On Wed 28 Mar 2007 11:37, Peter Nixon wrote:
Hi Guys
I managed to track down the core dump I was seeing. It occurs whenever I use dingaling with mod_cdr loaded. If mod_cdr is not loaded it doesn't crash.
Here is the bt with symbols:
# gdb /opt/freeswitch/bin/freeswitch core.9370 GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/opt/freeswitch/bin/freeswitch'. Program terminated with signal 11, Segmentation fault.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /opt/freeswitch/lib/libfreeswitch.so.1...Reading symbols from /usr/lib/debug/opt/freeswitch/lib/libfreeswitch.so.1.0.0.debug...done. done. Loaded symbols for /opt/freeswitch/lib/libfreeswitch.so.1 Reading symbols from /usr/lib/libsqlite3.so.0...done. Loaded symbols for /usr/lib/libsqlite3.so.0 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /opt/freeswitch/mod/mod_console.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_console.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_console.so Reading symbols from /opt/freeswitch/mod/mod_syslog.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_syslog.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_syslog.so Reading symbols from /opt/freeswitch/mod/mod_enum.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_enum.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_enum.so Reading symbols from /opt/freeswitch/mod/mod_xml_rpc.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_xml_rpc.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_xml_rpc.so Reading symbols from /opt/freeswitch/mod/mod_cdr.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_cdr.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_cdr.so Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /opt/freeswitch/mod/mod_dingaling.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_dingaling.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dingaling.so Reading symbols from /usr/lib/libgnutls.so.12...done. Loaded symbols for /usr/lib/libgnutls.so.12 Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib/libgcrypt.so.11...done. Loaded symbols for /usr/lib/libgcrypt.so.11 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /usr/lib/libgpg-error.so.0...done. Loaded symbols for /usr/lib/libgpg-error.so.0 Reading symbols from /opt/freeswitch/mod/mod_sofia.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_sofia.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_sofia.so Reading symbols from /usr/lib/libssl.so.0.9.8...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /opt/freeswitch/mod/mod_bridgecall.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_bridgecall.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_bridgecall.so Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_dns.so.2...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /opt/freeswitch/mod/mod_commands.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_commands.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_commands.so Reading symbols from /opt/freeswitch/mod/mod_conference.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_conference.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_conference.so Reading symbols from /opt/freeswitch/mod/mod_dptools.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_dptools.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dptools.so Reading symbols from /opt/freeswitch/mod/mod_echo.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_echo.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_echo.so Reading symbols from /opt/freeswitch/mod/mod_playback.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_playback.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_playback.so Reading symbols from /opt/freeswitch/mod/mod_dialplan_xml.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_dialplan_xml.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dialplan_xml.so Reading symbols from /opt/freeswitch/mod/mod_g711.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_g711.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_g711.so Reading symbols from /opt/freeswitch/mod/mod_gsm.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_gsm.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_gsm.so Reading symbols from /opt/freeswitch/mod/mod_ilbc.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_ilbc.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_ilbc.so Reading symbols from /opt/freeswitch/mod/mod_l16.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_l16.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_l16.so Reading symbols from /opt/freeswitch/mod/mod_speex.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_speex.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_speex.so Reading symbols from /opt/freeswitch/mod/mod_sndfile.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_sndfile.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_sndfile.so Reading symbols from /opt/freeswitch/mod/mod_native_file.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_native_file.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_native_file.so Reading symbols from /opt/freeswitch/mod/mod_softtimer.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_softtimer.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_softtimer.so Reading symbols from /opt/freeswitch/mod/mod_say_en.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_say_en.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_say_en.so #0 0xb7ed1d99 in switch_channel_get_caller_extension (channel=0x80ef130) at src/switch_channel.c:955 955 src/switch_channel.c: No such file or directory. in src/switch_channel.c (gdb) bt full #0 0xb7ed1d99 in switch_channel_get_caller_extension (channel=0x80ef130) at src/switch_channel.c:955 extension = (switch_caller_extension_t *) 0x80eaf70 __PRETTY_FUNCTION__ = "switch_channel_get_caller_extension" #1 0xb52b36a4 in CDRContainer::add_cdr (this=0x807bf18, session=0x80eaf70) at cdrcontainer.cpp:217 newchannel = (switch_mod_cdr_newchannel_t *) 0x80a6da0 __func__ = "add_cdr" __PRETTY_FUNCTION__ = "void CDRContainer::add_cdr(switch_core_session_t*)" #2 0xb52b3505 in my_on_hangup (session=0x80eaf70) at mod_cdr.cpp:119 No locals. #3 0xb7edba4e in switch_core_session_run (session=0x80eaf70) at src/switch_core.c:3375 index = 1 proceed = 1 exception = 0 '\0' state = CS_HANGUP laststate = CS_INIT midstate = CS_HANGUP endstate = CS_HANGUP endpoint_interface = (const switch_endpoint_interface_t *) 0xb3dc9108 driver_state_handler = (const switch_state_handler_table_t *) 0xb3dc90c0 application_state_handler = (const switch_state_handler_table_t *) 0xb52cb1a0 __PRETTY_FUNCTION__ = "switch_core_session_run" __func__ = "switch_core_session_run" #4 0xb7edcb01 in switch_core_session_thread (thread=0x80ef6c8, obj=0x80eaf70) at src/switch_core.c:3797 session = (switch_core_session_t *) 0x80eaf70 __func__ = "switch_core_session_thread" #5 0xb7f130b8 in dummy_worker (opaque=0x80ef6c8) at threadproc/unix/thread.c:138 thread = (apr_thread_t *) 0x80ef6c8 #6 0xb7dde34b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #7 0xb7d7665e in clone () from /lib/libc.so.6 No symbol table info available.
--
Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Hi Mike Your patch prevents the core dump. You are current in that the call still doesnt go through to where I think it is supposed to. My dingaling config is: <profile type="client"> <param name="name" value="$${domain}"/> <param name="login" value="suntel@suntel.com.tr/talk"/> <param name="password" value="XXXXXXX"/> <param name="dialplan" value="XML"/> <param name="rtp-ip" value="auto"/> <param name="auto-login" value="true"/> <param name="auto-reply" value="Press *Call* to call Suntel"/> <!-- SASL "plain" or "md5" --> <param name="sasl" value="plain"/> <!-- if the server where the jabber is hosted is not the same as the one in the jid --> <param name="server" value="xmpp.suntel.com.tr"/> <!-- Enable TLS or not --> <param name="tls" value="true"/> <!-- disable to trade async for more calls --> <param name="use-rtp-timer" value="true"/> <!-- or --> <!-- <param name="rtp-ip" value="auto"/> --> <!-- <param name="ext-rtp-ip" value="stun:stun.server.com"/> --> <!-- default extension (if one cannot be determined) --> <param name="exten" value="1234"/> <!-- VAD choose one --> <!-- <param name="vad" value="in"/> --> <!-- <param name="vad" value="out"/> --> <param name="vad" value="both"/> </profile> And in default_context.xml: <extension name="testmusic"> <condition field="destination_number" expression="^1234$"> <!-- Request a certain tone/file to be played while you wait for the call to be answered--> <action application="set" data="ringback=${us-ring}"/> <!--<action application="set" data="ringback=/home/ring.wav"/>--> <action application="bridge" data="sofia/$${domain}/1234@conference.freeswitch.org"/> </condition> </extension> As far as I understand this should route a call for xmpp:suntel@suntel.com.tr -> 1234 -> 1234@conference.freeswitch.org Am I misunderstanding something? A call to suntel@suntel.com.tr give the following debug presently: 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2474 handle_signalling() Creating an identity for 3327183289 user@gmail.com/jabbin <user@gmail.com/jabbin> 1234 2007-03-28 21:07:48 [NOTICE] switch_channel.c:347 switch_channel_set_name() New Chan DingaLing/1234 [61b92364-dd70-11db-a805-b12f80a7836d] 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2505 handle_signalling() Creating a session for 3327183289 2007-03-28 21:07:48 [NOTICE] switch_channel.c:347 switch_channel_set_name() New Chan DingaLing/new [61b92364-dd70-11db-a805-b12f80a7836d] 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2509 handle_signalling() DingaLing/new State Change CS_NEW -> CS_INIT 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2594 handle_signalling() 2 payloads 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2596 handle_signalling() Available Payload speex 110 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2603 handle_signalling() compare speex 110/8000 to speex 98/8000 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2614 handle_signalling() Choosing Payload index 0 speex 110 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:929 do_describe() Send Describe [speex@8000] 2007-03-28 21:07:48 [DEBUG] switch_core.c:3436 switch_core_session_run() (DingaLing/new) State INIT 2007-03-28 21:07:48 [NOTICE] mod_dingaling.c:959 negotiate_media() Ring-Ready DingaLing/new! 2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:861 do_candidates() Send Candidate 66.135.41.84:16386 [NP1OlALFRG8QNIFS] 2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:706 activate_rtp() No valid candidates received! 2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:594 terminate_session() Terminate called from line 1024 state=CS_INIT 2007-03-28 21:07:58 [NOTICE] mod_dingaling.c:609 terminate_session() Hangup DingaLing/new [CS_INIT] [DESTINATION_OUT_OF_ORDER] 2007-03-28 21:07:58 [INFO] switch_channel.c:993 switch_channel_perform_hangup() Kill DingaLing/new [KILL] 2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:1182 channel_kill_channel() DingaLing/new CHANNEL KILL 2007-03-28 21:07:58 [DEBUG] switch_core.c:3399 switch_core_session_run() (DingaLing/new) State HANGUP 2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:1137 channel_on_hangup() DingaLing/new CHANNEL HANGUP 2007-03-28 21:07:58 [DEBUG] switch_core.c:3078 switch_core_standard_on_hangup() Standard HANGUP DingaLing/new, cause: DESTINATION_OUT_OF_ORDER 2007-03-28 21:07:58 [DEBUG] switch_core.c:3842 switch_core_session_thread() Session 2 (DingaLing/new) Locked, Waiting on external entities 2007-03-28 21:07:58 [INFO] switch_core.c:3847 switch_core_session_thread() Session 2 (DingaLing/new) Ended 2007-03-28 21:07:58 [NOTICE] switch_core.c:3723 switch_core_session_destroy() Close Channel DingaLing/new Cheers Peter On Wed 28 Mar 2007 15:40, Michael Jerris wrote:
I added some protection in the core that will keep this from happening, but there is something definitely not right here. I assume this is only on a call that has no match in the dialplan, correct? Can you post a FreeSWITCH(tm) debug trace of this call as well?
Mike
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org
[mailto:freeswitch-dev-
bounces@lists.freeswitch.org] On Behalf Of Peter Nixon Sent: Wednesday, March 28, 2007 4:55 AM To: FreeSWITCH Dev Subject: Re: [Freeswitch-dev] FreeSWITCH Core Dump
On Wed 28 Mar 2007 11:37, Peter Nixon wrote:
Hi Guys
I managed to track down the core dump I was seeing. It occurs
whenever I
use dingaling with mod_cdr loaded. If mod_cdr is not loaded it
doesn't
crash.
Here is the bt with symbols:
# gdb /opt/freeswitch/bin/freeswitch core.9370 GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and
you
are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/opt/freeswitch/bin/freeswitch'. Program terminated with signal 11, Segmentation fault.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /opt/freeswitch/lib/libfreeswitch.so.1...Reading symbols from /usr/lib/debug/opt/freeswitch/lib/libfreeswitch.so.1.0.0.debug...done. done. Loaded symbols for /opt/freeswitch/lib/libfreeswitch.so.1 Reading symbols from /usr/lib/libsqlite3.so.0...done. Loaded symbols for /usr/lib/libsqlite3.so.0 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /opt/freeswitch/mod/mod_console.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_console.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_console.so Reading symbols from /opt/freeswitch/mod/mod_syslog.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_syslog.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_syslog.so Reading symbols from /opt/freeswitch/mod/mod_enum.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_enum.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_enum.so Reading symbols from /opt/freeswitch/mod/mod_xml_rpc.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_xml_rpc.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_xml_rpc.so Reading symbols from /opt/freeswitch/mod/mod_cdr.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_cdr.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_cdr.so Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /opt/freeswitch/mod/mod_dingaling.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_dingaling.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dingaling.so Reading symbols from /usr/lib/libgnutls.so.12...done. Loaded symbols for /usr/lib/libgnutls.so.12 Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib/libgcrypt.so.11...done. Loaded symbols for /usr/lib/libgcrypt.so.11 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /usr/lib/libgpg-error.so.0...done. Loaded symbols for /usr/lib/libgpg-error.so.0 Reading symbols from /opt/freeswitch/mod/mod_sofia.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_sofia.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_sofia.so Reading symbols from /usr/lib/libssl.so.0.9.8...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /opt/freeswitch/mod/mod_bridgecall.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_bridgecall.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_bridgecall.so Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_dns.so.2...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /opt/freeswitch/mod/mod_commands.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_commands.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_commands.so Reading symbols from /opt/freeswitch/mod/mod_conference.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_conference.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_conference.so Reading symbols from /opt/freeswitch/mod/mod_dptools.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_dptools.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dptools.so Reading symbols from /opt/freeswitch/mod/mod_echo.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_echo.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_echo.so Reading symbols from /opt/freeswitch/mod/mod_playback.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_playback.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_playback.so Reading symbols from /opt/freeswitch/mod/mod_dialplan_xml.so...Reading symbols from
/usr/lib/debug/opt/freeswitch/mod/mod_dialplan_xml.so.debug...done.
done. Loaded symbols for /opt/freeswitch/mod/mod_dialplan_xml.so Reading symbols from /opt/freeswitch/mod/mod_g711.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_g711.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_g711.so Reading symbols from /opt/freeswitch/mod/mod_gsm.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_gsm.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_gsm.so Reading symbols from /opt/freeswitch/mod/mod_ilbc.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_ilbc.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_ilbc.so Reading symbols from /opt/freeswitch/mod/mod_l16.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_l16.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_l16.so Reading symbols from /opt/freeswitch/mod/mod_speex.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_speex.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_speex.so Reading symbols from /opt/freeswitch/mod/mod_sndfile.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_sndfile.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_sndfile.so Reading symbols from /opt/freeswitch/mod/mod_native_file.so...Reading symbols from
/usr/lib/debug/opt/freeswitch/mod/mod_native_file.so.debug...done.
done. Loaded symbols for /opt/freeswitch/mod/mod_native_file.so Reading symbols from /opt/freeswitch/mod/mod_softtimer.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_softtimer.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_softtimer.so Reading symbols from /opt/freeswitch/mod/mod_say_en.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_say_en.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_say_en.so #0 0xb7ed1d99 in switch_channel_get_caller_extension
(channel=0x80ef130)
at src/switch_channel.c:955 955 src/switch_channel.c: No such file or directory. in src/switch_channel.c (gdb) bt full #0 0xb7ed1d99 in switch_channel_get_caller_extension
(channel=0x80ef130)
at src/switch_channel.c:955 extension = (switch_caller_extension_t *) 0x80eaf70 __PRETTY_FUNCTION__ = "switch_channel_get_caller_extension" #1 0xb52b36a4 in CDRContainer::add_cdr (this=0x807bf18, session=0x80eaf70) at cdrcontainer.cpp:217 newchannel = (switch_mod_cdr_newchannel_t *) 0x80a6da0 __func__ = "add_cdr" __PRETTY_FUNCTION__ = "void CDRContainer::add_cdr(switch_core_session_t*)" #2 0xb52b3505 in my_on_hangup (session=0x80eaf70) at mod_cdr.cpp:119 No locals. #3 0xb7edba4e in switch_core_session_run (session=0x80eaf70) at src/switch_core.c:3375 index = 1 proceed = 1 exception = 0 '\0' state = CS_HANGUP laststate = CS_INIT midstate = CS_HANGUP endstate = CS_HANGUP endpoint_interface = (const switch_endpoint_interface_t *) 0xb3dc9108 driver_state_handler = (const switch_state_handler_table_t *) 0xb3dc90c0 application_state_handler = (const
switch_state_handler_table_t *)
0xb52cb1a0 __PRETTY_FUNCTION__ = "switch_core_session_run" __func__ = "switch_core_session_run" #4 0xb7edcb01 in switch_core_session_thread (thread=0x80ef6c8, obj=0x80eaf70) at src/switch_core.c:3797 session = (switch_core_session_t *) 0x80eaf70 __func__ = "switch_core_session_thread" #5 0xb7f130b8 in dummy_worker (opaque=0x80ef6c8) at threadproc/unix/thread.c:138 thread = (apr_thread_t *) 0x80ef6c8 #6 0xb7dde34b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #7 0xb7d7665e in clone () from /lib/libc.so.6 No symbol table info available.
--
Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
The line: 2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:706 activate_rtp() No valid candidates received! is the key one here. Can you turn on the debug in your dingaling.conf so we can see the actual jabber messages received and which candidates you are actually getting from the client? Mike
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev- bounces@lists.freeswitch.org] On Behalf Of Peter Nixon Sent: Wednesday, March 28, 2007 5:10 PM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] FreeSWITCH Core Dump
Hi Mike
Your patch prevents the core dump. You are current in that the call still doesnt go through to where I think it is supposed to. My dingaling config is:
<profile type="client"> <param name="name" value="$${domain}"/> <param name="login" value="suntel@suntel.com.tr/talk"/> <param name="password" value="XXXXXXX"/> <param name="dialplan" value="XML"/> <param name="rtp-ip" value="auto"/> <param name="auto-login" value="true"/> <param name="auto-reply" value="Press *Call* to call Suntel"/> <!-- SASL "plain" or "md5" --> <param name="sasl" value="plain"/> <!-- if the server where the jabber is hosted is not the same as the one in the jid --> <param name="server" value="xmpp.suntel.com.tr"/> <!-- Enable TLS or not --> <param name="tls" value="true"/> <!-- disable to trade async for more calls --> <param name="use-rtp-timer" value="true"/> <!-- or --> <!-- <param name="rtp-ip" value="auto"/> --> <!-- <param name="ext-rtp-ip" value="stun:stun.server.com"/> --> <!-- default extension (if one cannot be determined) --> <param name="exten" value="1234"/> <!-- VAD choose one --> <!-- <param name="vad" value="in"/> --> <!-- <param name="vad" value="out"/> --> <param name="vad" value="both"/> </profile>
And in default_context.xml:
<extension name="testmusic"> <condition field="destination_number" expression="^1234$"> <!-- Request a certain tone/file to be played while you wait for the call to be answered--> <action application="set" data="ringback=${us-ring}"/> <!--<action application="set" data="ringback=/home/ring.wav"/>--> <action application="bridge" data="sofia/$${domain}/1234@conference.freeswitch.org"/> </condition> </extension>
As far as I understand this should route a call for xmpp:suntel@suntel.com.tr -> 1234 -> 1234@conference.freeswitch.org
Am I misunderstanding something? A call to suntel@suntel.com.tr give the following debug presently:
2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2474 handle_signalling() Creating an identity for 3327183289 user@gmail.com/jabbin <user@gmail.com/jabbin> 1234 2007-03-28 21:07:48 [NOTICE] switch_channel.c:347 switch_channel_set_name() New Chan DingaLing/1234 [61b92364-dd70-11db-a805-b12f80a7836d] 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2505 handle_signalling() Creating a session for 3327183289 2007-03-28 21:07:48 [NOTICE] switch_channel.c:347 switch_channel_set_name() New Chan DingaLing/new [61b92364-dd70-11db-a805-b12f80a7836d] 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2509 handle_signalling() DingaLing/new State Change CS_NEW -> CS_INIT 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2594 handle_signalling() 2 payloads 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2596 handle_signalling() Available Payload speex 110 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2603 handle_signalling() compare speex 110/8000 to speex 98/8000 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:2614 handle_signalling() Choosing Payload index 0 speex 110 2007-03-28 21:07:48 [DEBUG] mod_dingaling.c:929 do_describe() Send Describe [speex@8000] 2007-03-28 21:07:48 [DEBUG] switch_core.c:3436 switch_core_session_run() (DingaLing/new) State INIT 2007-03-28 21:07:48 [NOTICE] mod_dingaling.c:959 negotiate_media() Ring- Ready DingaLing/new! 2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:861 do_candidates() Send Candidate 66.135.41.84:16386 [NP1OlALFRG8QNIFS] 2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:706 activate_rtp() No valid candidates received! 2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:594 terminate_session() Terminate called from line 1024 state=CS_INIT 2007-03-28 21:07:58 [NOTICE] mod_dingaling.c:609 terminate_session() Hangup DingaLing/new [CS_INIT] [DESTINATION_OUT_OF_ORDER] 2007-03-28 21:07:58 [INFO] switch_channel.c:993 switch_channel_perform_hangup() Kill DingaLing/new [KILL] 2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:1182 channel_kill_channel() DingaLing/new CHANNEL KILL 2007-03-28 21:07:58 [DEBUG] switch_core.c:3399 switch_core_session_run() (DingaLing/new) State HANGUP 2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:1137 channel_on_hangup() DingaLing/new CHANNEL HANGUP 2007-03-28 21:07:58 [DEBUG] switch_core.c:3078 switch_core_standard_on_hangup() Standard HANGUP DingaLing/new, cause: DESTINATION_OUT_OF_ORDER 2007-03-28 21:07:58 [DEBUG] switch_core.c:3842 switch_core_session_thread() Session 2 (DingaLing/new) Locked, Waiting on external entities 2007-03-28 21:07:58 [INFO] switch_core.c:3847 switch_core_session_thread() Session 2 (DingaLing/new) Ended 2007-03-28 21:07:58 [NOTICE] switch_core.c:3723 switch_core_session_destroy() Close Channel DingaLing/new
Cheers
Peter
On Wed 28 Mar 2007 15:40, Michael Jerris wrote:
I added some protection in the core that will keep this from happening, but there is something definitely not right here. I assume this is only on a call that has no match in the dialplan, correct? Can you post a FreeSWITCH(tm) debug trace of this call as well?
Mike
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org
[mailto:freeswitch-dev-
bounces@lists.freeswitch.org] On Behalf Of Peter Nixon Sent: Wednesday, March 28, 2007 4:55 AM To: FreeSWITCH Dev Subject: Re: [Freeswitch-dev] FreeSWITCH Core Dump
On Wed 28 Mar 2007 11:37, Peter Nixon wrote:
Hi Guys
I managed to track down the core dump I was seeing. It occurs
whenever I
use dingaling with mod_cdr loaded. If mod_cdr is not loaded it
doesn't
crash.
Here is the bt with symbols:
# gdb /opt/freeswitch/bin/freeswitch core.9370 GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and
you
are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/opt/freeswitch/bin/freeswitch'. Program terminated with signal 11, Segmentation fault.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /opt/freeswitch/lib/libfreeswitch.so.1...Reading symbols from
/usr/lib/debug/opt/freeswitch/lib/libfreeswitch.so.1.0.0.debug...done.
done. Loaded symbols for /opt/freeswitch/lib/libfreeswitch.so.1 Reading symbols from /usr/lib/libsqlite3.so.0...done. Loaded symbols for /usr/lib/libsqlite3.so.0 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /opt/freeswitch/mod/mod_console.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_console.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_console.so Reading symbols from /opt/freeswitch/mod/mod_syslog.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_syslog.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_syslog.so Reading symbols from /opt/freeswitch/mod/mod_enum.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_enum.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_enum.so Reading symbols from /opt/freeswitch/mod/mod_xml_rpc.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_xml_rpc.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_xml_rpc.so Reading symbols from /opt/freeswitch/mod/mod_cdr.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_cdr.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_cdr.so Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /opt/freeswitch/mod/mod_dingaling.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_dingaling.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dingaling.so Reading symbols from /usr/lib/libgnutls.so.12...done. Loaded symbols for /usr/lib/libgnutls.so.12 Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib/libgcrypt.so.11...done. Loaded symbols for /usr/lib/libgcrypt.so.11 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /usr/lib/libgpg-error.so.0...done. Loaded symbols for /usr/lib/libgpg-error.so.0 Reading symbols from /opt/freeswitch/mod/mod_sofia.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_sofia.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_sofia.so Reading symbols from /usr/lib/libssl.so.0.9.8...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /opt/freeswitch/mod/mod_bridgecall.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_bridgecall.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_bridgecall.so Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_dns.so.2...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /opt/freeswitch/mod/mod_commands.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_commands.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_commands.so Reading symbols from /opt/freeswitch/mod/mod_conference.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_conference.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_conference.so Reading symbols from /opt/freeswitch/mod/mod_dptools.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_dptools.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dptools.so Reading symbols from /opt/freeswitch/mod/mod_echo.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_echo.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_echo.so Reading symbols from /opt/freeswitch/mod/mod_playback.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_playback.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_playback.so Reading symbols from /opt/freeswitch/mod/mod_dialplan_xml.so...Reading symbols from
/usr/lib/debug/opt/freeswitch/mod/mod_dialplan_xml.so.debug...done.
done. Loaded symbols for /opt/freeswitch/mod/mod_dialplan_xml.so Reading symbols from /opt/freeswitch/mod/mod_g711.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_g711.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_g711.so Reading symbols from /opt/freeswitch/mod/mod_gsm.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_gsm.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_gsm.so Reading symbols from /opt/freeswitch/mod/mod_ilbc.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_ilbc.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_ilbc.so Reading symbols from /opt/freeswitch/mod/mod_l16.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_l16.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_l16.so Reading symbols from /opt/freeswitch/mod/mod_speex.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_speex.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_speex.so Reading symbols from /opt/freeswitch/mod/mod_sndfile.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_sndfile.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_sndfile.so Reading symbols from /opt/freeswitch/mod/mod_native_file.so...Reading symbols from
/usr/lib/debug/opt/freeswitch/mod/mod_native_file.so.debug...done.
done. Loaded symbols for /opt/freeswitch/mod/mod_native_file.so Reading symbols from /opt/freeswitch/mod/mod_softtimer.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_softtimer.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_softtimer.so Reading symbols from /opt/freeswitch/mod/mod_say_en.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_say_en.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_say_en.so #0 0xb7ed1d99 in switch_channel_get_caller_extension
(channel=0x80ef130)
at src/switch_channel.c:955 955 src/switch_channel.c: No such file or directory. in src/switch_channel.c (gdb) bt full #0 0xb7ed1d99 in switch_channel_get_caller_extension
(channel=0x80ef130)
at src/switch_channel.c:955 extension = (switch_caller_extension_t *) 0x80eaf70 __PRETTY_FUNCTION__ = "switch_channel_get_caller_extension" #1 0xb52b36a4 in CDRContainer::add_cdr (this=0x807bf18, session=0x80eaf70) at cdrcontainer.cpp:217 newchannel = (switch_mod_cdr_newchannel_t *) 0x80a6da0 __func__ = "add_cdr" __PRETTY_FUNCTION__ = "void CDRContainer::add_cdr(switch_core_session_t*)" #2 0xb52b3505 in my_on_hangup (session=0x80eaf70) at mod_cdr.cpp:119 No locals. #3 0xb7edba4e in switch_core_session_run (session=0x80eaf70) at src/switch_core.c:3375 index = 1 proceed = 1 exception = 0 '\0' state = CS_HANGUP laststate = CS_INIT midstate = CS_HANGUP endstate = CS_HANGUP endpoint_interface = (const switch_endpoint_interface_t *) 0xb3dc9108 driver_state_handler = (const switch_state_handler_table_t *) 0xb3dc90c0 application_state_handler = (const
switch_state_handler_table_t *)
0xb52cb1a0 __PRETTY_FUNCTION__ = "switch_core_session_run" __func__ = "switch_core_session_run" #4 0xb7edcb01 in switch_core_session_thread (thread=0x80ef6c8, obj=0x80eaf70) at src/switch_core.c:3797 session = (switch_core_session_t *) 0x80eaf70 __func__ = "switch_core_session_thread" #5 0xb7f130b8 in dummy_worker (opaque=0x80ef6c8) at threadproc/unix/thread.c:138 thread = (apr_thread_t *) 0x80ef6c8 #6 0xb7dde34b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #7 0xb7d7665e in clone () from /lib/libc.so.6 No symbol table info available.
--
Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
--
Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
On Thu 29 Mar 2007 00:34, Michael Jerris wrote:
The line:
2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:706 activate_rtp() No valid candidates received!
is the key one here. Can you turn on the debug in your dingaling.conf so we can see the actual jabber messages received and which candidates you are actually getting from the client?
2007-03-29 04:29:51 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='set'><session type='initiate' id='1953725589' initiator='user@gmail.com/jabbin' xmlns='http://www.google.com/session'><description xmlns='http://www.google.com/session/phone'><payload-type id='110' name='speex'/><payload-type id='0' name='PCMU'/></description></session></iq>] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:291 ldl_session_create() Created Session 1953725589 2007-03-29 04:29:51 [DEBUG] libdingaling.c:319 parse_session_code() Message for Session 1953725589 2007-03-29 04:29:51 [DEBUG] libdingaling.c:358 parse_session_code() Add Payload [speex] id='110' 2007-03-29 04:29:51 [DEBUG] libdingaling.c:358 parse_session_code() Add Payload [PCMU] id='0' 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2474 handle_signalling() Creating an identity for 1953725589 user@gmail.com/jabbin <user@gmail.com/jabbin> 1234 2007-03-29 04:29:51 [NOTICE] switch_channel.c:347 switch_channel_set_name() New Chan DingaLing/1234 [22f9fb60-ddae-11db-9ae5-d7e4ede9ef4c] 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2505 handle_signalling() Creating a session for 1953725589 2007-03-29 04:29:51 [NOTICE] switch_channel.c:347 switch_channel_set_name() New Chan DingaLing/new [22f9fb60-ddae-11db-9ae5-d7e4ede9ef4c] 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2509 handle_signalling() DingaLing/new State Change CS_NEW -> CS_INIT 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2594 handle_signalling() 2 payloads 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2596 handle_signalling() Available Payload speex 110 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2603 handle_signalling() compare speex 110/8000 to speex 98/8000 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2614 handle_signalling() Choosing Payload index 0 speex 110 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:929 do_describe() Send Describe [speex@8000] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='set'><session type='candidates' id='1953725589' initiator='user@gmail.com/jabbin' xmlns='http://www.google.com/session'><candidate name='rtp' address='127.0.0.1' port='35669' username='0/FvwgnAYV/QhRHA' password='XXXXXX' preference='1' protocol='udp' type='local' network='lo' generation='0'/><candidate name='rtp' address='192.168.2.65' port='35671' username='SK5adSo4BmnHxCV5' password='XXXXXX' preference='1' protocol='udp' type='local' network='eth1' generation='0'/></session></iq>] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:319 parse_session_code() Message for Session 1953725589 2007-03-29 04:29:51 [DEBUG] switch_core.c:3436 switch_core_session_run() (DingaLing/new) State INIT 2007-03-29 04:29:51 [NOTICE] mod_dingaling.c:959 negotiate_media() Ring-Ready DingaLing/new! 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1222 on_log() SecSEND[<iq type='result' to='user@gmail.com/jabbin' from='suntel@suntel.com.tr/talk'><query/></iq>] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1222 on_log() SecSEND[<iq type='result' to='user@gmail.com/jabbin' from='suntel@suntel.com.tr/talk'><query/></iq>] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1323 ldl_flush_queue() Sending packet 300 (2 left) 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1222 on_log() SecSEND[<iq xmlns='jabber:client' from='suntel@suntel.com.tr/talk' to='user@gmail.com/jabbin' type='set' id='300'><session xmlns='http://www.google.com/session' type='accept' id='1953725589' initiator='user@gmail.com/jabbin'><description xmlns='http://www.google.com/session/phone' xml:lang='en'><payload-type xmlns='http://www.google.com/session/phone' id='98' name='speex' clockrate='8000' bitrate='11000'/></description></session></iq>] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='result' id='300'/>] 2007-03-29 04:29:53 [DEBUG] libdingaling.c:867 cancel_retry() Cancel packet 300 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='result' id='300'/>] 2007-03-29 04:29:53 [DEBUG] libdingaling.c:867 cancel_retry() Cancel packet 300 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1331 ldl_flush_queue() Discarding packet 300 2007-03-29 04:30:01 [DEBUG] mod_dingaling.c:861 do_candidates() Send Candidate 66.135.41.84:16384 [ZETUBcxQ4z3B6Cst] 2007-03-29 04:30:01 [DEBUG] mod_dingaling.c:706 activate_rtp() No valid candidates received! 2007-03-29 04:30:01 [DEBUG] mod_dingaling.c:594 terminate_session() Terminate called from line 1024 state=CS_INIT 2007-03-29 04:30:01 [NOTICE] mod_dingaling.c:609 terminate_session() Hangup DingaLing/new [CS_INIT] [DESTINATION_OUT_OF_ORDER] 2007-03-29 04:30:01 [INFO] switch_channel.c:993 switch_channel_perform_hangup() Kill DingaLing/new [KILL] 2007-03-29 04:30:01 [DEBUG] libdingaling.c:236 ldl_session_destroy() Destroyed Session 1953725589 2007-03-29 04:30:01 [DEBUG] mod_dingaling.c:1182 channel_kill_channel() DingaLing/new CHANNEL KILL 2007-03-29 04:30:01 [DEBUG] switch_core.c:3399 switch_core_session_run() (DingaLing/new) State HANGUP 2007-03-29 04:30:01 [DEBUG] mod_dingaling.c:1137 channel_on_hangup() DingaLing/new CHANNEL HANGUP 2007-03-29 04:30:01 [DEBUG] switch_core.c:3078 switch_core_standard_on_hangup() Standard HANGUP DingaLing/new, cause: DESTINATION_OUT_OF_ORDER 2007-03-29 04:30:01 [DEBUG] switch_core.c:3842 switch_core_session_thread() Session 1 (DingaLing/new) Locked, Waiting on external entities 2007-03-29 04:30:01 [INFO] switch_core.c:3847 switch_core_session_thread() Session 1 (DingaLing/new) Ended 2007-03-29 04:30:01 [NOTICE] switch_core.c:3723 switch_core_session_destroy() Close Channel DingaLing/new 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1323 ldl_flush_queue() Sending packet 301 (2 left) 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1222 on_log() SecSEND[<iq xmlns='jabber:client' from='suntel@suntel.com.tr/talk' to='user@gmail.com/jabbin' type='set' id='301'><session xmlns='http://www.google.com/session' type='transport-info' id='1953725589' initiator='user@gmail.com/jabbin'><transport xmlns='http://www.google.com/transport/p2p'><candidate name='rtp' address='66.135.41.84' port='16384' username='ZETUBcxQ4z3B6Cst' password='XXXXXXXXX' preference='1.0' protocol='udp' type='local' network='0' generation='0'/></transport></session></iq>] 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1323 ldl_flush_queue() Sending packet 302 (2 left) 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1222 on_log() SecSEND[<iq xmlns='jabber:client' from='suntel@suntel.com.tr/talk' to='user@gmail.com/jabbin' type='set' id='302'><session xmlns='http://www.google.com/session' type='terminate' id='1953725589' initiator='user@gmail.com/jabbin'/></iq>] 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='result' id='301'/>] 2007-03-29 04:30:02 [DEBUG] libdingaling.c:867 cancel_retry() Cancel packet 301 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1331 ldl_flush_queue() Discarding packet 301 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='result' id='302'/>] 2007-03-29 04:30:02 [DEBUG] libdingaling.c:867 cancel_retry() Cancel packet 302 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='result' id='302'/>] 2007-03-29 04:30:02 [DEBUG] libdingaling.c:867 cancel_retry() Cancel packet 302 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1331 ldl_flush_queue() Discarding packet 302 -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Your client is not sending any public addresses as candidates: SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='set'><session type='candidates' id='1953725589' initiator='user@gmail.com/jabbin' xmlns='http://www.google.com/session'><candidate name='rtp' address='127.0.0.1' port='35669' username='0/FvwgnAYV/QhRHA' password='XXXXXX' preference='1' protocol='udp' type='local' network='lo' generation='0'/><candidate name='rtp' address='192.168.2.65' port='35671' username='SK5adSo4BmnHxCV5' password='XXXXXX' preference='1' protocol='udp' type='local' network='eth1' generation='0'/></session></iq>] so we have no way of knowing where to send media, so we fail the call. Mike
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev- bounces@lists.freeswitch.org] On Behalf Of Peter Nixon Sent: Thursday, March 29, 2007 12:34 AM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] FreeSWITCH Core Dump
On Thu 29 Mar 2007 00:34, Michael Jerris wrote:
The line:
2007-03-28 21:07:58 [DEBUG] mod_dingaling.c:706 activate_rtp() No valid candidates received!
is the key one here. Can you turn on the debug in your dingaling.conf so we can see the actual jabber messages received and which candidates you are actually getting from the client?
2007-03-29 04:29:51 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='set'><session type='initiate' id='1953725589' initiator='user@gmail.com/jabbin' xmlns='http://www.google.com/session'><description xmlns='http://www.google.com/session/phone'><payload-type id='110' name='speex'/><payload-type id='0' name='PCMU'/></description></session></iq>] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:291 ldl_session_create() Created Session 1953725589 2007-03-29 04:29:51 [DEBUG] libdingaling.c:319 parse_session_code() Message for Session 1953725589 2007-03-29 04:29:51 [DEBUG] libdingaling.c:358 parse_session_code() Add Payload [speex] id='110' 2007-03-29 04:29:51 [DEBUG] libdingaling.c:358 parse_session_code() Add Payload [PCMU] id='0' 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2474 handle_signalling() Creating an identity for 1953725589 user@gmail.com/jabbin <user@gmail.com/jabbin> 1234 2007-03-29 04:29:51 [NOTICE] switch_channel.c:347 switch_channel_set_name() New Chan DingaLing/1234 [22f9fb60-ddae-11db-9ae5-d7e4ede9ef4c] 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2505 handle_signalling() Creating a session for 1953725589 2007-03-29 04:29:51 [NOTICE] switch_channel.c:347 switch_channel_set_name() New Chan DingaLing/new [22f9fb60-ddae-11db-9ae5-d7e4ede9ef4c] 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2509 handle_signalling() DingaLing/new State Change CS_NEW -> CS_INIT 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2594 handle_signalling() 2 payloads 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2596 handle_signalling() Available Payload speex 110 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2603 handle_signalling() compare speex 110/8000 to speex 98/8000 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:2614 handle_signalling() Choosing Payload index 0 speex 110 2007-03-29 04:29:51 [DEBUG] mod_dingaling.c:929 do_describe() Send Describe [speex@8000] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='set'><session type='candidates' id='1953725589' initiator='user@gmail.com/jabbin' xmlns='http://www.google.com/session'><candidate name='rtp' address='127.0.0.1' port='35669' username='0/FvwgnAYV/QhRHA' password='XXXXXX' preference='1' protocol='udp' type='local' network='lo' generation='0'/><candidate name='rtp' address='192.168.2.65' port='35671' username='SK5adSo4BmnHxCV5' password='XXXXXX' preference='1' protocol='udp' type='local' network='eth1' generation='0'/></session></iq>] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:319 parse_session_code() Message for Session 1953725589 2007-03-29 04:29:51 [DEBUG] switch_core.c:3436 switch_core_session_run() (DingaLing/new) State INIT 2007-03-29 04:29:51 [NOTICE] mod_dingaling.c:959 negotiate_media() Ring- Ready DingaLing/new! 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1222 on_log() SecSEND[<iq type='result' to='user@gmail.com/jabbin' from='suntel@suntel.com.tr/talk'><query/></iq>] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1222 on_log() SecSEND[<iq type='result' to='user@gmail.com/jabbin' from='suntel@suntel.com.tr/talk'><query/></iq>] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1323 ldl_flush_queue() Sending packet 300 (2 left) 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1222 on_log() SecSEND[<iq xmlns='jabber:client' from='suntel@suntel.com.tr/talk' to='user@gmail.com/jabbin' type='set' id='300'><session xmlns='http://www.google.com/session' type='accept' id='1953725589' initiator='user@gmail.com/jabbin'><description xmlns='http://www.google.com/session/phone' xml:lang='en'><payload-type xmlns='http://www.google.com/session/phone' id='98' name='speex' clockrate='8000' bitrate='11000'/></description></session></iq>] 2007-03-29 04:29:51 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:52 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='result' id='300'/>] 2007-03-29 04:29:53 [DEBUG] libdingaling.c:867 cancel_retry() Cancel packet 300 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='result' id='300'/>] 2007-03-29 04:29:53 [DEBUG] libdingaling.c:867 cancel_retry() Cancel packet 300 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:29:53 [DEBUG] libdingaling.c:1331 ldl_flush_queue() Discarding packet 300 2007-03-29 04:30:01 [DEBUG] mod_dingaling.c:861 do_candidates() Send Candidate 66.135.41.84:16384 [ZETUBcxQ4z3B6Cst] 2007-03-29 04:30:01 [DEBUG] mod_dingaling.c:706 activate_rtp() No valid candidates received! 2007-03-29 04:30:01 [DEBUG] mod_dingaling.c:594 terminate_session() Terminate called from line 1024 state=CS_INIT 2007-03-29 04:30:01 [NOTICE] mod_dingaling.c:609 terminate_session() Hangup DingaLing/new [CS_INIT] [DESTINATION_OUT_OF_ORDER] 2007-03-29 04:30:01 [INFO] switch_channel.c:993 switch_channel_perform_hangup() Kill DingaLing/new [KILL] 2007-03-29 04:30:01 [DEBUG] libdingaling.c:236 ldl_session_destroy() Destroyed Session 1953725589 2007-03-29 04:30:01 [DEBUG] mod_dingaling.c:1182 channel_kill_channel() DingaLing/new CHANNEL KILL 2007-03-29 04:30:01 [DEBUG] switch_core.c:3399 switch_core_session_run() (DingaLing/new) State HANGUP 2007-03-29 04:30:01 [DEBUG] mod_dingaling.c:1137 channel_on_hangup() DingaLing/new CHANNEL HANGUP 2007-03-29 04:30:01 [DEBUG] switch_core.c:3078 switch_core_standard_on_hangup() Standard HANGUP DingaLing/new, cause: DESTINATION_OUT_OF_ORDER 2007-03-29 04:30:01 [DEBUG] switch_core.c:3842 switch_core_session_thread() Session 1 (DingaLing/new) Locked, Waiting on external entities 2007-03-29 04:30:01 [INFO] switch_core.c:3847 switch_core_session_thread() Session 1 (DingaLing/new) Ended 2007-03-29 04:30:01 [NOTICE] switch_core.c:3723 switch_core_session_destroy() Close Channel DingaLing/new 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1323 ldl_flush_queue() Sending packet 301 (2 left) 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1222 on_log() SecSEND[<iq xmlns='jabber:client' from='suntel@suntel.com.tr/talk' to='user@gmail.com/jabbin' type='set' id='301'><session xmlns='http://www.google.com/session' type='transport-info' id='1953725589' initiator='user@gmail.com/jabbin'><transport xmlns='http://www.google.com/transport/p2p'><candidate name='rtp' address='66.135.41.84' port='16384' username='ZETUBcxQ4z3B6Cst' password='XXXXXXXXX' preference='1.0' protocol='udp' type='local' network='0' generation='0'/></transport></session></iq>] 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1323 ldl_flush_queue() Sending packet 302 (2 left) 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1222 on_log() SecSEND[<iq xmlns='jabber:client' from='suntel@suntel.com.tr/talk' to='user@gmail.com/jabbin' type='set' id='302'><session xmlns='http://www.google.com/session' type='terminate' id='1953725589' initiator='user@gmail.com/jabbin'/></iq>] 2007-03-29 04:30:01 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='result' id='301'/>] 2007-03-29 04:30:02 [DEBUG] libdingaling.c:867 cancel_retry() Cancel packet 301 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 2 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1331 ldl_flush_queue() Discarding packet 301 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='result' id='302'/>] 2007-03-29 04:30:02 [DEBUG] libdingaling.c:867 cancel_retry() Cancel packet 302 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1222 on_log() SecRECV[<iq from='user@gmail.com/jabbin' to='suntel@suntel.com.tr/talk' type='result' id='302'/>] 2007-03-29 04:30:02 [DEBUG] libdingaling.c:867 cancel_retry() Cancel packet 302 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1311 ldl_flush_queue() Processing 1 packets in retry queue 2007-03-29 04:30:02 [DEBUG] libdingaling.c:1331 ldl_flush_queue() Discarding packet 302
--
Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Erase me -----Messaggio originale----- Da: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] Per conto di Michael Jerris Inviato: mercoledì 28 marzo 2007 14.41 A: freeswitch-dev@lists.freeswitch.org Oggetto: Re: [Freeswitch-dev] FreeSWITCH Core Dump I added some protection in the core that will keep this from happening, but there is something definitely not right here. I assume this is only on a call that has no match in the dialplan, correct? Can you post a FreeSWITCH(tm) debug trace of this call as well? Mike
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev- bounces@lists.freeswitch.org] On Behalf Of Peter Nixon Sent: Wednesday, March 28, 2007 4:55 AM To: FreeSWITCH Dev Subject: Re: [Freeswitch-dev] FreeSWITCH Core Dump
On Wed 28 Mar 2007 11:37, Peter Nixon wrote:
Hi Guys
I managed to track down the core dump I was seeing. It occurs whenever I use dingaling with mod_cdr loaded. If mod_cdr is not loaded it doesn't crash.
Here is the bt with symbols:
# gdb /opt/freeswitch/bin/freeswitch core.9370 GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/opt/freeswitch/bin/freeswitch'. Program terminated with signal 11, Segmentation fault.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /opt/freeswitch/lib/libfreeswitch.so.1...Readi ng symbols from /usr/lib/debug/opt/freeswitch/lib/libfreeswitch.so.1.0.0.debug...do ne. done. Loaded symbols for /opt/freeswitch/lib/libfreeswitch.so.1 Reading symbols from /usr/lib/libsqlite3.so.0...done. Loaded symbols for /usr/lib/libsqlite3.so.0 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /opt/freeswitch/mod/mod_console.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_console.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_console.so Reading symbols from /opt/freeswitch/mod/mod_syslog.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_syslog.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_syslog.so Reading symbols from /opt/freeswitch/mod/mod_enum.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_enum.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_enum.so Reading symbols from /opt/freeswitch/mod/mod_xml_rpc.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_xml_rpc.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_xml_rpc.so Reading symbols from /opt/freeswitch/mod/mod_cdr.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_cdr.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_cdr.so Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /opt/freeswitch/mod/mod_dingaling.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_dingaling.so.debug...don e. done. Loaded symbols for /opt/freeswitch/mod/mod_dingaling.so Reading symbols from /usr/lib/libgnutls.so.12...done. Loaded symbols for /usr/lib/libgnutls.so.12 Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib/libgcrypt.so.11...done. Loaded symbols for /usr/lib/libgcrypt.so.11 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /usr/lib/libgpg-error.so.0...done. Loaded symbols for /usr/lib/libgpg-error.so.0 Reading symbols from /opt/freeswitch/mod/mod_sofia.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_sofia.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_sofia.so Reading symbols from /usr/lib/libssl.so.0.9.8...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /opt/freeswitch/mod/mod_bridgecall.so...Readin . symbols from /usr/lib/debug/opt/freeswitch/mod/mod_bridgecall.so.debug...do ne. done. Loaded symbols for /opt/freeswitch/mod/mod_bridgecall.so Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_dns.so.2...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /opt/freeswitch/mod/mod_commands.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_commands.so.debug...done . done. Loaded symbols for /opt/freeswitch/mod/mod_commands.so Reading symbols from /opt/freeswitch/mod/mod_conference.so...Readin . symbols from /usr/lib/debug/opt/freeswitch/mod/mod_conference.so.debug...do ne. done. Loaded symbols for /opt/freeswitch/mod/mod_conference.so Reading symbols from /opt/freeswitch/mod/mod_dptools.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_dptools.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dptools.so Reading symbols from /opt/freeswitch/mod/mod_echo.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_echo.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_echo.so Reading symbols from /opt/freeswitch/mod/mod_playback.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_playback.so.debug...done . done. Loaded symbols for /opt/freeswitch/mod/mod_playback.so Reading symbols from /opt/freeswitch/mod/mod_dialplan_xml.so...Read ing symbols from /usr/lib/debug/opt/freeswitch/mod/mod_dialplan_xml.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_dialplan_xml.so Reading symbols from /opt/freeswitch/mod/mod_g711.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_g711.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_g711.so Reading symbols from /opt/freeswitch/mod/mod_gsm.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_gsm.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_gsm.so Reading symbols from /opt/freeswitch/mod/mod_ilbc.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_ilbc.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_ilbc.so Reading symbols from /opt/freeswitch/mod/mod_l16.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_l16.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_l16.so Reading symbols from /opt/freeswitch/mod/mod_speex.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_speex.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_speex.so Reading symbols from /opt/freeswitch/mod/mod_sndfile.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_sndfile.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_sndfile.so Reading symbols from /opt/freeswitch/mod/mod_native_file.so...Readi ng symbols from /usr/lib/debug/opt/freeswitch/mod/mod_native_file.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_native_file.so Reading symbols from /opt/freeswitch/mod/mod_softtimer.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_softtimer.so.debug...don e. done. Loaded symbols for /opt/freeswitch/mod/mod_softtimer.so Reading symbols from /opt/freeswitch/mod/mod_say_en.so...Reading symbols from /usr/lib/debug/opt/freeswitch/mod/mod_say_en.so.debug...done. done. Loaded symbols for /opt/freeswitch/mod/mod_say_en.so #0 0xb7ed1d99 in switch_channel_get_caller_extension (channel=0x80ef130) at src/switch_channel.c:955 955 src/switch_channel.c: No such file or directory. in src/switch_channel.c (gdb) bt full #0 0xb7ed1d99 in switch_channel_get_caller_extension (channel=0x80ef130) at src/switch_channel.c:955 extension = (switch_caller_extension_t *) 0x80eaf70 __PRETTY_FUNCTION__ = "switch_channel_get_caller_exten sion" #1 0xb52b36a4 in CDRContainer::add_cdr (this=0x807bf18, session=0x80eaf70) at cdrcontainer.cpp:217 newchannel = (switch_mod_cdr_newchannel_t *) 0x80a6da0 __func__ = "add_cdr" __PRETTY_FUNCTION__ = "void CDRContainer::add_cdr(switch_core_session_t*)" #2 0xb52b3505 in my_on_hangup (session=0x80eaf70) at mod_cdr.cpp:119 No locals. #3 0xb7edba4e in switch_core_session_run (session=0x80eaf70) at src/switch_core.c:3375 index = 1 proceed = 1 exception = 0 '\0' state = CS_HANGUP laststate = CS_INIT midstate = CS_HANGUP endstate = CS_HANGUP endpoint_interface = (const switch_endpoint_interface_t *) 0xb3dc9108 driver_state_handler = (const switch_state_handler_table_t *) 0xb3dc90c0 application_state_handler = (const switch_state_handler_table_t *) 0xb52cb1a0 __PRETTY_FUNCTION__ = "switch_core_session_run" __func__ = "switch_core_session_run" #4 0xb7edcb01 in switch_core_session_thread (thread=0x80ef6c8, obj=0x80eaf70) at src/switch_core.c:3797 session = (switch_core_session_t *) 0x80eaf70 __func__ = "switch_core_session_thread" #5 0xb7f130b8 in dummy_worker (opaque=0x80ef6c8) at threadproc/unix/thread.c:138 thread = (apr_thread_t *) 0x80ef6c8 #6 0xb7dde34b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #7 0xb7d7665e in clone () from /lib/libc.so.6 No symbol table info available.
--
Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org -- Io utilizzo la versione gratuita di SPAMfighter per utenti privati. Sino ad ora ha rimosso 339 mail spam. Gli utenti paganti non hanno questo messaggio nelle loro email . Prova gratuitamente SPAMfighter qui:http://www.spamfighter.com/lit -- Io utilizzo la versione gratuita di SPAMfighter per utenti privati. Sino ad ora ha rimosso 339 mail spam. Gli utenti paganti non hanno questo messaggio nelle loro email . Prova gratuitamente SPAMfighter qui:http://www.spamfighter.com/lit
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of carlo Sent: Thursday, March 29, 2007 4:12 AM To: freeswitch-dev@lists.freeswitch.org Subject: [Freeswitch-dev] R: FreeSWITCH Core Dump
Erase me
rm -rf carlo There..
this made me giggle for some reason... ;-) On 3/30/07, Gregory Boehnlein <damin@nacs.net> wrote:
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of carlo Sent: Thursday, March 29, 2007 4:12 AM To: freeswitch-dev@lists.freeswitch.org Subject: [Freeswitch-dev] R: FreeSWITCH Core Dump
Erase me
rm -rf carlo
There..
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
I think its Haiku. _____ From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Trevor Essary Sent: 30 March 2007 13:28 To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] R: FreeSWITCH Core Dump this made me giggle for some reason... ;-) On 3/30/07, Gregory Boehnlein <damin@nacs.net> wrote:
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of carlo Sent: Thursday, March 29, 2007 4:12 AM To: freeswitch-dev@lists.freeswitch.org Subject: [Freeswitch-dev] R: FreeSWITCH Core Dump
Erase me
rm -rf carlo There.. _______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
That is going on my whiteboard....... On 3/30/07, Jason Steele <jason.steele@rcsuk.co.uk> wrote:
I think its Haiku…
------------------------------
*From:* freeswitch-dev-bounces@lists.freeswitch.org [mailto: freeswitch-dev-bounces@lists.freeswitch.org] *On Behalf Of *Trevor Essary *Sent:* 30 March 2007 13:28 *To:* freeswitch-dev@lists.freeswitch.org *Subject:* Re: [Freeswitch-dev] R: FreeSWITCH Core Dump
this made me giggle for some reason...
;-)
On 3/30/07, *Gregory Boehnlein* <damin@nacs.net> wrote:
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of carlo Sent: Thursday, March 29, 2007 4:12 AM To: freeswitch-dev@lists.freeswitch.org Subject: [Freeswitch-dev] R: FreeSWITCH Core Dump
Erase me
rm -rf carlo
There..
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (6)
-
carlo
-
Gregory Boehnlein
-
Jason Steele
-
Michael Jerris
-
Peter Nixon
-
Trevor Essary