errors installing wanpipe drivers
Hi All, I am currently installing a Sangoma A102 card to work with FS using wanpipe drivers (OS = Ubuntu Jaunty). The problem is I can't get openzap-related modules to compile:
cd wanpipe-3.5.6.5/ make openzap ... make[2]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make -C api/libstelephony clean make[1]: Entering directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make: *** [all_lib] Error 2
The libstelephony directory has no Makefile in it. Why is it missing? Is there a version of wanpipe drivers that will work? I have been unsuccessful with 3.4.4 and 3.5.6 in similar fashion. Thanks, Neil
I did manage to build these drivers, but maybe you're not doing it the right way. Sangoma document state that the drivers should be built by using their ./Setup script that does all that is required. I did use ./Setup install which builds the kernel modules, the wanrouter utilities and install all the required stuff. Then you can go back to freeswitch and build the mod_openzap/libopenzap. François On Mon, 30 Nov 2009 15:19:43 +0530, Neil Patel wrote: Hi All, I am currently installing a Sangoma A102 card to work with FS using wanpipe drivers (OS = Ubuntu Jaunty). The problem is I can't get openzap-related modules to compile:
cd wanpipe-3.5.6.5/ make openzap ... make[2]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make -C api/libstelephony clean make[1]: Entering directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make: *** [all_lib] Error 2
The libstelephony directory has no Makefile in it. Why is it missing? Is there a version of wanpipe drivers that will work? I have been unsuccessful with 3.4.4 and 3.5.6 in similar fashion. Thanks, Neil
make openzap is the correct way to build when using with openzap/freeswitch. If you are having issues with this you should check with sangoma support as to why that build of the drivers is not supporting it properly and what version you should be using. Mike On Nov 30, 2009, at 5:41 AM, François Legal wrote:
I did manage to build these drivers, but maybe you're not doing it the right way. Sangoma document state that the drivers should be built by using their ./Setup script that does all that is required.
I did use ./Setup install which builds the kernel modules, the wanrouter utilities and install all the required stuff.
Then you can go back to freeswitch and build the mod_openzap/libopenzap.
François
On Mon, 30 Nov 2009 15:19:43 +0530, Neil Patel <neilp@cs.stanford.edu> wrote:
Hi All,
I am currently installing a Sangoma A102 card to work with FS using wanpipe drivers (OS = Ubuntu Jaunty). The problem is I can't get openzap-related modules to compile:
cd wanpipe-3.5.6.5/ make openzap ... make[2]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make -C api/libstelephony clean make[1]: Entering directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make: *** [all_lib] Error 2
The libstelephony directory has no Makefile in it. Why is it missing? Is there a version of wanpipe drivers that will work? I have been unsuccessful with 3.4.4 and 3.5.6 in similar fashion.
Thanks, Neil
_______________________________________________ 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
On Mon, Nov 30, 2009 at 4:49 AM, Neil Patel <neilp@cs.stanford.edu> wrote:
Hi All,
I am currently installing a Sangoma A102 card to work with FS using wanpipe drivers (OS = Ubuntu Jaunty). The problem is I can't get openzap-related modules to compile:
cd wanpipe-3.5.6.5/ make openzap ... make[2]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make -C api/libstelephony clean make[1]: Entering directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make: *** [all_lib] Error 2
The libstelephony directory has no Makefile in it. Why is it missing? Is there a version of wanpipe drivers that will work? I have been unsuccessful with 3.4.4 and 3.5.6 in similar fashion.
Hi Neil, Most likely the creation of the Makefile failed (since you mention you can't see a Makefile). Please be sure to have installed the pre-requisites listed at http://wiki.sangoma.com/Requirements Particularly in this case, libtool, autoconf and automake packages. -- Moises Silva Software Developer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com
Thanks all for your help. I got around this by running ./Setup and installing wanpipe in TDM API mode (it says it's the default for FS). I then uncommented the mod_openzap line in modules.conf when installing FS. Finally I ran wancfg_fs which creates appropriate config files for you for your FS installation. I believe openzap is now installed properly: 2009-12-04 12:04:52.411017 [INFO] zap_io.c:2451 Loading IO from /usr/local/freeswitch/mod/ozmod_wanpipe.so [wanpipe] 2009-12-04 12:04:52.411126 [INFO] zap_io.c:2251 auto-loaded 'wanpipe' 2009-12-04 12:04:52.411311 [INFO] ozmod_wanpipe.c:287 configuring device s1c1 as OpenZAP device 1:1 fd:14 DTMF: software 2009-12-04 12:04:52.411377 [INFO] ozmod_wanpipe.c:287 configuring device s1c2 as OpenZAP device 1:2 fd:15 DTMF: software 2009-12-04 12:04:52.411444 [INFO] ozmod_wanpipe.c:287 configuring device s1c3 as OpenZAP device 1:3 fd:17 DTMF: software 2009-12-04 12:04:52.411509 [INFO] ozmod_wanpipe.c:287 configuring device s1c4 as OpenZAP device 1:4 fd:18 DTMF: software 2009-12-04 12:04:52.411575 [INFO] ozmod_wanpipe.c:287 configuring device s1c5 as OpenZAP device 1:5 fd:19 DTMF: software 2009-12-04 12:04:52.411639 [INFO] ozmod_wanpipe.c:287 configuring device s1c6 as OpenZAP device 1:6 fd:20 DTMF: software 2009-12-04 12:04:52.411707 [INFO] ozmod_wanpipe.c:287 configuring device s1c7 as OpenZAP device 1:7 fd:21 DTMF: software 2009-12-04 12:04:52.411771 [INFO] ozmod_wanpipe.c:287 configuring device s1c8 as OpenZAP device 1:8 fd:22 DTMF: software 2009-12-04 12:04:52.411837 [INFO] ozmod_wanpipe.c:287 configuring device s1c9 as OpenZAP device 1:9 fd:23 DTMF: software 2009-12-04 12:04:52.411903 [INFO] ozmod_wanpipe.c:287 configuring device s1c10 as OpenZAP device 1:10 fd:24 DTMF: software 2009-12-04 12:04:52.411969 [INFO] ozmod_wanpipe.c:287 configuring device s1c11 as OpenZAP device 1:11 fd:25 DTMF: software 2009-12-04 12:04:52.412034 [INFO] ozmod_wanpipe.c:287 configuring device s1c12 as OpenZAP device 1:12 fd:26 DTMF: software 2009-12-04 12:04:52.412102 [INFO] ozmod_wanpipe.c:287 configuring device s1c13 as OpenZAP device 1:13 fd:27 DTMF: software 2009-12-04 12:04:52.412179 [INFO] ozmod_wanpipe.c:287 configuring device s1c14 as OpenZAP device 1:14 fd:28 DTMF: software 2009-12-04 12:04:52.412244 [INFO] ozmod_wanpipe.c:287 configuring device s1c15 as OpenZAP device 1:15 fd:29 DTMF: software TDM API: CMD: 18 : Operation not supported 2009-12-04 12:04:52.412416 [INFO] ozmod_wanpipe.c:287 configuring device s1c16 as OpenZAP device 1:16 fd:30 DTMF: none 2009-12-04 12:04:52.412503 [INFO] ozmod_wanpipe.c:287 configuring device s1c17 as OpenZAP device 1:17 fd:31 DTMF: software 2009-12-04 12:04:52.412568 [INFO] ozmod_wanpipe.c:287 configuring device s1c18 as OpenZAP device 1:18 fd:32 DTMF: software 2009-12-04 12:04:52.412634 [INFO] ozmod_wanpipe.c:287 configuring device s1c19 as OpenZAP device 1:19 fd:33 DTMF: software 2009-12-04 12:04:52.412708 [INFO] ozmod_wanpipe.c:287 configuring device s1c20 as OpenZAP device 1:20 fd:34 DTMF: software 2009-12-04 12:04:52.412771 [INFO] ozmod_wanpipe.c:287 configuring device s1c21 as OpenZAP device 1:21 fd:35 DTMF: software 2009-12-04 12:04:52.412838 [INFO] ozmod_wanpipe.c:287 configuring device s1c22 as OpenZAP device 1:22 fd:36 DTMF: software 2009-12-04 12:04:52.412902 [INFO] ozmod_wanpipe.c:287 configuring device s1c23 as OpenZAP device 1:23 fd:37 DTMF: software 2009-12-04 12:04:52.412948 [INFO] ozmod_wanpipe.c:287 configuring device s1c24 as OpenZAP device 1:24 fd:38 DTMF: software 2009-12-04 12:04:52.412988 [INFO] ozmod_wanpipe.c:287 configuring device s1c25 as OpenZAP device 1:25 fd:39 DTMF: software 2009-12-04 12:04:52.413018 [INFO] ozmod_wanpipe.c:287 configuring device s1c26 as OpenZAP device 1:26 fd:40 DTMF: software 2009-12-04 12:04:52.413041 [INFO] ozmod_wanpipe.c:287 configuring device s1c27 as OpenZAP device 1:27 fd:41 DTMF: software 2009-12-04 12:04:52.413063 [INFO] ozmod_wanpipe.c:287 configuring device s1c28 as OpenZAP device 1:28 fd:42 DTMF: software 2009-12-04 12:04:52.413086 [INFO] ozmod_wanpipe.c:287 configuring device s1c29 as OpenZAP device 1:29 fd:43 DTMF: software 2009-12-04 12:04:52.413106 [INFO] ozmod_wanpipe.c:287 configuring device s1c30 as OpenZAP device 1:30 fd:44 DTMF: software 2009-12-04 12:04:52.413128 [INFO] ozmod_wanpipe.c:287 configuring device s1c31 as OpenZAP device 1:31 fd:45 DTMF: software 2009-12-04 12:04:52.413142 [INFO] zap_io.c:2374 Configured 31 channel(s) 2009-12-04 12:04:52.431405 [INFO] zap_io.c:2468 Loading SIG from /usr/local/freeswitch/mod/ozmod_ss7_boost.so 2009-12-04 12:04:52.431441 [INFO] zap_io.c:2584 auto-loaded 'ss7_boost' 2009-12-04 12:04:52.431541 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_openzap] 2009-12-04 12:04:52.431553 [NOTICE] switch_loadable_module.c:142 Adding Endpoint 'openzap' 2009-12-04 12:04:52.431638 [NOTICE] switch_loadable_module.c:248 Adding Application 'disable_ec' 2009-12-04 12:04:52.431659 [NOTICE] switch_loadable_module.c:270 Adding API Function 'oz' 2009-12-04 12:04:52.432009 [WARNING] ss7_boost_client.c:244 TX EVENT (P): SYSTEM_RESTART:(87) [w1g1] Rc=0 CSid=0 Seq=0 Does this look right? Thanks. On Mon, Nov 30, 2009 at 9:09 PM, Moises Silva <moises.silva@gmail.com>wrote:
On Mon, Nov 30, 2009 at 4:49 AM, Neil Patel <neilp@cs.stanford.edu> wrote:
Hi All,
I am currently installing a Sangoma A102 card to work with FS using wanpipe drivers (OS = Ubuntu Jaunty). The problem is I can't get openzap-related modules to compile:
cd wanpipe-3.5.6.5/ make openzap ... make[2]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make -C api/libstelephony clean make[1]: Entering directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make: *** [all_lib] Error 2
The libstelephony directory has no Makefile in it. Why is it missing? Is there a version of wanpipe drivers that will work? I have been unsuccessful with 3.4.4 and 3.5.6 in similar fashion.
Hi Neil,
Most likely the creation of the Makefile failed (since you mention you can't see a Makefile). Please be sure to have installed the pre-requisites listed at http://wiki.sangoma.com/Requirements
Particularly in this case, libtool, autoconf and automake packages.
-- Moises Silva Software Developer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com
_______________________________________________ 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
Looks good so far. Try "oz list" and "oz dump 1" and see what happens. -MC On Thu, Dec 3, 2009 at 10:36 PM, Neil Patel <neilp@cs.stanford.edu> wrote:
Thanks all for your help. I got around this by running ./Setup and installing wanpipe in TDM API mode (it says it's the default for FS). I then uncommented the mod_openzap line in modules.conf when installing FS. Finally I ran wancfg_fs which creates appropriate config files for you for your FS installation. I believe openzap is now installed properly:
2009-12-04 12:04:52.411017 [INFO] zap_io.c:2451 Loading IO from /usr/local/freeswitch/mod/ozmod_wanpipe.so [wanpipe] 2009-12-04 12:04:52.411126 [INFO] zap_io.c:2251 auto-loaded 'wanpipe' 2009-12-04 12:04:52.411311 [INFO] ozmod_wanpipe.c:287 configuring device s1c1 as OpenZAP device 1:1 fd:14 DTMF: software 2009-12-04 12:04:52.411377 [INFO] ozmod_wanpipe.c:287 configuring device s1c2 as OpenZAP device 1:2 fd:15 DTMF: software 2009-12-04 12:04:52.411444 [INFO] ozmod_wanpipe.c:287 configuring device s1c3 as OpenZAP device 1:3 fd:17 DTMF: software 2009-12-04 12:04:52.411509 [INFO] ozmod_wanpipe.c:287 configuring device s1c4 as OpenZAP device 1:4 fd:18 DTMF: software 2009-12-04 12:04:52.411575 [INFO] ozmod_wanpipe.c:287 configuring device s1c5 as OpenZAP device 1:5 fd:19 DTMF: software 2009-12-04 12:04:52.411639 [INFO] ozmod_wanpipe.c:287 configuring device s1c6 as OpenZAP device 1:6 fd:20 DTMF: software 2009-12-04 12:04:52.411707 [INFO] ozmod_wanpipe.c:287 configuring device s1c7 as OpenZAP device 1:7 fd:21 DTMF: software 2009-12-04 12:04:52.411771 [INFO] ozmod_wanpipe.c:287 configuring device s1c8 as OpenZAP device 1:8 fd:22 DTMF: software 2009-12-04 12:04:52.411837 [INFO] ozmod_wanpipe.c:287 configuring device s1c9 as OpenZAP device 1:9 fd:23 DTMF: software 2009-12-04 12:04:52.411903 [INFO] ozmod_wanpipe.c:287 configuring device s1c10 as OpenZAP device 1:10 fd:24 DTMF: software 2009-12-04 12:04:52.411969 [INFO] ozmod_wanpipe.c:287 configuring device s1c11 as OpenZAP device 1:11 fd:25 DTMF: software 2009-12-04 12:04:52.412034 [INFO] ozmod_wanpipe.c:287 configuring device s1c12 as OpenZAP device 1:12 fd:26 DTMF: software 2009-12-04 12:04:52.412102 [INFO] ozmod_wanpipe.c:287 configuring device s1c13 as OpenZAP device 1:13 fd:27 DTMF: software 2009-12-04 12:04:52.412179 [INFO] ozmod_wanpipe.c:287 configuring device s1c14 as OpenZAP device 1:14 fd:28 DTMF: software 2009-12-04 12:04:52.412244 [INFO] ozmod_wanpipe.c:287 configuring device s1c15 as OpenZAP device 1:15 fd:29 DTMF: software TDM API: CMD: 18 : Operation not supported 2009-12-04 12:04:52.412416 [INFO] ozmod_wanpipe.c:287 configuring device s1c16 as OpenZAP device 1:16 fd:30 DTMF: none 2009-12-04 12:04:52.412503 [INFO] ozmod_wanpipe.c:287 configuring device s1c17 as OpenZAP device 1:17 fd:31 DTMF: software 2009-12-04 12:04:52.412568 [INFO] ozmod_wanpipe.c:287 configuring device s1c18 as OpenZAP device 1:18 fd:32 DTMF: software 2009-12-04 12:04:52.412634 [INFO] ozmod_wanpipe.c:287 configuring device s1c19 as OpenZAP device 1:19 fd:33 DTMF: software 2009-12-04 12:04:52.412708 [INFO] ozmod_wanpipe.c:287 configuring device s1c20 as OpenZAP device 1:20 fd:34 DTMF: software 2009-12-04 12:04:52.412771 [INFO] ozmod_wanpipe.c:287 configuring device s1c21 as OpenZAP device 1:21 fd:35 DTMF: software 2009-12-04 12:04:52.412838 [INFO] ozmod_wanpipe.c:287 configuring device s1c22 as OpenZAP device 1:22 fd:36 DTMF: software 2009-12-04 12:04:52.412902 [INFO] ozmod_wanpipe.c:287 configuring device s1c23 as OpenZAP device 1:23 fd:37 DTMF: software 2009-12-04 12:04:52.412948 [INFO] ozmod_wanpipe.c:287 configuring device s1c24 as OpenZAP device 1:24 fd:38 DTMF: software 2009-12-04 12:04:52.412988 [INFO] ozmod_wanpipe.c:287 configuring device s1c25 as OpenZAP device 1:25 fd:39 DTMF: software 2009-12-04 12:04:52.413018 [INFO] ozmod_wanpipe.c:287 configuring device s1c26 as OpenZAP device 1:26 fd:40 DTMF: software 2009-12-04 12:04:52.413041 [INFO] ozmod_wanpipe.c:287 configuring device s1c27 as OpenZAP device 1:27 fd:41 DTMF: software 2009-12-04 12:04:52.413063 [INFO] ozmod_wanpipe.c:287 configuring device s1c28 as OpenZAP device 1:28 fd:42 DTMF: software 2009-12-04 12:04:52.413086 [INFO] ozmod_wanpipe.c:287 configuring device s1c29 as OpenZAP device 1:29 fd:43 DTMF: software 2009-12-04 12:04:52.413106 [INFO] ozmod_wanpipe.c:287 configuring device s1c30 as OpenZAP device 1:30 fd:44 DTMF: software 2009-12-04 12:04:52.413128 [INFO] ozmod_wanpipe.c:287 configuring device s1c31 as OpenZAP device 1:31 fd:45 DTMF: software 2009-12-04 12:04:52.413142 [INFO] zap_io.c:2374 Configured 31 channel(s) 2009-12-04 12:04:52.431405 [INFO] zap_io.c:2468 Loading SIG from /usr/local/freeswitch/mod/ozmod_ss7_boost.so 2009-12-04 12:04:52.431441 [INFO] zap_io.c:2584 auto-loaded 'ss7_boost' 2009-12-04 12:04:52.431541 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_openzap] 2009-12-04 12:04:52.431553 [NOTICE] switch_loadable_module.c:142 Adding Endpoint 'openzap' 2009-12-04 12:04:52.431638 [NOTICE] switch_loadable_module.c:248 Adding Application 'disable_ec' 2009-12-04 12:04:52.431659 [NOTICE] switch_loadable_module.c:270 Adding API Function 'oz' 2009-12-04 12:04:52.432009 [WARNING] ss7_boost_client.c:244 TX EVENT (P): SYSTEM_RESTART:(87) [w1g1] Rc=0 CSid=0 Seq=0
Does this look right? Thanks.
On Mon, Nov 30, 2009 at 9:09 PM, Moises Silva <moises.silva@gmail.com>wrote:
On Mon, Nov 30, 2009 at 4:49 AM, Neil Patel <neilp@cs.stanford.edu>wrote:
Hi All,
I am currently installing a Sangoma A102 card to work with FS using wanpipe drivers (OS = Ubuntu Jaunty). The problem is I can't get openzap-related modules to compile:
cd wanpipe-3.5.6.5/ make openzap ... make[2]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libsangoma' make -C api/libstelephony clean make[1]: Entering directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/usr/src/wanpipe-3.5.6.5/api/libstelephony' make: *** [all_lib] Error 2
The libstelephony directory has no Makefile in it. Why is it missing? Is there a version of wanpipe drivers that will work? I have been unsuccessful with 3.4.4 and 3.5.6 in similar fashion.
Hi Neil,
Most likely the creation of the Makefile failed (since you mention you can't see a Makefile). Please be sure to have installed the pre-requisites listed at http://wiki.sangoma.com/Requirements
Particularly in this case, libtool, autoconf and automake packages.
-- Moises Silva Software Developer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com
_______________________________________________ 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
_______________________________________________ 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
participants (5)
-
François Legal
-
Michael Collins
-
Michael Jerris
-
Moises Silva
-
Neil Patel