[asterisk-users] Freeswitch with Digium T316 timed out, T316 timed out

2013-08-08 Thread Rajat toshniwal

Hi

I am trying to deploy freeswitch with Digium TE121 card for my office
setup, but it is continuously showing Signaling is up and channels are
down except D channel.
Our Architecture is like
We have freeswitch installed with libpri1.4 and Dahdi.
I am from India and here we are having E1 trunk.

Dahdi Configuration is

cat system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Wed Aug  7 19:39:07 2013
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCT1/0 Wildcard TE121 Card 0 (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31

# Global data

loadzone= uk
defaultzone= uk



cat modules
# Autogenerated by /usr/sbin/dahdi_genconf (Dahdi::Config::Gen::Modules)
on Wed Aug  7 19:37:48 2013
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
wcte12xp
# Xorcom Astribank Devices
xpp_usb


dahdi_hardware
pci::02:08.0 wcte12xp+d161:8000 Wildcard TE121

dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard TE121 Card 0
name=WCT1/0
manufacturer=Digium
devicetype=Wildcard TE121 (VPMOCT032)
location=PCI Bus 02 Slot 09
basechan=1
totchans=31
irq=0
type=digital-E1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=AMI,HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS/CRC4


Card is properly installed and recognized by Dahdi

Freetdm is compiled with libpri and configuration is like
cat /usr/local/freeswitch/conf/freetdm.conf
[general]
cpu_monitor =  yes
cpu_monitoring_interval =  2000 ; monitor usage every 2 seconds
cpu_set_alarm_threshold =  90 ; whenever 90% of global CPU usage is
reached, trigger the alarm.
cpu_reset_alarm_threshold =  80 ; when the CPU usage decreases at 80%,
clear the alarm.
cpu_alarm_action =  reject,warn ; Start rejecting calls when the CPU
alarm is triggered and also print warnings.

[span zt myDAHDISpan]
trunk_type =  E1
group =  g1
b-channel =  1-15
d-channel =  16
b-channel =  17-31


cat /usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml
configuration name=freetdm.conf description=FreeTDM Configuration
settings
param name=debug value=1/
/settings
libpri_spans
span name=myDAHDISpan
!-- Log Levels: none, alert, crit, err, warning, notice, info, debug --
param name=switch value=euroisdn/
param name=node value=cpe/
param name=dialect value=q931/
param name=debug value=all/
param name=dialplan value=XML/
param name=context value=public/
param name=l1 value=alaw/
/span
/libpri_spans
/configuration


Freeswitch logs are showing

2013-08-08 15:38:18.613848 [WARNING] ftmod_libpri.c:1975 [s1c10][1:10]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.613848 [WARNING] ftmod_libpri.c:1975 [s1c11][1:11]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.613848 [WARNING] ftmod_libpri.c:1975 [s1c12][1:12]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.613848 [WARNING] ftmod_libpri.c:1975 [s1c13][1:13]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c14][1:14]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c15][1:15]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c17][1:17]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c18][1:18]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c19][1:19]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c20][1:20]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c21][1:21]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c22][1:22]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c23][1:23]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c24][1:24]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c25][1:25]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c26][1:26]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c27][1:27]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c28][1:28]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c29][1:29]
-- T316 timed out, resending RESTART request
2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c30][1:30]
-- T316 timed out, resending RESTART 

Re: [asterisk-users] Freeswitch with Digium T316 timed out, T316 timed out

2013-08-08 Thread Carlos Rojas
My friend,

You are in a wrong list, this an asterisk list, you should to be in
freeswitch list

Kind Regards


