Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@stag-fs01:/usr/src/digium# lspci -v
- <snip>----other pci-devices output---</snip>
- 03:00.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)
- Subsystem: Cologne Chip Designs GmbH ISDN Board
- Flags: bus master, medium devsel, latency 16, IRQ 16
- I/O ports at ec80 [disabled] [size=8]
- Memory at febffc00 (32-bit, non-prefetchable) [size=256]
- Capabilities: [40] Power Management version 1
- Kernel driver in use: vzaphfc
- root@stag-fs01:/usr/src/digium# dahdi_hardware
- pci:0000:03:00.0 zaphfc+ 1397:2bd0 HFC-S ISDN BRI card
- root@stag-fs01:/usr/src/digium# dahdi_cfg -vvv
- DAHDI Tools Version - 2.3.0
- DAHDI Version: 2.3.0.1
- Echo Canceller(s): OSLEC
- Configuration
- ======================
- SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
- Channel map:
- Channel 01: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 01)
- Channel 02: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 02)
- Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 03)
- 3 channels to configure.
- Setting echocan for channel 1 to oslec
- Setting echocan for channel 2 to oslec
- Setting echocan for channel 3 to none
- root@stag-fs01:/usr/src/digium# dahdi_scan
- [1]
- active=yes
- alarms=OK
- description=HFC-S PCI A ISDN card 0 [TE]
- name=ZTHFC1
- manufacturer=Cologne Chips
- devicetype=HFC-S PCI-A ISDN
- location=PCI Bus 03 Slot 01
- basechan=1
- totchans=3
- irq=16
- type=digital-TE
- syncsrc=0
- lbo=0 db (CSU)/0-133 feet (DSX-1)
- coding_opts=AMI
- framing_opts=CCS
- coding=AMI
- framing=CCS
- root@stag-fs01:/usr/src/digium# cat /etc/dahdi/system.conf
- ## Autogenerated by /usr/sbin/dahdi_genconf on Wed Apr 13 08:55:23 2011
- ## 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: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] " (MASTER)
- #span=1,1,0,ccs,ami
- ## termtype: te
- #bchan=1-2
- #hardhdlc=3
- #echocanceller=mg2,1-2
- # Global data
- span = 1,1,0,ccs,ami
- bchan = 1-2
- hardhdlc=3
- echocanceller = oslec,1-2
- loadzone = at
- defaultzone = at
- root@stag-fs01:/usr/src/digium# cat /usr/local/freeswitch/conf/freetdm.conf
- [general]
- cpu_monitor => no
- cpu_monitoring_interval => 1000
- cpu_set_alarm_threshold => 80
- cpu_reset_alarm_threshold => 70
- cpu_alarm_action => warn
- [span zt ZTHFC1]
- trunk_type => BRI
- number => 1
- b-channel => 1-2
- d-channel => 3
- root@stag-fs01:/usr/src/digium# cat /usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml
- <configuration name="freetdm.conf" description="Freetdm Configuration">
- <settings>
- <param name="debug" value="1"/>
- <!--<param name="hold-music" value="$${moh_uri}"/>-->
- <!--<param name="enable-analog-option" value="call-swap"/>-->
- <!--<param name="enable-analog-option" value="3-way"/>-->
- </settings>
- <config_profiles>
- <profile name="my_bri_te_1">
- <!--<param name="switchtype" value="euroisdn" />-->
- <param name="switch" value="euroisdn" />
- <param name="interface" value="cpe"/>
- <param name="facility" value="no" />
- </profile>
- </config_profiles>
- <libpri_spans>
- <span name="ZTHFC1" cfgprofile="my_bri_te_1">
- <param name="dialplan" value="XML"/>
- <param name="context" value="public"/>
- <param name="debug" value="q931_all"/>
- <param name="opts" value="omit_redirecting_number"/>
- </span>
- </libpri_spans>
- <analog_spans>
- </analog_spans>
- </configuration>
- root@stag-fs01:/usr/src/digium# /usr/local/freeswitch/bin/fs_cli -r
- _____ ____ ____ _ ___
- | ___/ ___| / ___| | |_ _|
- | |_ \___ \ | | | | | |
- | _| ___) | | |___| |___ | |
- |_| |____/ \____|_____|___|
- *******************************************************
- * Anthony Minessale II, Ken Rice, Michael Jerris *
- * FreeSWITCH (http://www.freeswitch.org) *
- * Paypal Donations Appreciated: paypal@freeswitch.org *
- * Brought to you by ClueCon http://www.cluecon.com/ *
- *******************************************************
- Type /help <enter> to see a list of commands
- +OK log level [7]
- 2011-04-14 09:13:16.250404 [DEBUG] ftmod_libpri.c:1550 -- Caught Event span 1 4 (CONFIG_ERR)
- 2011-04-14 09:13:17.250410 [DEBUG] ftmod_libpri.c:1550 -- Caught Event span 1 4 (CONFIG_ERR)
- freeswitch@internal>ftdm list
- +OK
- span: 1 (ZTHFC1)
- type: isdn
- physical_status: ok
- signaling_status: DOWN
- chan_count: 3
- dialplan: XML
- context: public
- dial_regex:
- fail_dial_regex:
- hold_music:
- analog_options: none
- freeswitch@internal> reload mod_freetdm
- +OK module unloaded
- +OK Reloading XML
- +OK module loaded
- 2011-04-14 09:15:27.185441 [DEBUG] switch_loadable_module.c:484 Write lock interface 'freetdm' to wait for existing references.
- freeswitch@internal> 2011-04-14 09:15:27.185441 [NOTICE] switch_loadable_module.c:492 Deleting Endpoint 'freetdm'
- 2011-04-14 09:15:27.185441 [NOTICE] switch_loadable_module.c:574 Deleting Application 'disable_ec'
- 2011-04-14 09:15:27.185441 [DEBUG] switch_loadable_module.c:576 Write lock interface 'disable_ec' to wait for existing references.
- 2011-04-14 09:15:27.185441 [NOTICE] switch_loadable_module.c:574 Deleting Application 'disable_dtmf'
- 2011-04-14 09:15:27.185441 [DEBUG] switch_loadable_module.c:576 Write lock interface 'disable_dtmf' to wait for existing references.
- 2011-04-14 09:15:27.185441 [NOTICE] switch_loadable_module.c:574 Deleting Application 'enable_dtmf'
- 2011-04-14 09:15:27.185441 [DEBUG] switch_loadable_module.c:576 Write lock interface 'enable_dtmf' to wait for existing references.
- 2011-04-14 09:15:27.185441 [NOTICE] switch_loadable_module.c:601 Deleting API Function 'ftdm'
- 2011-04-14 09:15:27.185441 [DEBUG] switch_loadable_module.c:603 Write lock interface 'ftdm' to wait for existing references.
- 2011-04-14 09:15:27.185441 [CONSOLE] switch_loadable_module.c:1402 Stopping: mod_freetdm
- 2011-04-14 09:15:27.185441 [DEBUG] ftdm_sched.c:217 Waiting for main schedule thread to finish
- 2011-04-14 09:15:27.248410 [CRIT] lpwrap_pri.c:321 Error = -1 [Success]
- 2011-04-14 09:15:27.248410 [DEBUG] ftmod_libpri.c:1700 PRI thread ended on span 1
- 2011-04-14 09:15:27.284410 [NOTICE] ftdm_sched.c:147 Main scheduling thread going out ...
- 2011-04-14 09:15:27.285418 [DEBUG] ftdm_io.c:2875 [s1c3][1:3] DTMF debug is already disabled
- 2011-04-14 09:15:27.285418 [DEBUG] ftdm_io.c:2907 [s1c3][1:3] No need to disable input dump
- 2011-04-14 09:15:27.285418 [DEBUG] ftdm_io.c:2938 [s1c3][1:3] No need to disable output dump
- 2011-04-14 09:15:27.285418 [DEBUG] ftdm_io.c:2697 [s1c3][1:3] channel done
- 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:612 Closing channel zt:1:1 fd:40
- 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:612 Closing channel zt:1:2 fd:41
- 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:612 Closing channel zt:1:3 fd:60
- 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4948 Unloading I/O interface zt
- 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4955 Unloaded I/O interface zt
- 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4948 Unloading I/O interface libpri
- 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4955 Unloaded I/O interface libpri
- 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4974 Unloading module /usr/local/freeswitch/mod/ftmod_zt.so
- 2011-04-14 09:15:27.285418 [DEBUG] ftdm_dso.c:90 lib 0x8c19cb8 was closed with success
- 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4976 Unloaded module /usr/local/freeswitch/mod/ftmod_zt.so
- 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4974 Unloading module /usr/local/freeswitch/mod/ftmod_libpri.so
- 2011-04-14 09:15:27.285418 [DEBUG] ftdm_dso.c:90 lib 0x8a3f918 was closed with success
- 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4976 Unloaded module /usr/local/freeswitch/mod/ftmod_libpri.so
- 2011-04-14 09:15:27.285418 [DEBUG] ftdm_sched.c:552 Destroying schedule freetdm-master
- 2011-04-14 09:15:27.285418 [CONSOLE] switch_loadable_module.c:1422 mod_freetdm unloaded.
- 2011-04-14 09:15:28.162439 [INFO] mod_enum.c:755 ENUM Reloaded
- 2011-04-14 09:15:28.162439 [DEBUG] ftdm_config.c:52 New mod directory: /usr/local/freeswitch/mod
- 2011-04-14 09:15:28.162439 [DEBUG] ftdm_config.c:58 New config directory: /usr/local/freeswitch/conf
- 2011-04-14 09:15:28.162439 [DEBUG] ftdm_sched.c:154 Initializing scheduling API
- 2011-04-14 09:15:28.162439 [DEBUG] ftdm_sched.c:251 Created schedule freetdm-master
- 2011-04-14 09:15:28.162439 [NOTICE] ftdm_sched.c:178 Launching main schedule thread
- 2011-04-14 09:15:28.162439 [DEBUG] ftdm_sched.c:187 Running schedule freetdm-master in the main schedule thread
- 2011-04-14 09:15:28.162439 [DEBUG] ftdm_config.c:80 Configuration file is /usr/local/freeswitch/conf/modules.conf.
- 2011-04-14 09:15:28.162439 [INFO] switch_time.c:999 Timezone reloaded 530 definitions
- 2011-04-14 09:15:28.164452 [NOTICE] ftdm_io.c:5577 Modules configured: 1
- 2011-04-14 09:15:28.164452 [DEBUG] ftdm_config.c:80 Configuration file is /usr/local/freeswitch/conf/freetdm.conf.
- 2011-04-14 09:15:28.164452 [DEBUG] ftdm_io.c:4518 Reading FreeTDM configuration file
- 2011-04-14 09:15:28.164452 [DEBUG] ftdm_io.c:4534 found config for span
- 2011-04-14 09:15:28.164452 [NOTICE] ftmod_zt.c:1290 Using DAHDI control device
- 2011-04-14 09:15:28.164452 [INFO] ftdm_io.c:4821 Loading IO from /usr/local/freeswitch/mod/ftmod_zt.so [zt]
- 2011-04-14 09:15:28.164452 [DEBUG] ftdm_config.c:80 Configuration file is /usr/local/freeswitch/conf/zt.conf.
- 2011-04-14 09:15:28.164452 [INFO] ftmod_zt.c:577 Setting rxgain val to 0.000000
- 2011-04-14 09:15:28.165416 [INFO] ftmod_zt.c:585 Setting txgain val to 0.000000
- 2011-04-14 09:15:28.165416 [INFO] ftdm_io.c:801 Auto-loaded I/O module 'zt'
- 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4548 created span 1 (ZTHFC1) of type zt
- 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4564 span 1 [trunk_type]=[BRI]
- 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4569 setting trunk type to 'BRI'
- 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4564 span 1 [number]=[1]
- 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4564 span 1 [b-channel]=[1-2]
- 2011-04-14 09:15:28.165416 [INFO] ftmod_zt.c:396 configuring device /dev/dahdi/channel channel 1 as FreeTDM device 1:1 fd:41
- 2011-04-14 09:15:28.165416 [INFO] ftmod_zt.c:396 configuring device /dev/dahdi/channel channel 2 as FreeTDM device 1:2 fd:58
- 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:5123 Creating new group:__default
- 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4564 span 1 [d-channel]=[3]
- 2011-04-14 09:15:28.165416 [INFO] ftmod_zt.c:396 configuring device /dev/dahdi/channel channel 3 as FreeTDM device 1:3 fd:59
- 2011-04-14 09:15:28.165416 [INFO] ftdm_io.c:4746 Configured 3 channel(s)
- 2011-04-14 09:15:28.168421 [INFO] ftdm_io.c:4821 Loading IO from /usr/local/freeswitch/mod/ftmod_libpri.so [libpri]
- 2011-04-14 09:15:28.168421 [DEBUG] ftdm_io.c:4762 Module libpri does not support configuration.
- 2011-04-14 09:15:28.168421 [INFO] ftdm_io.c:4833 Loading SIG from /usr/local/freeswitch/mod/ftmod_libpri.so
- 2011-04-14 09:15:28.168421 [INFO] ftdm_io.c:5056 auto-loaded 'libpri'
- 2011-04-14 09:15:28.168421 [NOTICE] ftmod_libpri.c:1940 Setting default Layer 1 to ALAW since this is an E1/BRI/BRI PTMP trunk
- 2011-04-14 09:15:28.169418 [DEBUG] ftmod_libpri.c:1593 opening D-Channel #0 1:3
- 2011-04-14 09:15:28.169418 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:28.189420 [CONSOLE] switch_loadable_module.c:946 Successfully Loaded [mod_freetdm]
- 2011-04-14 09:15:28.189420 [NOTICE] switch_loadable_module.c:145 Adding Endpoint 'freetdm'
- 2011-04-14 09:15:28.190435 [NOTICE] switch_loadable_module.c:252 Adding Application 'disable_ec'
- 2011-04-14 09:15:28.190435 [NOTICE] switch_loadable_module.c:252 Adding Application 'disable_dtmf'
- 2011-04-14 09:15:28.190435 [NOTICE] switch_loadable_module.c:252 Adding Application 'enable_dtmf'
- 2011-04-14 09:15:28.190435 [NOTICE] switch_loadable_module.c:274 Adding API Function 'ftdm'
- 2011-04-14 09:15:29.220405 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:30.271405 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:31.322402 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:32.373401 [DEBUG] ftmod_libpri.c:146 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
- 2011-04-14 09:15:33.424418 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:34.475417 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:35.526410 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:36.577410 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:37.628406 [DEBUG] ftmod_libpri.c:146 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
- 2011-04-14 09:15:38.679405 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:39.730405 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:40.781411 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:41.832415 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:42.883412 [DEBUG] ftmod_libpri.c:146 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
- 2011-04-14 09:15:43.934408 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:15:44.985401 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:16:09.996416 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:16:40.998410 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
- 2011-04-14 09:17:10.606415 [DEBUG] ftmod_libpri.c:1550 -- Caught Event span 1 4 (CONFIG_ERR)
- 2011-04-14 09:17:11.607412 [DEBUG] ftmod_libpri.c:1550 -- Caught Event span 1 4 (CONFIG_ERR)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement