[Freeswitch-users] FreeSWITCH mod_freetdm getting stuck

DP Siddharth dp.siddharth at eng.knowlarity.com
Thu Aug 28 12:42:59 MSD 2014


Hi,

Need help on issue we are facing with FreeSWITCH (FreeTDM endpoint). We
have following version of various components:

FreeSWITCH: Version 1.2.18 git 98c51ee
Wanpipe: 7.0.10
libsng_isdn: 7.29.0
Sangoma Card: A108 firmware v44
Host: Ubuntu 12.04 (3.11.0-13-generic)

Problem: FreeTDM endpoint stops working randomly, hence all the calls
running get stuck & no new call comes.

We start seeing lot of following logs:
2014-07-22 15:02:50.687638 [DEBUG] ftmod_sangoma_isdn_stack_rcv.c:705
[SNGISDN PHY] D-chan 18 : T1/E1/BRI Disconnected
2014-07-22 15:02:50.687638 [DEBUG] ftmod_wanpipe.c:1557 [s18c29][18:30] Got
Wanpipe alarms 528
2014-07-22 15:02:50.687638 [DEBUG] mod_freetdm.c:2704 got clear channel sig
[ALARM_TRAP]
2014-07-22 15:02:50.687638 [DEBUG] ftmod_sangoma_isdn_stack_rcv.c:705
[SNGISDN PHY] D-chan 18 : T1/E1/BRI Disconnected
2014-07-22 15:02:50.687638 [DEBUG] ftmod_wanpipe.c:1678 [s18c30][18:31]
read wanpipe event 2
2014-07-22 15:02:50.687638 [DEBUG] ftmod_wanpipe.c:1557 [s18c30][18:31] Got
Wanpipe alarms 528
2014-07-22 15:02:50.687638 [DEBUG] mod_freetdm.c:2704 got clear channel sig
[ALARM_TRAP]
2014-07-22 15:02:50.687638 [DEBUG] ftmod_wanpipe.c:1678 [s18c31][18:16]
read wanpipe event 2
2014-07-22 15:02:50.687638 [DEBUG] ftmod_wanpipe.c:1557 [s18c31][18:16] Got
Wanpipe alarms 528
2014-07-22 15:02:50.687638 [DEBUG] ftmod_sangoma_isdn_stack_rcv.c:705
[SNGISDN PHY] D-chan 18 : T1/E1/BRI Disconnected
2014-07-22 15:02:50.687638 [DEBUG] ftmod_sangoma_isdn_stack_rcv.c:705
[SNGISDN PHY] D-chan 18 : T1/E1/BRI Disconnected
2014-07-22 15:02:50.687638 [DEBUG] mod_freetdm.c:2704 got clear channel sig
[ALARM_TRAP]
2014-07-22 15:02:50.687638 [DEBUG] mod_freetdm.c:2704 got clear channel sig
[ALARM_TRAP]
2014-07-22 15:02:51.007642 [DEBUG] ftmod_wanpipe.c:1400 [s5c31][5:16] Link
status is 1
2014-07-22 15:02:51.667640 [DEBUG] ftmod_wanpipe.c:1400 [s10c31][10:16]
Link status is 1
2014-07-22 15:02:51.667640 [DEBUG] ftmod_wanpipe.c:1400 [s21c31][21:16]
Link status is 1
2014-07-22 15:02:51.667640 [DEBUG] ftmod_wanpipe.c:1400 [s21c31][21:16]
Link status is 1
2014-07-22 15:02:51.667640 [DEBUG] ftmod_wanpipe.c:1400 [s13c31][13:16]
Link status is 1
2014-07-22 15:02:51.667640 [DEBUG] ftmod_wanpipe.c:1400 [s10c31][10:16]
Link status is 1
2014-07-22 15:02:51.747640 [DEBUG] ftmod_wanpipe.c:1400 [s19c31][19:16]
Link status is 1

and finally:

2014-07-22 15:02:58.687642 [DEBUG] ftmod_wanpipe.c:1557 [s18c13][18:13] Got
Wanpipe alarms 2080
2014-07-22 15:02:58.687642 [DEBUG] ftmod_wanpipe.c:1405 [s18c26][18:27]
Unmapped wanpipe alarms: 2048
2014-07-22 15:02:58.687642 [DEBUG] ftmod_wanpipe.c:1678 [s18c14][18:14]
read wanpipe event 2
2014-07-22 15:02:58.687642 [DEBUG] ftmod_wanpipe.c:1557 [s18c14][18:14] Got
Wanpipe alarms 2080
2014-07-22 15:02:58.687642 [CRIT] ftmod_sangoma_isdn_stack_rcv.
c:1112 sng_isdn->

date: 07/22/2014 time: 15:02:58

2014-07-22 15:02:58.687642 [CRIT] ftmod_sangoma_isdn_stack_rcv.c:1112
sng_isdn->

date: 07/22/2014 time: 15:02:58

2014-07-22 15:02:58.687642 [DEBUG] mod_freetdm.c:2704 got clear channel sig
[ALARM_TRAP]
2014-07-22 15:02:58.687642 [DEBUG] ftmod_wanpipe.c:1405 [s18c27][18:28]
Unmapped wanpipe alarms: 2048
2014-07-22 15:02:58.687642 [CRIT] ftmod_sangoma_isdn_stack_rcv.c:1112
sng_isdn->
mtss(posix): sw error:  ent: 001  inst: 000  proc id: 001
file:
/var/lib/hudson/jobs/libsng_isdn-releases/workspace/linux-boxes/master/trillium/ss/ss_msg.c
line: 140329466462633 errcode: 00059 errcls: ERRCLS_DEBUG
errval: 00000  errdesc: SGetMsg:Failed in SAlloc


So we are already in touch with Sangoma team & waiting for resolution, but
in case someone else has faced this issue & any suggestions to resolve it
will help.

-- 
Thanks & Regards,
D P Siddharth
Director (Platform)
Knowlarity Communications
Ph: +919999115231
dp.siddharth at eng.knowlarity.com <emailID at knowlarity.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140828/f1a03752/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list