[Freeswitch-users] openzap TDM400 card

Brian May brian at microcomaustralia.com.au
Sat Feb 20 01:48:36 PST 2010


On 20 February 2010 16:57, Brian May <brian at microcomaustralia.com.au> wrote:
> I think I have the config correct, and not confused FXO/FXS anywhere.

I was confused. The messages after the incoming call gave it away.

2010-02-20 20:42:52.339813 [ERR] ozmod_analog.c:798 Cannot get a
RING_START event on a non-fxo channel, please check your config.
2010-02-20 20:42:52.339813 [WARNING] ozmod_analog.c:799 Why bother
changing state on 3:1 from DOWN to DOWN
2010-02-20 20:42:53.189813 [INFO] ozmod_zt.c:640 Setting echo cancel
to 64 taps for 3:1
2010-02-20 20:42:55.189813 [ERR] ozmod_analog.c:798 Cannot get a
RING_START event on a non-fxo channel, please check your config.
2010-02-20 20:42:56.449813 [INFO] ozmod_zt.c:640 Setting echo cancel
to 64 taps for 3:1
2010-02-20 20:42:58.239813 [ERR] ozmod_analog.c:798 Cannot get a
RING_START event on a non-fxo channel, please check your config.
2010-02-20 20:42:59.499813 [INFO] ozmod_zt.c:640 Setting echo cancel
to 64 taps for 3:1
2010-02-20 20:43:01.299813 [ERR] ozmod_analog.c:798 Cannot get a
RING_START event on a non-fxo channel, please check your config.
2010-02-20 20:43:02.569813 [INFO] ozmod_zt.c:640 Setting echo cancel
to 64 taps for 3:1
2010-02-20 20:43:04.379813 [ERR] ozmod_analog.c:798 Cannot get a
RING_START event on a non-fxo channel, please check your config.
2010-02-20 20:43:05.659813 [INFO] ozmod_zt.c:640 Setting echo cancel
to 64 taps for 3:1

It appears that a port listed as fxoks in zaptel.conf becomes fxs in
openzap.conf, and a port listed as fxsks becomes fxo in openzap.conf -
it would be nice if this were documented somewhere...


Working configuration:


voyage:/opt/freeswitch/conf# cat /etc/zaptel.conf
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)
fxoks=1
fxoks=2
fxsks=3
fxsks=4

# Global data

loadzone	= au
defaultzone	= au
voyage:/opt/freeswitch/conf# vim openzap.conf
voyage:/opt/freeswitch/conf# cat /etc/zaptel.conf
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)
fxoks=1
fxoks=2
fxsks=3
fxsks=4

# Global data

loadzone	= au
defaultzone	= au
voyage:/opt/freeswitch/conf# cat openzap.conf
[span zt FXS1]
name => OpenZAP-FXS1
number => 1
fxs-channel => 1

[span zt FXS2]
name => OpenZAP-FXS2
number => 2
fxs-channel => 2

[span zt FXO1]
name => OpenZAP-FXO1
number => 3
fxo-channel => 3

[span zt FXO2]
name => OpenZAP-FXO2
number => 4
fxo-channel => 4


-- 
Brian May <brian at microcomaustralia.com.au>




More information about the FreeSWITCH-users mailing list