change name part 2
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@819 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
b6974bd69d
commit
6a29e94eb3
|
@ -36,7 +36,7 @@ moddir = @modinstdir@
|
||||||
libdir = $(PREFIX)/lib/
|
libdir = $(PREFIX)/lib/
|
||||||
library_includedir = $(PREFIX)/include
|
library_includedir = $(PREFIX)/include
|
||||||
|
|
||||||
INCS = -I$(OZ_SRCDIR)/$(SRC)/include -I$(OZ_SRCDIR)/$(SRC)/isdn/include -I$(OZ_SRCDIR)/$(SRC)/ozmod/ozmod_ss7_boost
|
INCS = -I$(OZ_SRCDIR)/$(SRC)/include -I$(OZ_SRCDIR)/$(SRC)/isdn/include -I$(OZ_SRCDIR)/$(SRC)/ozmod/ozmod_sangoma_boost
|
||||||
MY_CFLAGS = $(INCS) $(ZAP_CFLAGS) -DZAP_CONFIG_DIR=\"@confdir@\" -DZAP_MOD_DIR=\"$(moddir)\" @COMP_VENDOR_CFLAGS@ @DEFS@
|
MY_CFLAGS = $(INCS) $(ZAP_CFLAGS) -DZAP_CONFIG_DIR=\"@confdir@\" -DZAP_MOD_DIR=\"$(moddir)\" @COMP_VENDOR_CFLAGS@ @DEFS@
|
||||||
COMPILE = $(CC) $(MY_CFLAGS) $(INCS)
|
COMPILE = $(CC) $(MY_CFLAGS) $(INCS)
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(COMPILE)
|
LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(COMPILE)
|
||||||
|
@ -146,7 +146,7 @@ testanalog_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
||||||
#
|
#
|
||||||
# ozmod modules
|
# ozmod modules
|
||||||
#
|
#
|
||||||
mod_LTLIBRARIES = ozmod_zt.la ozmod_skel.la ozmod_isdn.la ozmod_analog.la ozmod_analog_em.la ozmod_ss7_boost.la
|
mod_LTLIBRARIES = ozmod_zt.la ozmod_skel.la ozmod_isdn.la ozmod_analog.la ozmod_analog_em.la ozmod_sangoma_boost.la
|
||||||
|
|
||||||
if LIBSANGOMA
|
if LIBSANGOMA
|
||||||
mod_LTLIBRARIES += ozmod_wanpipe.la
|
mod_LTLIBRARIES += ozmod_wanpipe.la
|
||||||
|
@ -214,10 +214,10 @@ ozmod_analog_em_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
||||||
ozmod_analog_em_la_LDFLAGS = -module -avoid-version
|
ozmod_analog_em_la_LDFLAGS = -module -avoid-version
|
||||||
ozmod_analog_em_la_LIBADD = $(MYLIB)
|
ozmod_analog_em_la_LIBADD = $(MYLIB)
|
||||||
|
|
||||||
ozmod_ss7_boost_la_SOURCES = $(SRC)/ozmod/ozmod_ss7_boost/ss7_boost_client.c $(SRC)/ozmod/ozmod_ss7_boost/ozmod_ss7_boost.c
|
ozmod_sangoma_boost_la_SOURCES = $(SRC)/ozmod/ozmod_sangoma_boost/sangoma_boost_client.c $(SRC)/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c
|
||||||
ozmod_ss7_boost_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
ozmod_sangoma_boost_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
||||||
ozmod_ss7_boost_la_LDFLAGS = -module -avoid-version
|
ozmod_sangoma_boost_la_LDFLAGS = -module -avoid-version
|
||||||
ozmod_ss7_boost_la_LIBADD = $(MYLIB)
|
ozmod_sangoma_boost_la_LIBADD = $(MYLIB)
|
||||||
|
|
||||||
if LIBPRI
|
if LIBPRI
|
||||||
ozmod_libpri_la_SOURCES = $(SRC)/ozmod/ozmod_libpri/ozmod_libpri.c $(SRC)/ozmod/ozmod_libpri/lpwrap_pri.c
|
ozmod_libpri_la_SOURCES = $(SRC)/ozmod/ozmod_libpri/ozmod_libpri.c $(SRC)/ozmod/ozmod_libpri/lpwrap_pri.c
|
||||||
|
|
|
@ -2300,7 +2300,7 @@ static switch_status_t load_config(void)
|
||||||
span_id = span->span_id;
|
span_id = span->span_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (zap_configure_span("ss7_boost", span, on_clear_channel_signal,
|
if (zap_configure_span("sangoma_boost", span, on_clear_channel_signal,
|
||||||
"local_ip", local_ip,
|
"local_ip", local_ip,
|
||||||
"local_port", &local_port,
|
"local_port", &local_port,
|
||||||
"remote_ip", remote_ip,
|
"remote_ip", remote_ip,
|
||||||
|
@ -2315,7 +2315,7 @@ static switch_status_t load_config(void)
|
||||||
switch_copy_string(SPAN_CONFIG[span->span_id].dialplan, dialplan, sizeof(SPAN_CONFIG[span->span_id].dialplan));
|
switch_copy_string(SPAN_CONFIG[span->span_id].dialplan, dialplan, sizeof(SPAN_CONFIG[span->span_id].dialplan));
|
||||||
|
|
||||||
zap_span_start(span);
|
zap_span_start(span);
|
||||||
switch_copy_string(SPAN_CONFIG[span->span_id].type, "ss7 (boost)", sizeof(SPAN_CONFIG[span->span_id].type));
|
switch_copy_string(SPAN_CONFIG[span->span_id].type, "Sangoma (boost)", sizeof(SPAN_CONFIG[span->span_id].type));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -174,7 +174,7 @@ typedef enum {
|
||||||
ZAP_SIGTYPE_ISDN,
|
ZAP_SIGTYPE_ISDN,
|
||||||
ZAP_SIGTYPE_RBS,
|
ZAP_SIGTYPE_RBS,
|
||||||
ZAP_SIGTYPE_ANALOG,
|
ZAP_SIGTYPE_ANALOG,
|
||||||
ZAP_SIGTYPE_SS7BOOST,
|
ZAP_SIGTYPE_SANGOMABOOST,
|
||||||
ZAP_SIGTYPE_M3UA,
|
ZAP_SIGTYPE_M3UA,
|
||||||
ZAP_SIGTYPE_R2
|
ZAP_SIGTYPE_R2
|
||||||
} zap_signal_type_t;
|
} zap_signal_type_t;
|
||||||
|
|
Loading…
Reference in New Issue