Hi, I don't know if this solve your problems but if you use zaptel and wanpipe then /etc/openzap/openzap.conf should have: [span zt] If you use wanpipie with tdm api then /etc/openzap/openzap.conf should have: [span wanpipe] Regards, Lukasz Helmut Kuper wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
since mod_wanpipe is depricated, I try to get freeswitch with openzap, zaptel, wanpipe and Sangoma A101 E1-Pri-card running.
I use zaptel-1.4.2, wanpipe-3.1.4 and ubuntu 2.6.20-16-server. ztcfg -vv ~ detects all channels and "wanrouter list" shows the card as active. In /dev/zap I have this devices:
root@ip-pbx:/usr/src/wanpipe-3.1.4# ls -l /dev/zap/ total 0 crw-rw---- 1 root dialout 196, 1 2008-05-20 16:24 1 crw-rw---- 1 root dialout 196, 10 2008-05-20 16:24 10 crw-rw---- 1 root dialout 196, 11 2008-05-20 16:24 11 crw-rw---- 1 root dialout 196, 12 2008-05-20 16:24 12 crw-rw---- 1 root dialout 196, 13 2008-05-20 16:24 13 crw-rw---- 1 root dialout 196, 14 2008-05-20 16:24 14 crw-rw---- 1 root dialout 196, 15 2008-05-20 16:24 15 crw-rw---- 1 root dialout 196, 16 2008-05-20 16:24 16 crw-rw---- 1 root dialout 196, 17 2008-05-20 16:24 17 crw-rw---- 1 root dialout 196, 18 2008-05-20 16:24 18 crw-rw---- 1 root dialout 196, 19 2008-05-20 16:24 19 crw-rw---- 1 root dialout 196, 2 2008-05-20 16:24 2 crw-rw---- 1 root dialout 196, 20 2008-05-20 16:24 20 crw-rw---- 1 root dialout 196, 21 2008-05-20 16:24 21 crw-rw---- 1 root dialout 196, 22 2008-05-20 16:24 22 crw-rw---- 1 root dialout 196, 23 2008-05-20 16:24 23 crw-rw---- 1 root dialout 196, 24 2008-05-20 16:24 24 crw-rw---- 1 root dialout 196, 25 2008-05-20 16:24 25 crw-rw---- 1 root dialout 196, 26 2008-05-20 16:24 26 crw-rw---- 1 root dialout 196, 27 2008-05-20 16:24 27 crw-rw---- 1 root dialout 196, 28 2008-05-20 16:24 28 crw-rw---- 1 root dialout 196, 29 2008-05-20 16:24 29 crw-rw---- 1 root dialout 196, 3 2008-05-20 16:24 3 crw-rw---- 1 root dialout 196, 30 2008-05-20 16:24 30 crw-rw---- 1 root dialout 196, 31 2008-05-20 16:24 31 crw-rw---- 1 root dialout 196, 4 2008-05-20 16:24 4 crw-rw---- 1 root dialout 196, 5 2008-05-20 16:24 5 crw-rw---- 1 root dialout 196, 6 2008-05-20 16:24 6 crw-rw---- 1 root dialout 196, 7 2008-05-20 16:24 7 crw-rw---- 1 root dialout 196, 8 2008-05-20 16:24 8 crw-rw---- 1 root dialout 196, 9 2008-05-20 16:24 9 crw-rw---- 1 root dialout 196, 254 2008-05-20 16:24 channel crw-rw---- 1 root dialout 196, 0 2008-05-20 16:24 ctl crw-rw---- 1 root dialout 196, 255 2008-05-20 16:24 pseudo crw-rw---- 1 root dialout 196, 253 2008-05-20 16:24 timer crw-rw---- 1 asterisk asterisk 196, 250 2008-05-20 16:24 transcode
Freeswitch was compiled with openzap. openzap.conf.xml is in autoload_configs and has this content:
<configuration name="openzap.conf" description="OpenZAP Configuration"> ~ <settings> ~ <param name="debug" value="7"/> ~ </settings> ~ <pri_spans> ~ <span id="1"> ~ <param name="mode" value="user"/> ~ <param name="dialect" value="euro"/> ~ <param name="dialplan" value="XML"/> ~ <param name="context" value="default"/> ~ </span> ~ </pri_spans> ~ </configuration>
/etc/openzap/openzap.conf has this content: [span wanpipe] trunk_type => e1 b-channel => 1:1-15, 1:17-31 d-channel=> 1:16
freeswitch console log is:
2008-05-20 16:30:59 [NOTICE] switch_loadable_module.c:380 switch_loadable_module_process() Adding Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1] 2008-05-20 16:30:59 [ERR] zap_zt.c:721 zt_init() Cannot open control device 2008-05-20 16:30:59 [ERR] zap_io.c:2050 zap_global_init() Error initilizing zt. 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c1 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c2 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c3 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c4 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c5 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c6 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c7 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c8 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c9 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c10 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c11 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c12 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c13 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c14 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c15 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c17 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c18 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c19 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c20 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c21 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c22 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c23 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c24 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c25 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c26 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c27 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c28 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c29 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c30 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c31 2008-05-20 16:30:59 [ERR] zap_wanpipe.c:414 wp_open_range() failure configuring device s1c16 2008-05-20 16:30:59 [INFO] zap_io.c:1984 load_config() Configured 0 channel(s) 2008-05-20 16:30:59 [ERR] zap_io.c:2077 zap_global_init() No modules configured! 2008-05-20 16:30:59 [ERR] mod_openzap.c:1855 mod_openzap_load() Error loading OpenZAP 2008-05-20 16:30:59 [CRIT] switch_loadable_module.c:727 switch_loadable_module_load_file() Error Loading module /opt/app/freeswitch/mod/mod_openzap.so **Module load routine returned an error** 2008-05-20 16:30:59 [NOTICE] switch_loadable_module.c:245 switch_loadable_module_process() Adding API Function 'originate'
any ideas?
regards helmut
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkgy61YACgkQ4tZeNddg3dzGdgCdEqgGISo4UYUcHQE7tTlehG10 JxYAnAyvl4qd0YBg1v+EE3h63Q2bMQDB =ZQ+R -----END PGP SIGNATURE-----
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org