Advertisement
Guest User

Untitled

a guest
Apr 14th, 2011
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.80 KB | None | 0 0
  1. root@stag-fs01:/usr/src/digium# lspci -v
  2. <snip>----other pci-devices output---</snip>
  3. 03:00.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)
  4.     Subsystem: Cologne Chip Designs GmbH ISDN Board
  5.     Flags: bus master, medium devsel, latency 16, IRQ 16
  6.     I/O ports at ec80 [disabled] [size=8]
  7.     Memory at febffc00 (32-bit, non-prefetchable) [size=256]
  8.     Capabilities: [40] Power Management version 1
  9.     Kernel driver in use: vzaphfc
  10.  
  11.  
  12.  
  13.  
  14. root@stag-fs01:/usr/src/digium# dahdi_hardware
  15. pci:0000:03:00.0     zaphfc+      1397:2bd0 HFC-S ISDN BRI card
  16.  
  17.  
  18.  
  19.  
  20. root@stag-fs01:/usr/src/digium# dahdi_cfg -vvv
  21. DAHDI Tools Version - 2.3.0
  22.  
  23. DAHDI Version: 2.3.0.1
  24. Echo Canceller(s): OSLEC
  25. Configuration
  26. ======================
  27.  
  28. SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
  29.  
  30. Channel map:
  31.  
  32. Channel 01: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 01)
  33. Channel 02: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 02)
  34. Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 03)
  35.  
  36. 3 channels to configure.
  37.  
  38. Setting echocan for channel 1 to oslec
  39. Setting echocan for channel 2 to oslec
  40. Setting echocan for channel 3 to none
  41.  
  42.  
  43.  
  44. root@stag-fs01:/usr/src/digium# dahdi_scan
  45. [1]
  46. active=yes
  47. alarms=OK
  48. description=HFC-S PCI A ISDN card 0 [TE]
  49. name=ZTHFC1
  50. manufacturer=Cologne Chips
  51. devicetype=HFC-S PCI-A ISDN
  52. location=PCI Bus 03 Slot 01
  53. basechan=1
  54. totchans=3
  55. irq=16
  56. type=digital-TE
  57. syncsrc=0
  58. lbo=0 db (CSU)/0-133 feet (DSX-1)
  59. coding_opts=AMI
  60. framing_opts=CCS
  61. coding=AMI
  62. framing=CCS
  63.  
  64.  
  65.  
  66. root@stag-fs01:/usr/src/digium# cat /etc/dahdi/system.conf
  67. ## Autogenerated by /usr/sbin/dahdi_genconf on Wed Apr 13 08:55:23 2011
  68. ## If you edit this file and execute /usr/sbin/dahdi_genconf again,
  69. ## your manual changes will be LOST.
  70. ## Dahdi Configuration File
  71. ##
  72. ## This file is parsed by the Dahdi Configurator, dahdi_cfg
  73. ##
  74. ## Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] " (MASTER)
  75. #span=1,1,0,ccs,ami
  76. ## termtype: te
  77. #bchan=1-2
  78. #hardhdlc=3
  79. #echocanceller=mg2,1-2
  80.  
  81. # Global data
  82.  
  83. span = 1,1,0,ccs,ami
  84. bchan = 1-2
  85. hardhdlc=3
  86. echocanceller = oslec,1-2
  87. loadzone = at
  88. defaultzone = at
  89. root@stag-fs01:/usr/src/digium# cat /usr/local/freeswitch/conf/freetdm.conf
  90. [general]
  91. cpu_monitor => no
  92. cpu_monitoring_interval => 1000
  93. cpu_set_alarm_threshold => 80
  94. cpu_reset_alarm_threshold => 70
  95. cpu_alarm_action => warn
  96.  
  97. [span zt ZTHFC1]
  98. trunk_type => BRI
  99. number => 1
  100. b-channel => 1-2
  101. d-channel => 3
  102.  
  103.  
  104.  
  105. root@stag-fs01:/usr/src/digium# cat /usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml
  106. <configuration name="freetdm.conf" description="Freetdm Configuration">
  107.   <settings>
  108.     <param name="debug" value="1"/>
  109.     <!--<param name="hold-music" value="$${moh_uri}"/>-->
  110.     <!--<param name="enable-analog-option" value="call-swap"/>-->
  111.     <!--<param name="enable-analog-option" value="3-way"/>-->
  112.   </settings>
  113.  
  114.         <config_profiles>
  115.        
  116.         <profile name="my_bri_te_1">
  117.             <!--<param name="switchtype" value="euroisdn" />-->
  118.             <param name="switch" value="euroisdn" />
  119.             <param name="interface" value="cpe"/>
  120.             <param name="facility" value="no" />
  121.         </profile>
  122.        
  123.         </config_profiles>
  124.    
  125.        
  126.    
  127.        
  128.    
  129.  
  130.     <libpri_spans>
  131.        
  132.         <span name="ZTHFC1" cfgprofile="my_bri_te_1">
  133.             <param name="dialplan" value="XML"/>
  134.             <param name="context" value="public"/>
  135.          <param name="debug"    value="q931_all"/>
  136.          <param name="opts"     value="omit_redirecting_number"/>
  137.         </span>
  138.        
  139.        
  140.     </libpri_spans>
  141.    
  142.  
  143.     <analog_spans>
  144.        
  145.        
  146.     </analog_spans>
  147.  
  148. </configuration>
  149.  
  150.  
  151.  
  152. root@stag-fs01:/usr/src/digium#  /usr/local/freeswitch/bin/fs_cli -r
  153.             _____ ____     ____ _     ___            
  154.            |  ___/ ___|   / ___| |   |_ _|          
  155.            | |_  \___ \  | |   | |    | |            
  156.            |  _|  ___) | | |___| |___ | |            
  157.            |_|   |____/   \____|_____|___|          
  158.  
  159. *******************************************************
  160. * Anthony Minessale II, Ken Rice, Michael Jerris      *
  161. * FreeSWITCH (http://www.freeswitch.org)              *
  162. * Paypal Donations Appreciated: paypal@freeswitch.org *
  163. * Brought to you by ClueCon http://www.cluecon.com/   *
  164. *******************************************************
  165.  
  166. Type /help <enter> to see a list of commands
  167.  
  168.  
  169. +OK log level  [7]
  170. 2011-04-14 09:13:16.250404 [DEBUG] ftmod_libpri.c:1550 -- Caught Event span 1 4 (CONFIG_ERR)
  171. 2011-04-14 09:13:17.250410 [DEBUG] ftmod_libpri.c:1550 -- Caught Event span 1 4 (CONFIG_ERR)
  172. freeswitch@internal>ftdm list
  173.  
  174. +OK
  175. span: 1 (ZTHFC1)
  176. type: isdn
  177. physical_status: ok
  178. signaling_status: DOWN
  179. chan_count: 3
  180. dialplan: XML
  181. context: public
  182. dial_regex:
  183. fail_dial_regex:
  184. hold_music:
  185. analog_options: none
  186.  
  187. freeswitch@internal> reload mod_freetdm
  188. +OK module unloaded
  189. +OK Reloading XML
  190. +OK module loaded
  191.  
  192. 2011-04-14 09:15:27.185441 [DEBUG] switch_loadable_module.c:484 Write lock interface 'freetdm' to wait for existing references.
  193. freeswitch@internal> 2011-04-14 09:15:27.185441 [NOTICE] switch_loadable_module.c:492 Deleting Endpoint 'freetdm'
  194. 2011-04-14 09:15:27.185441 [NOTICE] switch_loadable_module.c:574 Deleting Application 'disable_ec'
  195. 2011-04-14 09:15:27.185441 [DEBUG] switch_loadable_module.c:576 Write lock interface 'disable_ec' to wait for existing references.
  196. 2011-04-14 09:15:27.185441 [NOTICE] switch_loadable_module.c:574 Deleting Application 'disable_dtmf'
  197. 2011-04-14 09:15:27.185441 [DEBUG] switch_loadable_module.c:576 Write lock interface 'disable_dtmf' to wait for existing references.
  198. 2011-04-14 09:15:27.185441 [NOTICE] switch_loadable_module.c:574 Deleting Application 'enable_dtmf'
  199. 2011-04-14 09:15:27.185441 [DEBUG] switch_loadable_module.c:576 Write lock interface 'enable_dtmf' to wait for existing references.
  200. 2011-04-14 09:15:27.185441 [NOTICE] switch_loadable_module.c:601 Deleting API Function 'ftdm'
  201. 2011-04-14 09:15:27.185441 [DEBUG] switch_loadable_module.c:603 Write lock interface 'ftdm' to wait for existing references.
  202. 2011-04-14 09:15:27.185441 [CONSOLE] switch_loadable_module.c:1402 Stopping: mod_freetdm
  203. 2011-04-14 09:15:27.185441 [DEBUG] ftdm_sched.c:217 Waiting for main schedule thread to finish
  204. 2011-04-14 09:15:27.248410 [CRIT] lpwrap_pri.c:321 Error = -1 [Success]
  205. 2011-04-14 09:15:27.248410 [DEBUG] ftmod_libpri.c:1700 PRI thread ended on span 1
  206. 2011-04-14 09:15:27.284410 [NOTICE] ftdm_sched.c:147 Main scheduling thread going out ...
  207. 2011-04-14 09:15:27.285418 [DEBUG] ftdm_io.c:2875 [s1c3][1:3] DTMF debug is already disabled
  208. 2011-04-14 09:15:27.285418 [DEBUG] ftdm_io.c:2907 [s1c3][1:3] No need to disable input dump
  209. 2011-04-14 09:15:27.285418 [DEBUG] ftdm_io.c:2938 [s1c3][1:3] No need to disable output dump
  210. 2011-04-14 09:15:27.285418 [DEBUG] ftdm_io.c:2697 [s1c3][1:3] channel done
  211. 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:612 Closing channel zt:1:1 fd:40
  212. 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:612 Closing channel zt:1:2 fd:41
  213. 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:612 Closing channel zt:1:3 fd:60
  214. 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4948 Unloading I/O interface zt
  215. 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4955 Unloaded I/O interface zt
  216. 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4948 Unloading I/O interface libpri
  217. 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4955 Unloaded I/O interface libpri
  218. 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4974 Unloading module /usr/local/freeswitch/mod/ftmod_zt.so
  219. 2011-04-14 09:15:27.285418 [DEBUG] ftdm_dso.c:90 lib 0x8c19cb8 was closed with success
  220. 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4976 Unloaded module /usr/local/freeswitch/mod/ftmod_zt.so
  221. 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4974 Unloading module /usr/local/freeswitch/mod/ftmod_libpri.so
  222. 2011-04-14 09:15:27.285418 [DEBUG] ftdm_dso.c:90 lib 0x8a3f918 was closed with success
  223. 2011-04-14 09:15:27.285418 [INFO] ftdm_io.c:4976 Unloaded module /usr/local/freeswitch/mod/ftmod_libpri.so
  224. 2011-04-14 09:15:27.285418 [DEBUG] ftdm_sched.c:552 Destroying schedule freetdm-master
  225. 2011-04-14 09:15:27.285418 [CONSOLE] switch_loadable_module.c:1422 mod_freetdm unloaded.
  226. 2011-04-14 09:15:28.162439 [INFO] mod_enum.c:755 ENUM Reloaded
  227. 2011-04-14 09:15:28.162439 [DEBUG] ftdm_config.c:52 New mod directory: /usr/local/freeswitch/mod
  228. 2011-04-14 09:15:28.162439 [DEBUG] ftdm_config.c:58 New config directory: /usr/local/freeswitch/conf
  229. 2011-04-14 09:15:28.162439 [DEBUG] ftdm_sched.c:154 Initializing scheduling API
  230. 2011-04-14 09:15:28.162439 [DEBUG] ftdm_sched.c:251 Created schedule freetdm-master
  231. 2011-04-14 09:15:28.162439 [NOTICE] ftdm_sched.c:178 Launching main schedule thread
  232. 2011-04-14 09:15:28.162439 [DEBUG] ftdm_sched.c:187 Running schedule freetdm-master in the main schedule thread
  233. 2011-04-14 09:15:28.162439 [DEBUG] ftdm_config.c:80 Configuration file is /usr/local/freeswitch/conf/modules.conf.
  234. 2011-04-14 09:15:28.162439 [INFO] switch_time.c:999 Timezone reloaded 530 definitions
  235. 2011-04-14 09:15:28.164452 [NOTICE] ftdm_io.c:5577 Modules configured: 1
  236. 2011-04-14 09:15:28.164452 [DEBUG] ftdm_config.c:80 Configuration file is /usr/local/freeswitch/conf/freetdm.conf.
  237. 2011-04-14 09:15:28.164452 [DEBUG] ftdm_io.c:4518 Reading FreeTDM configuration file
  238. 2011-04-14 09:15:28.164452 [DEBUG] ftdm_io.c:4534 found config for span
  239. 2011-04-14 09:15:28.164452 [NOTICE] ftmod_zt.c:1290 Using DAHDI control device
  240. 2011-04-14 09:15:28.164452 [INFO] ftdm_io.c:4821 Loading IO from /usr/local/freeswitch/mod/ftmod_zt.so [zt]
  241. 2011-04-14 09:15:28.164452 [DEBUG] ftdm_config.c:80 Configuration file is /usr/local/freeswitch/conf/zt.conf.
  242. 2011-04-14 09:15:28.164452 [INFO] ftmod_zt.c:577 Setting rxgain val to 0.000000
  243. 2011-04-14 09:15:28.165416 [INFO] ftmod_zt.c:585 Setting txgain val to 0.000000
  244. 2011-04-14 09:15:28.165416 [INFO] ftdm_io.c:801 Auto-loaded I/O module 'zt'
  245. 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4548 created span 1 (ZTHFC1) of type zt
  246. 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4564 span 1 [trunk_type]=[BRI]
  247. 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4569 setting trunk type to 'BRI'
  248. 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4564 span 1 [number]=[1]
  249. 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4564 span 1 [b-channel]=[1-2]
  250. 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
  251. 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
  252. 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:5123 Creating new group:__default
  253. 2011-04-14 09:15:28.165416 [DEBUG] ftdm_io.c:4564 span 1 [d-channel]=[3]
  254. 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
  255. 2011-04-14 09:15:28.165416 [INFO] ftdm_io.c:4746 Configured 3 channel(s)
  256. 2011-04-14 09:15:28.168421 [INFO] ftdm_io.c:4821 Loading IO from /usr/local/freeswitch/mod/ftmod_libpri.so [libpri]
  257. 2011-04-14 09:15:28.168421 [DEBUG] ftdm_io.c:4762 Module libpri does not support configuration.
  258. 2011-04-14 09:15:28.168421 [INFO] ftdm_io.c:4833 Loading SIG from /usr/local/freeswitch/mod/ftmod_libpri.so
  259. 2011-04-14 09:15:28.168421 [INFO] ftdm_io.c:5056 auto-loaded 'libpri'
  260. 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
  261. 2011-04-14 09:15:28.169418 [DEBUG] ftmod_libpri.c:1593 opening D-Channel #0 1:3
  262. 2011-04-14 09:15:28.169418 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  263. 2011-04-14 09:15:28.189420 [CONSOLE] switch_loadable_module.c:946 Successfully Loaded [mod_freetdm]
  264. 2011-04-14 09:15:28.189420 [NOTICE] switch_loadable_module.c:145 Adding Endpoint 'freetdm'
  265. 2011-04-14 09:15:28.190435 [NOTICE] switch_loadable_module.c:252 Adding Application 'disable_ec'
  266. 2011-04-14 09:15:28.190435 [NOTICE] switch_loadable_module.c:252 Adding Application 'disable_dtmf'
  267. 2011-04-14 09:15:28.190435 [NOTICE] switch_loadable_module.c:252 Adding Application 'enable_dtmf'
  268. 2011-04-14 09:15:28.190435 [NOTICE] switch_loadable_module.c:274 Adding API Function 'ftdm'
  269. 2011-04-14 09:15:29.220405 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  270. 2011-04-14 09:15:30.271405 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  271. 2011-04-14 09:15:31.322402 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  272. 2011-04-14 09:15:32.373401 [DEBUG] ftmod_libpri.c:146 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
  273. 2011-04-14 09:15:33.424418 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  274. 2011-04-14 09:15:34.475417 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  275. 2011-04-14 09:15:35.526410 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  276. 2011-04-14 09:15:36.577410 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  277. 2011-04-14 09:15:37.628406 [DEBUG] ftmod_libpri.c:146 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
  278. 2011-04-14 09:15:38.679405 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  279. 2011-04-14 09:15:39.730405 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  280. 2011-04-14 09:15:40.781411 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  281. 2011-04-14 09:15:41.832415 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  282. 2011-04-14 09:15:42.883412 [DEBUG] ftmod_libpri.c:146 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
  283. 2011-04-14 09:15:43.934408 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  284. 2011-04-14 09:15:44.985401 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  285. 2011-04-14 09:16:09.996416 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  286. 2011-04-14 09:16:40.998410 [ERR] ftmod_libpri.c:128 Don't know how to SABME on a type 0 node
  287. 2011-04-14 09:17:10.606415 [DEBUG] ftmod_libpri.c:1550 -- Caught Event span 1 4 (CONFIG_ERR)
  288. 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