On Thu, Aug 8, 2013 at 10:39 AM, Rajat toshniwal 
rajat.toshni...@tekmindz.com wrote:

 **

 Hi

 I am trying to deploy freeswitch with Digium TE121 card for my office
 setup, but it is continuously showing Signaling is up and channels are
 down except D channel.
 Our Architecture is like
 We have freeswitch installed with libpri1.4 and Dahdi.
 I am from India and here we are having E1 trunk.

 Dahdi Configuration is

 cat system.conf
 # Autogenerated by /usr/sbin/dahdi_genconf on Wed Aug  7 19:39:07 2013
 # If you edit this file and execute /usr/sbin/dahdi_genconf again,
 # your manual changes will be LOST.
 # Dahdi Configuration File
 #
 # This file is parsed by the Dahdi Configurator, dahdi_cfg
 #
 # Span 1: WCT1/0 Wildcard TE121 Card 0 (MASTER)
 span=1,1,0,ccs,hdb3,crc4
 # termtype: te
 bchan=1-15,17-31
 dchan=16
 echocanceller=mg2,1-15,17-31

 # Global data

 loadzone= uk
 defaultzone= uk



 cat modules
 # Autogenerated by /usr/sbin/dahdi_genconf (Dahdi::Config::Gen::Modules)
 on Wed Aug  7 19:37:48 2013
 # If you edit this file and execute /usr/sbin/dahdi_genconf again,
 # your manual changes will be LOST.
 wcte12xp
 # Xorcom Astribank Devices
 xpp_usb


 dahdi_hardware
 pci::02:08.0 wcte12xp+d161:8000 Wildcard TE121

 dahdi_scan
 [1]
 active=yes
 alarms=OK
 description=Wildcard TE121 Card 0
 name=WCT1/0
 manufacturer=Digium
 devicetype=Wildcard TE121 (VPMOCT032)
 location=PCI Bus 02 Slot 09
 basechan=1
 totchans=31
 irq=0
 type=digital-E1
 syncsrc=1
 lbo=0 db (CSU)/0-133 feet (DSX-1)
 coding_opts=AMI,HDB3
 framing_opts=CCS,CRC4
 coding=HDB3
 framing=CCS/CRC4


 Card is properly installed and recognized by Dahdi

 Freetdm is compiled with libpri and configuration is like
 cat /usr/local/freeswitch/conf/freetdm.conf
 [general]
 cpu_monitor = yes
 cpu_monitoring_interval = 2000 ; monitor usage every 2 seconds
 cpu_set_alarm_threshold = 90 ; whenever 90% of global CPU usage is
 reached, trigger the alarm.
 cpu_reset_alarm_threshold = 80 ; when the CPU usage decreases at 80%,
 clear the alarm.
 cpu_alarm_action = reject,warn ; Start rejecting calls when the CPU
 alarm is triggered and also print warnings.

 [span zt myDAHDISpan]
 trunk_type = E1
 group = g1
 b-channel = 1-15
 d-channel = 16
 b-channel = 17-31


 cat /usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml
 configuration name=freetdm.conf description=FreeTDM Configuration
 settings
 param name=debug value=1/
 /settings
 libpri_spans
 span name=myDAHDISpan
 !-- Log Levels: none, alert, crit, err, warning, notice, info, debug --
 param name=switch value=euroisdn/
 param name=node value=cpe/
 param name=dialect value=q931/
 param name=debug value=all/
 param name=dialplan value=XML/
 param name=context value=public/
 param name=l1 value=alaw/
 /span
 /libpri_spans
 /configuration


 Freeswitch logs are showing

 2013-08-08 15:38:18.613848 [WARNING] ftmod_libpri.c:1975 [s1c10][1:10]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.613848 [WARNING] ftmod_libpri.c:1975 [s1c11][1:11]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.613848 [WARNING] ftmod_libpri.c:1975 [s1c12][1:12]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.613848 [WARNING] ftmod_libpri.c:1975 [s1c13][1:13]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c14][1:14]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c15][1:15]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c17][1:17]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c18][1:18]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c19][1:19]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c20][1:20]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c21][1:21]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c22][1:22]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c23][1:23]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c24][1:24]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c25][1:25]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c26][1:26]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 [WARNING] ftmod_libpri.c:1975 [s1c27][1:27]
 -- T316 timed out, resending RESTART request
 2013-08-08 15:38:18.633847 

Re: [asterisk-users] Freeswitch with Digium T316 timed out, T316 timed out

2013-08-08 Thread Richard Mudgett
It seems that the ISDN switch you are connected to does not respond to the
RESTART message.  You should investigate what the chan_dahdi.conf
resetinterval parameter is set to.  See chan_dahdi.conf.sample for a
description.

Richard
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users