FreeSwitch 1.0.6 - Core Dumped with libpri
Hi all, I have downloaded the latest freeswitch 1.0.6. I configured my sangoma card with libpri as told in http://wiki.freeswitch.org/wiki/Openzap.sangoma.libpri I use wanpipe-3.5.10.10 and libpri-1.4.10.2. openzap.conf [span wanpipe PRI_1] name => OpenZAP number => 1 trunk_type => e1 b-channel => 1:1-15 b-channel => 1:17-31 [span wanpipe PRI_2] name => OpenZAP number => 2 trunk_type => e1 b-channel => 2:1-15 b-channel => 2:17-31 openzap.conf.xml: <configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="1"/> </settings> <libpri_spans> <span name="PRI_1"> <param name="node" value="cpe"/> <param name="switch" value="euroisdn"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="l1" value="alaw"/> </span> <span name="PRI_2"> <param name="node" value="net"/> <param name="switch" value="euroisdn"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="l1" value="alaw"/> </span> </libpri_spans> </configuration> I started wanrouter and after that I started freeswitch. I got core dumped immediately after saying auto-loaded libpri. Here is the freeswitch log. http://pastebin.freeswitch.org/12712
I tried to analyze the core dump and got the following. gdb ./freeswitch core.28775 warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/i686/cmov/libm.so.6...done. Loaded symbols for /lib/i686/cmov/libm.so.6 Reading symbols from /usr/local/freeswitch/lib/libfreeswitch.so.1...done. Loaded symbols for /usr/local/freeswitch/lib/libfreeswitch.so.1 Reading symbols from /lib/i686/cmov/librt.so.1...done. Loaded symbols for /lib/i686/cmov/librt.so.1 Reading symbols from /lib/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/i686/cmov/libdl.so.2 Reading symbols from /lib/i686/cmov/libcrypt.so.1...done. Loaded symbols for /lib/i686/cmov/libcrypt.so.1 Reading symbols from /lib/i686/cmov/libpthread.so.0...done. Loaded symbols for /lib/i686/cmov/libpthread.so.0 Reading symbols from /lib/libncurses.so.5...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /lib/i686/cmov/libc.so.6...done. Loaded symbols for /lib/i686/cmov/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 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 /usr/local/freeswitch/mod/mod_console.so...done. Loaded symbols for /usr/local/freeswitch/mod/mod_console.so Reading symbols from /usr/local/freeswitch/mod/mod_logfile.so...done. Loaded symbols for /usr/local/freeswitch/mod/mod_logfile.so Reading symbols from /usr/local/freeswitch/mod/mod_enum.so...done. Loaded symbols for /usr/local/freeswitch/mod/mod_enum.so Reading symbols from /usr/local/freeswitch/mod/mod_cdr_csv.so...done. Loaded symbols for /usr/local/freeswitch/mod/mod_cdr_csv.so Reading symbols from /usr/local/freeswitch/mod/mod_event_socket.so...done. Loaded symbols for /usr/local/freeswitch/mod/mod_event_socket.so Reading symbols from /usr/local/freeswitch/mod/mod_sofia.so...done. Loaded symbols for /usr/local/freeswitch/mod/mod_sofia.so Reading symbols from /usr/local/freeswitch/mod/mod_loopback.so...done. Loaded symbols for /usr/local/freeswitch/mod/mod_loopback.so Reading symbols from /usr/local/freeswitch/mod/mod_openzap.so...done. Loaded symbols for /usr/local/freeswitch/mod/mod_openzap.so Reading symbols from /usr/local/freeswitch/lib/libopenzap.so.1...done. Loaded symbols for /usr/local/freeswitch/lib/libopenzap.so.1 Reading symbols from /usr/local/freeswitch/mod/ozmod_wanpipe.so...done. Loaded symbols for /usr/local/freeswitch/mod/ozmod_wanpipe.so Reading symbols from /usr/lib/libsangoma.so.3...done. Loaded symbols for /usr/lib/libsangoma.so.3 Reading symbols from /usr/local/freeswitch/mod/ozmod_libpri.so...done. Loaded symbols for /usr/local/freeswitch/mod/ozmod_libpri.so Reading symbols from /usr/lib/libpri.so.1.4...done. Loaded symbols for /usr/lib/libpri.so.1.4 Core was generated by `./freeswitch'. Program terminated with signal 11, Segmentation fault. [New process 28795] [New process 28775] [New process 28794] [New process 28793] [New process 28792] [New process 28791] [New process 28790] [New process 28789] [New process 28788] [New process 28787] [New process 28786] [New process 28785] [New process 28784] [New process 28781] [New process 28780] [New process 28779] [New process 28778] [New process 28777] [New process 28776] #0 0xb6f08ee5 in lpwrap_init_pri (spri=0x9fdb8a0, span=0x9e7cb38, dchan=0x0, swtype=5, node=2, debug=0) at src/ozmod/ozmod_libpri/lpwrap_pri.c:180 180 if ((spri->pri = pri_new_cb(spri->dchan->sockfd, node, swtype, __pri_lpwrap_read, __pri_lpwrap_write, spri))){ On Thu, Apr 15, 2010 at 4:41 PM, lakshmanan ganapathy <lakindia89@gmail.com>wrote:
Hi all, I have downloaded the latest freeswitch 1.0.6. I configured my sangoma card with libpri as told in http://wiki.freeswitch.org/wiki/Openzap.sangoma.libpri I use wanpipe-3.5.10.10 and libpri-1.4.10.2.
openzap.conf [span wanpipe PRI_1] name => OpenZAP number => 1 trunk_type => e1 b-channel => 1:1-15 b-channel => 1:17-31 [span wanpipe PRI_2] name => OpenZAP number => 2 trunk_type => e1 b-channel => 2:1-15 b-channel => 2:17-31
openzap.conf.xml: <configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="1"/> </settings> <libpri_spans> <span name="PRI_1"> <param name="node" value="cpe"/> <param name="switch" value="euroisdn"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="l1" value="alaw"/> </span> <span name="PRI_2"> <param name="node" value="net"/> <param name="switch" value="euroisdn"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="l1" value="alaw"/> </span> </libpri_spans> </configuration>
I started wanrouter and after that I started freeswitch. I got core dumped immediately after saying auto-loaded libpri. Here is the freeswitch log.
please post this and all other bugs to http://jira.freeswitch.org/ using the bug reporting guidelines found http://wiki.freeswitch.org/wiki/Reporting_Bugs Mike On Apr 15, 2010, at 7:23 AM, lakshmanan ganapathy wrote:
I tried to analyze the core dump and got the following.
gdb ./freeswitch core.28775
you did not specify the d-chan, it should probably not crash in this case but that is the cause. On Thu, Apr 15, 2010 at 8:41 AM, Michael Jerris <mike@jerris.com> wrote:
please post this and all other bugs to http://jira.freeswitch.org/ using the bug reporting guidelines found http://wiki.freeswitch.org/wiki/Reporting_Bugs
<http://wiki.freeswitch.org/wiki/Reporting_Bugs>Mike
On Apr 15, 2010, at 7:23 AM, lakshmanan ganapathy wrote:
I tried to analyze the core dump and got the following.
gdb ./freeswitch core.28775
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Dear Anthony, I have also tried it by specifying the D-Channel as follows: [span wanpipe PRI_1] name => OpenZAP number => 1 trunk_type => e1 b-channel => 1:1-15 d-channel => 1:16 b-channel => 1:17-31 [span wanpipe PRI_2] name => OpenZAP number => 2 trunk_type => e1 b-channel => 2:1-15 d-channel => 2:16 b-channel => 2:17-31 In this case also I'm gtting the segmentation fult with core dumped. But for both the D-Channels I got the following error message: 2010-04-16 13:57:26.317548 [INFO] ozmod_wanpipe.c:337 configuring device s1c15 as OpenZAP device 1:15 fd:54 DTMF: software 2010-04-16 13:57:26.318046 [ERR] ozmod_wanpipe.c:235 Failed to open wanpipe device span 1 channel 16 TDM API: CMD: 36 2010-04-16 13:57:26.342996 [INFO] ozmod_wanpipe.c:337 configuring device s2c15 as OpenZAP device 2:15 fd:84 DTMF: software 2010-04-16 13:57:26.343460 [ERR] ozmod_wanpipe.c:235 Failed to open wanpipe device span 2 channel 16 TDM API: CMD: 36 2010-04-16 13:57:26.355616 [INFO] zap_io.c:2777 Configured 60 channel(s) 2010-04-16 13:57:26.357252 [INFO] zap_io.c:2853 Loading IO from /usr/local/freeswitch/mod/ozmod_libpri.so [libpri] 2010-04-16 13:57:26.357721 [INFO] zap_io.c:2870 Loading SIG from /usr/local/freeswitch/mod/ozmod_libpri.so 2010-04-16 13:57:26.357938 [INFO] zap_io.c:2986 auto-loaded 'libpri' 2010-04-16 13:57:26.358153 [NOTICE] ozmod_libpri.c:1267 Setting default Layer 1 to ALAW since this is an E1 trunk Segmentation fault (core dumped) Did I miss anything!!!. I cheched the status of the wnrouter. It shows the channel is connected. Do you have any guess when it fails to open D channel?? On 4/15/10, Anthony Minessale <anthony.minessale@gmail.com> wrote:
you did not specify the d-chan, it should probably not crash in this case but that is the cause.
On Thu, Apr 15, 2010 at 8:41 AM, Michael Jerris <mike@jerris.com> wrote:
please post this and all other bugs to http://jira.freeswitch.org/ using the bug reporting guidelines found http://wiki.freeswitch.org/wiki/Reporting_Bugs
<http://wiki.freeswitch.org/wiki/Reporting_Bugs>Mike
On Apr 15, 2010, at 7:23 AM, lakshmanan ganapathy wrote:
I tried to analyze the core dump and got the following.
gdb ./freeswitch core.28775
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I think you must be. Was the bt the same this time? Maybe if you hop on irc we can have someone look at it for you. On Fri, Apr 16, 2010 at 4:46 AM, lakshmanan ganapathy <lakindia89@gmail.com>wrote:
Dear Anthony, I have also tried it by specifying the D-Channel as follows:
[span wanpipe PRI_1]
name => OpenZAP
number => 1
trunk_type => e1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31
[span wanpipe PRI_2]
name => OpenZAP
number => 2
trunk_type => e1
b-channel => 2:1-15
d-channel => 2:16
b-channel => 2:17-31 In this case also I'm gtting the segmentation fult with core dumped. But for both the D-Channels I got the following error message:
2010-04-16 13:57:26.317548 [INFO] ozmod_wanpipe.c:337 configuring device s1c15 as OpenZAP device 1:15 fd:54 DTMF: software
2010-04-16 13:57:26.318046 [ERR] ozmod_wanpipe.c:235 Failed to open wanpipe device span 1 channel 16
TDM API: CMD: 36
2010-04-16 13:57:26.342996 [INFO] ozmod_wanpipe.c:337 configuring device s2c15 as OpenZAP device 2:15 fd:84 DTMF: software
2010-04-16 13:57:26.343460 [ERR] ozmod_wanpipe.c:235 Failed to open wanpipe device span 2 channel 16
TDM API: CMD: 36
2010-04-16 13:57:26.355616 [INFO] zap_io.c:2777 Configured 60 channel(s)
2010-04-16 13:57:26.357252 [INFO] zap_io.c:2853 Loading IO from /usr/local/freeswitch/mod/ozmod_libpri.so [libpri]
2010-04-16 13:57:26.357721 [INFO] zap_io.c:2870 Loading SIG from /usr/local/freeswitch/mod/ozmod_libpri.so
2010-04-16 13:57:26.357938 [INFO] zap_io.c:2986 auto-loaded 'libpri'
2010-04-16 13:57:26.358153 [NOTICE] ozmod_libpri.c:1267 Setting default Layer 1 to ALAW since this is an E1 trunk
Segmentation fault (core dumped) Did I miss anything!!!. I cheched the status of the wnrouter. It shows the channel is connected. Do you have any guess when it fails to open D channel??
On 4/15/10, Anthony Minessale <anthony.minessale@gmail.com> wrote:
you did not specify the d-chan, it should probably not crash in this case but that is the cause.
On Thu, Apr 15, 2010 at 8:41 AM, Michael Jerris <mike@jerris.com> wrote:
please post this and all other bugs to http://jira.freeswitch.org/using the bug reporting guidelines found http://wiki.freeswitch.org/wiki/Reporting_Bugs
<http://wiki.freeswitch.org/wiki/Reporting_Bugs>Mike
On Apr 15, 2010, at 7:23 AM, lakshmanan ganapathy wrote:
I tried to analyze the core dump and got the following.
gdb ./freeswitch core.28775
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
May be you have still running sangoma_prid ( which opens the d-channel ) and then FreeSWITCH fails to open it (just a guess). Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com On Fri, Apr 16, 2010 at 9:57 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I think you must be. Was the bt the same this time? Maybe if you hop on irc we can have someone look at it for you.
On Fri, Apr 16, 2010 at 4:46 AM, lakshmanan ganapathy < lakindia89@gmail.com> wrote:
Dear Anthony, I have also tried it by specifying the D-Channel as follows:
[span wanpipe PRI_1]
name => OpenZAP
number => 1
trunk_type => e1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31
[span wanpipe PRI_2]
name => OpenZAP
number => 2
trunk_type => e1
b-channel => 2:1-15
d-channel => 2:16
b-channel => 2:17-31 In this case also I'm gtting the segmentation fult with core dumped. But for both the D-Channels I got the following error message:
2010-04-16 13:57:26.317548 [INFO] ozmod_wanpipe.c:337 configuring device s1c15 as OpenZAP device 1:15 fd:54 DTMF: software
2010-04-16 13:57:26.318046 [ERR] ozmod_wanpipe.c:235 Failed to open wanpipe device span 1 channel 16
TDM API: CMD: 36
2010-04-16 13:57:26.342996 [INFO] ozmod_wanpipe.c:337 configuring device s2c15 as OpenZAP device 2:15 fd:84 DTMF: software
2010-04-16 13:57:26.343460 [ERR] ozmod_wanpipe.c:235 Failed to open wanpipe device span 2 channel 16
TDM API: CMD: 36
2010-04-16 13:57:26.355616 [INFO] zap_io.c:2777 Configured 60 channel(s)
2010-04-16 13:57:26.357252 [INFO] zap_io.c:2853 Loading IO from /usr/local/freeswitch/mod/ozmod_libpri.so [libpri]
2010-04-16 13:57:26.357721 [INFO] zap_io.c:2870 Loading SIG from /usr/local/freeswitch/mod/ozmod_libpri.so
2010-04-16 13:57:26.357938 [INFO] zap_io.c:2986 auto-loaded 'libpri'
2010-04-16 13:57:26.358153 [NOTICE] ozmod_libpri.c:1267 Setting default Layer 1 to ALAW since this is an E1 trunk
Segmentation fault (core dumped) Did I miss anything!!!. I cheched the status of the wnrouter. It shows the channel is connected. Do you have any guess when it fails to open D channel??
On 4/15/10, Anthony Minessale <anthony.minessale@gmail.com> wrote:
you did not specify the d-chan, it should probably not crash in this case but that is the cause.
On Thu, Apr 15, 2010 at 8:41 AM, Michael Jerris <mike@jerris.com>wrote:
please post this and all other bugs to http://jira.freeswitch.org/using the bug reporting guidelines found http://wiki.freeswitch.org/wiki/Reporting_Bugs
<http://wiki.freeswitch.org/wiki/Reporting_Bugs>Mike
On Apr 15, 2010, at 7:23 AM, lakshmanan ganapathy wrote:
I tried to analyze the core dump and got the following.
gdb ./freeswitch core.28775
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
Moises, You are right. sangoma_prid is running on my system. I gave smg_ctrl stop. Then I started freeswitch. Now it didn't get core-dumped. Thanks for your help, updated the wiki. On Fri, Apr 16, 2010 at 7:45 PM, Moises Silva <moises.silva@gmail.com>wrote:
May be you have still running sangoma_prid ( which opens the d-channel ) and then FreeSWITCH fails to open it (just a guess).
Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com
On Fri, Apr 16, 2010 at 9:57 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I think you must be. Was the bt the same this time? Maybe if you hop on irc we can have someone look at it for you.
On Fri, Apr 16, 2010 at 4:46 AM, lakshmanan ganapathy < lakindia89@gmail.com> wrote:
Dear Anthony, I have also tried it by specifying the D-Channel as follows:
[span wanpipe PRI_1]
name => OpenZAP
number => 1
trunk_type => e1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31
[span wanpipe PRI_2]
name => OpenZAP
number => 2
trunk_type => e1
b-channel => 2:1-15
d-channel => 2:16
b-channel => 2:17-31 In this case also I'm gtting the segmentation fult with core dumped. But for both the D-Channels I got the following error message:
2010-04-16 13:57:26.317548 [INFO] ozmod_wanpipe.c:337 configuring device s1c15 as OpenZAP device 1:15 fd:54 DTMF: software
2010-04-16 13:57:26.318046 [ERR] ozmod_wanpipe.c:235 Failed to open wanpipe device span 1 channel 16
TDM API: CMD: 36
2010-04-16 13:57:26.342996 [INFO] ozmod_wanpipe.c:337 configuring device s2c15 as OpenZAP device 2:15 fd:84 DTMF: software
2010-04-16 13:57:26.343460 [ERR] ozmod_wanpipe.c:235 Failed to open wanpipe device span 2 channel 16
TDM API: CMD: 36
2010-04-16 13:57:26.355616 [INFO] zap_io.c:2777 Configured 60 channel(s)
2010-04-16 13:57:26.357252 [INFO] zap_io.c:2853 Loading IO from /usr/local/freeswitch/mod/ozmod_libpri.so [libpri]
2010-04-16 13:57:26.357721 [INFO] zap_io.c:2870 Loading SIG from /usr/local/freeswitch/mod/ozmod_libpri.so
2010-04-16 13:57:26.357938 [INFO] zap_io.c:2986 auto-loaded 'libpri'
2010-04-16 13:57:26.358153 [NOTICE] ozmod_libpri.c:1267 Setting default Layer 1 to ALAW since this is an E1 trunk
Segmentation fault (core dumped) Did I miss anything!!!. I cheched the status of the wnrouter. It shows the channel is connected. Do you have any guess when it fails to open D channel??
On 4/15/10, Anthony Minessale <anthony.minessale@gmail.com> wrote:
you did not specify the d-chan, it should probably not crash in this case but that is the cause.
On Thu, Apr 15, 2010 at 8:41 AM, Michael Jerris <mike@jerris.com>wrote:
please post this and all other bugs to http://jira.freeswitch.org/using the bug reporting guidelines found http://wiki.freeswitch.org/wiki/Reporting_Bugs
<http://wiki.freeswitch.org/wiki/Reporting_Bugs>Mike
On Apr 15, 2010, at 7:23 AM, lakshmanan ganapathy wrote:
I tried to analyze the core dump and got the following.
gdb ./freeswitch core.28775
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
If this core dump still exists in the current git head, please file a bug on jira for it so we can make sure to fix the core dump. Mike On Apr 17, 2010, at 1:10 AM, lakshmanan ganapathy wrote:
Moises, You are right. sangoma_prid is running on my system. I gave smg_ctrl stop. Then I started freeswitch. Now it didn't get core-dumped. Thanks for your help, updated the wiki.
On Fri, Apr 16, 2010 at 7:45 PM, Moises Silva <moises.silva@gmail.com> wrote: May be you have still running sangoma_prid ( which opens the d-channel ) and then FreeSWITCH fails to open it (just a guess).
Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com
On Fri, Apr 16, 2010 at 9:57 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote: I think you must be. Was the bt the same this time? Maybe if you hop on irc we can have someone look at it for you.
participants (4)
-
Anthony Minessale
-
lakshmanan ganapathy
-
Michael Jerris
-
Moises Silva