[Freeswitch-users] Sangoma PRI/Freetdm issue: LOSE_RACE error on first call after FS startup

Neil Patel neilp at cs.stanford.edu
Sat Dec 15 05:26:42 MSK 2012


Hi All,

I recently upgraded my box to Ubuntu 12.04 LTS and re-installed FS from
latest git. I'm using a Sangoma A108DE card, interfacing with FS with
freetdm. Since upgrade, I'm getting a weird behavior: whenever I first
start up freeswitch, the *first call* I make to any of my PRI lines does
not go through. The error is pasted below. Subsequent calls go through
fine, without the error. So this problem only occurs anytime I have to
restart FS; I have to call each of the lines manually to get each of them
to "wake up".

Judging by the error, my first thought is that this is a
Sangoma/FreeTDM/Wanpipe driver issue. Can a real expert weigh in? Happy to
provide more logs/output. Thanks!
Neil

===================
2012-12-15 07:38:01.241594 [INFO] ftmod_sangoma_isdn_stack_rcv.c:96
[s4c1][4:1] Received SETUP (suId:1 suInstId:0 spInstId:59)
2012-12-15 07:38:05.241594 [WARNING] ftmod_sangoma_isdn_stack_rcv.c:862
[SNGISDN Q931] s4: Protocol: Unknown Event Code(2): Incomp Msg(276)
2012-12-15 07:38:09.241595 [INFO] ftmod_sangoma_isdn_stack_rcv.c:232
[s4c1][4:1] Received DISCONNECT (suId:1 suInstId:0 spInstId:59)
2012-12-15 07:38:09.241595 [INFO] ftmod_sangoma_isdn_stack_hndl.c:153
[s4c1][4:1] Incoming call: Called No:[61608300] Calling No:[919586550654]
2012-12-15 07:38:09.241595 [NOTICE] switch_channel.c:968 New Channel
FreeTDM/4:1/61608300 [458fb2e2-465c-11e2-b550-cfadc9bb1b74]
2012-12-15 07:38:09.241595 [NOTICE] mod_freetdm.c:425 Hangup
FreeTDM/4:1/61608300 [CS_INIT] [LOSE_RACE]
2012-12-15 07:38:09.241595 [INFO] ftmod_sangoma_isdn_stack_out.c:441
[s4c1][4:1] Sending RELEASE/RELEASE COMPLETE (suId:1 suInstId:59
spInstId:59)
2012-12-15 07:38:09.241595 [NOTICE] switch_core_session.c:1506 Session 59
(FreeTDM/4:1/61608300) Ended
2012-12-15 07:38:09.241595 [NOTICE] switch_core_session.c:1510 Close
Channel FreeTDM/4:1/61608300 [CS_DESTROY]
2012-12-15 07:38:09.281595 [INFO] ftmod_sangoma_isdn_stack_rcv.c:267
[s4c1][4:1] Received RELEASE/RELEASE COMPLETE (suId:1 suInstId:59
spInstId:59)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121215/207088f0/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list