Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] FXS ports not working on Sangoma A200 [solved]


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
bwood-lists at jacosof...
Guest





PostPosted: Fri May 15, 2009 3:11 pm    Post subject: [Freeswitch-users] FXS ports not working on Sangoma A200 [so Reply with quote

Ah! I was looking at the dates not the version numbers on their site.
The beta is listed as 2008-xx-yy and the stable 2009-xx-yy, so I grabbed
what I thought was the newer one.

Once I rebuilt everything, FXO and FXS are both working.

FYI: The last commit to ozmod_wanpipe.c broke it for Linux, but I expect
someone will notice this out soon enough. I had to back down to the
previous revision to compile:

Index: ozmod_wanpipe.c
===================================================================
--- ozmod_wanpipe.c (revision 733)
+++ ozmod_wanpipe.c (revision 732)
@@ -36,35 +36,10 @@
#include <stropts.h>
#endif
#include "openzap.h"
-#ifndef __WINDOWS__
#include <poll.h>
#include <sys/socket.h>...

-#endif
#include "libsangoma.h"

-#if defined(__WINDOWS__)
-/*! Backward compatible defines - current code is all using the old
names*/
-#define sangoma_open_tdmapi_span_chan sangoma_open_api_span_chan
-#define sangoma_open_tdmapi_span sangoma_open_api_span
-#define sangoma_open_tdmapi_ctrl sangoma_open_api_ctrl
-#define sangoma_tdm_get_fe_status sangoma_get_fe_status
-#define sangoma_socket_close sangoma_close
-#define sangoma_tdm_get_hw_coding sangoma_get_hw_coding
-#define sangoma_tdm_set_fe_status sangoma_set_fe_status
-#define sangoma_tdm_get_link_status sangoma_get_link_status
-#define sangoma_tdm_flush_bufs sangoma_flush_bufs
-#define sangoma_tdm_cmd_exec sangoma_cmd_exec
-#define sangoma_tdm_read_event sangoma_read_event
-#define sangoma_readmsg_tdm sangoma_readmsg
-#define sangoma_readmsg_socket sangoma_readmsg
-#define sangoma_sendmsg_socket sangoma_writemsg
-#define sangoma_writemsg_tdm sangoma_writemsg
-#define sangoma_create_socket_intr sangoma_open_api_span_chan
-#define EX_DECLARE_DATA
__declspec(dllexport)
-#else
-WP_DECLARE_DATA
-#endif
-
typedef enum {
WP_RINGING = (1 << 0)
} wp_flag_t;
@@ -874,7 +849,7 @@
}


-EX_DECLARE_DATA zap_module_t zap_module = {
+zap_module_t zap_module = {
"wanpipe",
wanpipe_init,
wanpipe_destroy,

Michael Jerris wrote:
Quote:
try the 3.5.2 drivers.

Mike




_______________________________________________
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
Back to top
mike at jerris.com
Guest





PostPosted: Fri May 15, 2009 4:29 pm    Post subject: [Freeswitch-users] FXS ports not working on Sangoma A200 [so Reply with quote

sorry about the typo in that commit, this is fixed in tree now.

Mike

On May 15, 2009, at 4:06 PM, Brian Wood wrote:

Quote:
Ah! I was looking at the dates not the version numbers on their site.
The beta is listed as 2008-xx-yy and the stable 2009-xx-yy, so I
grabbed
what I thought was the newer one.

Once I rebuilt everything, FXO and FXS are both working.

FYI: The last commit to ozmod_wanpipe.c broke it for Linux, but I
expect
someone will notice this out soon enough. I had to back down to the
previous revision to compile:

Index: ozmod_wanpipe.c
===================================================================
--- ozmod_wanpipe.c (revision 733)
+++ ozmod_wanpipe.c (revision 732)
@@ -36,35 +36,10 @@
#include <stropts.h>
#endif
#include "openzap.h"
-#ifndef __WINDOWS__
#include <poll.h>
#include <sys/socket.h>...

-#endif
#include "libsangoma.h"

-#if defined(__WINDOWS__)
-/*! Backward compatible defines - current code is all using the old
names*/
-#define sangoma_open_tdmapi_span_chan sangoma_open_api_span_chan
-#define sangoma_open_tdmapi_span sangoma_open_api_span
-#define sangoma_open_tdmapi_ctrl sangoma_open_api_ctrl
-#define sangoma_tdm_get_fe_status sangoma_get_fe_status
-#define sangoma_socket_close sangoma_close
-#define sangoma_tdm_get_hw_coding sangoma_get_hw_coding
-#define sangoma_tdm_set_fe_status sangoma_set_fe_status
-#define sangoma_tdm_get_link_status sangoma_get_link_status
-#define sangoma_tdm_flush_bufs sangoma_flush_bufs
-#define sangoma_tdm_cmd_exec sangoma_cmd_exec
-#define sangoma_tdm_read_event sangoma_read_event
-#define sangoma_readmsg_tdm sangoma_readmsg
-#define sangoma_readmsg_socket sangoma_readmsg
-#define sangoma_sendmsg_socket sangoma_writemsg
-#define sangoma_writemsg_tdm sangoma_writemsg
-#define sangoma_create_socket_intr sangoma_open_api_span_chan
-#define EX_DECLARE_DATA
__declspec(dllexport)
-#else
-WP_DECLARE_DATA
-#endif
-
typedef enum {
WP_RINGING = (1 << 0)
} wp_flag_t;
@@ -874,7 +849,7 @@
}


-EX_DECLARE_DATA zap_module_t zap_module = {
+zap_module_t zap_module = {
"wanpipe",
wanpipe_init,
wanpipe_destroy,

Michael Jerris wrote:
Quote:
try the 3.5.2 drivers.

Mike




_

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services