Installing OpenZap?

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing OpenZap?

GillesToo
Hello

I read the documents in the wiki, but my Dahdi + OpenZap + FXO card combo doesn't work, so I'd like to check if I made a mistake, overlooked something, or maybe some things have changed since Asterisk moved from Zaptel to Dahdi and the wiki hasn't been updated accordingly:

1. Compiled Dahdi 2.3.0, and successfully loaded it:

# /etc/init.d/dahdi status
### Span  1: WCFXO/0 "Wildcard X100P Board 1" (MASTER) RED
  1 FXO        FXSKS       (SWEC: MG2)  RED
 
2. vi /usr/local/freeswitch/conf/zt.conf: Nothing to do here, apparently

3. vi /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml: Uncommented <load module ="mod_openzap"/> 

4. vi /usr/local/freeswitch/conf/autoload_configs/openzap.conf.xml: Left default settings

5. vi /usr/local/freeswitch/conf/openzap.conf:
[span zt]
name => OpenZAP
number => 1
fxo-channel => 1

6. The wiki says to then run fs_cli, followed by "oz list", but: "oz list: Command not found!"

Did I miss something?

Thank you for any hint.
Reply | Threaded
Open this post in threaded view
|

Re: Installing OpenZap?

Troy Anderson-2
oz list will only work if openzap is loaded, so that's a clue that it isn't for some reason.

Try issuing reload mod_openzap from the cli and take a look at the output.  There is likely an error on load, and that error may lead you to what's wrong with the config.

-Troy

Troy Anderson

[hidden email]



On May 27, 2010, at 4:51 PM, GillesToo wrote:


Hello

I read the documents in the wiki, but my Dahdi + OpenZap + FXO card combo
doesn't work, so I'd like to check if I made a mistake, overlooked
something, or maybe some things have changed since Asterisk moved from
Zaptel to Dahdi and the wiki hasn't been updated accordingly:

1. Compiled Dahdi 2.3.0, and successfully loaded it:

# /etc/init.d/dahdi status
### Span  1: WCFXO/0 "Wildcard X100P Board 1" (MASTER) RED
 1 FXO        FXSKS       (SWEC: MG2)  RED

2. vi /usr/local/freeswitch/conf/zt.conf: Nothing to do here, apparently

3. vi /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml:
Uncommented <load module ="mod_openzap"/>

4. vi /usr/local/freeswitch/conf/autoload_configs/openzap.conf.xml: Left
default settings

5. vi /usr/local/freeswitch/conf/openzap.conf:
[span zt]
name => OpenZAP
number => 1
fxo-channel => 1

6. The wiki says to then run fs_cli, followed by "oz list", but: "oz list:
Command not found!"

Did I miss something?

Thank you for any hint.
--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Installing-OpenZap-tp5111050p5111050.html
Sent from the freeswitch-users mailing list archive at Nabble.com.

_______________________________________________
FreeSWITCH-users mailing list
[hidden email]
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
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: Installing OpenZap?

GillesToo
Troy Anderson-2 wrote
oz list will only work if openzap is loaded, so that's a clue that it isn't for some reason. Try issuing reload mod_openzap from the cli and take a look at the output.  There is likely an error on load, and that error may lead you to what's wrong with the config.
Thanks for the tip. Here's what "reload mod_openzap" returns:

freeswitch@internal> load mod_openzap
-ERR [module load file routine returned an error]

freeswitch@internal> 2010-05-28 12:13:51.138275 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/modules.conf.
2010-05-28 12:13:51.138275 [NOTICE] zap_io.c:3057 Modules configured: 1
2010-05-28 12:13:51.139297 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/openzap.conf.
2010-05-28 12:13:51.139297 [DEBUG] zap_io.c:2587 found config for span
2010-05-28 12:13:51.139297 [NOTICE] ozmod_zt.c:1185 Using DAHDI control device
2010-05-28 12:13:51.139297 [ERR] ozmod_zt.c:1194 Cannot open control device /dev/dahdi/ctl: Permission denied
2010-05-28 12:13:51.140310 [ERR] zap_io.c:2856 Error loading /usr/local/freeswitch/mod/ozmod_zt.so
2010-05-28 12:13:51.140310 [ERR] zap_io.c:2901 Unloading /usr/local/freeswitch/mod/ozmod_zt.so
2010-05-28 12:13:51.140310 [CRIT] zap_io.c:2610 failure creating span, no such type 'zt'
2010-05-28 12:13:51.140310 [INFO] zap_io.c:2782 Configured 0 channel(s)
2010-05-28 12:13:51.140310 [ERR] zap_io.c:3065 No modules configured!
2010-05-28 12:13:51.140310 [ERR] mod_openzap.c:3331 Error loading OpenZAP
2010-05-28 12:13:51.140310 [CRIT] switch_loadable_module.c:882 Error Loading module /usr/local/freeswitch/mod/mod_openzap.so
**Module load routine returned an error**
BTW, before I investigate further... I notice that the two articles in the wiki about OpenZap are based on Zaptel (1.4), whose development stopped two years ago when Zaptel was replaces with Dadhi:

http://wiki.freeswitch.org/wiki/OpenZAP
http://wiki.freeswitch.org/wiki/Zaptel_Tutorial

Has someone successfully used OpenZap with Dahdi, and if yes, are there any changes that should be made in OpenZap to accomodate this change?

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Installing OpenZap?

Tom Baldwin
GillesToo,

What is the output of "dahi_scan"
can you post your openzap.conf.xml file
I run wanpipe , dahdi and openzap with libpri


Tom
 
On Fri, 2010-05-28 at 04:41 -0700, GillesToo wrote:

>
> Troy Anderson-2 wrote:
> > oz list will only work if openzap is loaded, so that's a clue that it
> > isn't for some reason. Try issuing reload mod_openzap from the cli and
> > take a look at the output.  There is likely an error on load, and that
> > error may lead you to what's wrong with the config.
>
> Thanks for the tip. Here's what "reload mod_openzap" returns:
>
>
>
> > freeswitch@internal> load mod_openzap
> > -ERR [module load file routine returned an error]
> >
> > freeswitch@internal> 2010-05-28 12:13:51.138275 [DEBUG] zap_config.c:56
> > Configuration file is /usr/local/freeswitch/conf/modules.conf.
> > 2010-05-28 12:13:51.138275 [NOTICE] zap_io.c:3057 Modules configured: 1
> > 2010-05-28 12:13:51.139297 [DEBUG] zap_config.c:56 Configuration file is
> > /usr/local/freeswitch/conf/openzap.conf.
> > 2010-05-28 12:13:51.139297 [DEBUG] zap_io.c:2587 found config for span
> > 2010-05-28 12:13:51.139297 [NOTICE] ozmod_zt.c:1185 Using DAHDI control
> > device
> > 2010-05-28 12:13:51.139297 [ERR] ozmod_zt.c:1194 Cannot open control
> > device /dev/dahdi/ctl: Permission denied
> > 2010-05-28 12:13:51.140310 [ERR] zap_io.c:2856 Error loading
> > /usr/local/freeswitch/mod/ozmod_zt.so
> > 2010-05-28 12:13:51.140310 [ERR] zap_io.c:2901 Unloading
> > /usr/local/freeswitch/mod/ozmod_zt.so
> > 2010-05-28 12:13:51.140310 [CRIT] zap_io.c:2610 failure creating span, no
> > such type 'zt'
> > 2010-05-28 12:13:51.140310 [INFO] zap_io.c:2782 Configured 0 channel(s)
> > 2010-05-28 12:13:51.140310 [ERR] zap_io.c:3065 No modules configured!
> > 2010-05-28 12:13:51.140310 [ERR] mod_openzap.c:3331 Error loading OpenZAP
> > 2010-05-28 12:13:51.140310 [CRIT] switch_loadable_module.c:882 Error
> > Loading module /usr/local/freeswitch/mod/mod_openzap.so
> > **Module load routine returned an error**
> >
>
> BTW, before I investigate further... I notice that the two articles in the
> wiki about OpenZap are based on Zaptel (1.4), whose development stopped two
> years ago when Zaptel was replaces with Dadhi:
>
> http://wiki.freeswitch.org/wiki/OpenZAP
> http://wiki.freeswitch.org/wiki/Zaptel_Tutorial
>
> Has someone successfully used OpenZap with Dahdi, and if yes, are there any
> changes that should be made in OpenZap to accomodate this change?
>
> Thank you.



_______________________________________________
FreeSWITCH-users mailing list
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: Installing OpenZap?

Tom Baldwin
In reply to this post by GillesToo
Gilles,

Sorry for the double post
In your openzap.conf
you need to have the span number like this

[span zt FXO]
name => OpenZAP
fxo-channel => 29

after the span type

Tom

On Thu, 2010-05-27 at 16:51 -0700, GillesToo wrote:

> Hello
>
> I read the documents in the wiki, but my Dahdi + OpenZap + FXO card combo
> doesn't work, so I'd like to check if I made a mistake, overlooked
> something, or maybe some things have changed since Asterisk moved from
> Zaptel to Dahdi and the wiki hasn't been updated accordingly:
>
> 1. Compiled Dahdi 2.3.0, and successfully loaded it:
>
> # /etc/init.d/dahdi status
> ### Span  1: WCFXO/0 "Wildcard X100P Board 1" (MASTER) RED
>   1 FXO        FXSKS       (SWEC: MG2)  RED
>  
> 2. vi /usr/local/freeswitch/conf/zt.conf: Nothing to do here, apparently
>
> 3. vi /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml:
> Uncommented <load module ="mod_openzap"/>
>
> 4. vi /usr/local/freeswitch/conf/autoload_configs/openzap.conf.xml: Left
> default settings
>
> 5. vi /usr/local/freeswitch/conf/openzap.conf:
> [span zt]
> name => OpenZAP
> number => 1
> fxo-channel => 1
>
> 6. The wiki says to then run fs_cli, followed by "oz list", but: "oz list:
> Command not found!"
>
> Did I miss something?
>
> Thank you for any hint.



_______________________________________________
FreeSWITCH-users mailing list
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: Installing OpenZap?

Joseph L. Casale
In reply to this post by GillesToo
> **Module load routine returned an error**

Do you use udev rules? Who owns the dahdi interface, and who
does FS run as?

_______________________________________________
FreeSWITCH-users mailing list
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: Installing OpenZap?

GillesToo
In reply to this post by Tom Baldwin
Thanks Tom for the help, but I'm still getting an error when typing "reload mod_openzap" in the Freeswitch console (Actually, two errors: "ozmod_zt.c:Cannot open control device /dev/dahdi/ctl: Permission denied", followed by "zap_io.c failure creating span, no such type 'zt'" which could be a syntax error of mine in openzap.conf and/or openzap.conf.xml).

Here are the outputs:

============================================
# dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard TDM400P REV E/F Board 5
name=WCTDM/4
manufacturer=Digium
devicetype=Wildcard TDM400P REV E/F
location=PCI Bus 03 Slot 01
basechan=1
totchans=4
irq=20
type=analog
port=1,FXO
port=2,none
port=3,none
port=4,none

============================================
# /etc/init.d/dahdi status
### Span  1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
  1 FXO        FXSKS       (SWEC: MG2)  RED
  2 EMPTY                  
  3 EMPTY                  
  4 EMPTY                  

============================================
# cat /usr/local/freeswitch/conf/zt.conf
[defaults]
codec_ms => 20
wink_ms => 150
flash_ms => 750
echo_cancel_level => 64
rxgain => 0.0
txgain => 0.0

============================================
# cat /usr/local/freeswitch/conf/openzap.conf
[span zt FXO]
name => OpenZAP
#number => 1
fxo-channel => 1

============================================
# cat /usr/local/freeswitch/conf/autoload_configs/openzap.conf.xml 
<configuration name="openzap.conf" description="OpenZAP Configuration">
  <settings>
    <param name="debug" value="0"/>
    <!--<param name="hold-music" value="$${moh_uri}"/>-->
    <!--<param name="enable-analog-option" value="call-swap"/>-->
    <!--<param name="enable-analog-option" value="3-way"/>-->
  </settings>
   <pri_spans>
     <span name="PRI_1">
       <!-- Log Levels: none, alert, crit, err, warning, notice, info, debug -->
       <param name="q921loglevel" value="alert"/>
       <param name="q931loglevel" value="alert"/>
       <param name="mode" value="user"/>
       <param name="dialect" value="5ess"/>
       <param name="dialplan" value="XML"/>
       <param name="context" value="default"/>
     </span>
     <span name="PRI_2">
       <param name="q921loglevel" value="alert"/>
       <param name="q931loglevel" value="alert"/>
       <param name="mode" value="user"/>
       <param name="dialect" value="5ess"/>
       <param name="dialplan" value="XML"/>
       <param name="context" value="default"/>
     </span>
   </pri_spans>
  <!-- one entry here per openzap span -->
  <analog_spans>
    <!--span id="1"-->
    <!--span id="zt"-->
    <span name="FXO">
      <!--<param name="hold-music" value="$${moh_uri}"/>-->
      <!--<param name="enable-analog-option" value="call-swap"/>-->
      <!--<param name="enable-analog-option" value="3-way"/>-->
      <param name="tonegroup" value="us"/>
      <param name="digit-timeout" value="2000"/>
      <param name="max-digits" value="11"/>
      <param name="dialplan" value="XML"/>
      <param name="context" value="default"/>
      <param name="enable-callerid" value="true"/>
      <!-- regex to stop dialing when it matches -->
      <!--<param name="dial-regex" value="5555"/>-->
      <!-- regex to stop dialing when it does not match -->
      <!--<param name="fail-dial-regex" value="^5"/>-->
    </span>
  </analog_spans>
</configuration>
============================================
# cat /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
<configuration name="modules.conf" description="Modules">
  <modules>
		[...]
    <load module="mod_openzap"/>
		[...]
============================================
#fs_cli    
freeswitch@internal> reload mod_openzap
-ERR unloading module [No such module!]
-ERR loading module [module load file routine returned an error]

freeswitch@internal> 2010-05-28 17:13:17.830127 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/modules.conf.
2010-05-28 17:13:17.830127 [NOTICE] zap_io.c:3057 Modules configured: 1
2010-05-28 17:13:17.830127 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/openzap.conf.
2010-05-28 17:13:17.830127 [DEBUG] zap_io.c:2587 found config for span
2010-05-28 17:13:17.831145 [NOTICE] ozmod_zt.c:1185 Using DAHDI control device
2010-05-28 17:13:17.831145 [ERR] ozmod_zt.c:1194 Cannot open control device /dev/dahdi/ctl: Permission denied
2010-05-28 17:13:17.831145 [ERR] zap_io.c:2856 Error loading /usr/local/freeswitch/mod/ozmod_zt.so
2010-05-28 17:13:17.831145 [ERR] zap_io.c:2901 Unloading /usr/local/freeswitch/mod/ozmod_zt.so
2010-05-28 17:13:17.831145 [CRIT] zap_io.c:2610 failure creating span, no such type 'zt'
2010-05-28 17:13:17.831145 [INFO] zap_io.c:2782 Configured 0 channel(s)
2010-05-28 17:13:17.831145 [ERR] zap_io.c:3065 No modules configured!
2010-05-28 17:13:17.831145 [ERR] mod_openzap.c:3331 Error loading OpenZAP
2010-05-28 17:13:17.831145 [CRIT] switch_loadable_module.c:882 Error Loading module /usr/local/freeswitch/mod/mod_openzap.so
**Module load routine returned an error**
============================================

Has someone already seen this "/dev/dahdi/ctl: Permission denied" error?

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Installing OpenZap?

GillesToo
In reply to this post by Joseph L. Casale
At 17:28 28/05/2010, you wrote:
> > **Module load routine returned an error**
>Do you use udev rules? Who owns the dahdi interface, and who
>does FS run as?

Thanks Joseph for the tip. Indeed, I chowned /usr/local/freeswitch so
all files are owned by freeswitch.freeswitch, but I compiled and
installed dahdi as root.

How do I check file permissions for dahdi? How do I check what udev rules are?

Reply | Threaded
Open this post in threaded view
|

Re: Installing OpenZap?

GillesToo
In reply to this post by Joseph L. Casale
More information:

[root@freeswitch conf]# ll /dev/dahdi/
total 0
crw-rw----. 1 asterisk asterisk 196,   1 May 28 17:02 1
crw-rw----. 1 asterisk asterisk 196,   2 May 28 17:02 2
crw-rw----. 1 asterisk asterisk 196,   3 May 28 17:02 3
crw-rw----. 1 asterisk asterisk 196,   4 May 28 17:02 4
crw-rw----. 1 asterisk asterisk 196, 254 May 28 17:02 channel
crw-rw----. 1 asterisk asterisk 196,   0 May 28 17:02 ctl
crw-rw----. 1 asterisk asterisk 196, 255 May 28 17:02 pseudo
crw-rw----. 1 asterisk asterisk 196, 253 May 28 17:02 timer

I create user asterisk.asterisk because Dahdi complained at some time
since I don't have Asterisk installed. Do you know how to chown to
freeswitch.freeswitch?

Reply | Threaded
Open this post in threaded view
|

Re: Installing OpenZap?

Joseph L. Casale
In reply to this post by GillesToo
>Thanks Joseph for the tip. Indeed, I chowned /usr/local/freeswitch so
>all files are owned by freeswitch.freeswitch, but I compiled and
>installed dahdi as root.

The chown business is fine, but who does fs actually run as? Do you use
init scripts?

# ps aux |grep freeswitch

>How do I check file permissions for dahdi? How do I check what udev rules are?

What platform are you on? If you want, use the packages from Atrpms, Axel
builds them with a udev patch and Oslec.

You need to look in /etc/udev/rules.d/ for something dahdi related:
Yours obviously set the interface to be owned by a user/group asterisk.

FS can't access them:) See your second post, note the perms for `other`?

Edit your dahdi rule to change the owner to whoever runs fs.

HTH,
jlc

_______________________________________________
FreeSWITCH-users mailing list
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: Installing OpenZap?

GillesToo
Thanks, things look much better:

==========
# vi /etc/udev/rules.d/dahdi.rules
# /etc/init.d/dahdi restart
# ll /dev/dahdi
==========

freeswitch@internal> load mod_openzap
+OK

2010-05-28 18:15:18.865942 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/modules.conf.
freeswitch@internal> 2010-05-28 18:15:18.866962 [NOTICE] zap_io.c:3057 Modules configured: 1
2010-05-28 18:15:18.866962 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/openzap.conf.
2010-05-28 18:15:18.866962 [DEBUG] zap_io.c:2587 found config for span
2010-05-28 18:15:18.866962 [NOTICE] ozmod_zt.c:1185 Using DAHDI control device
2010-05-28 18:15:18.866962 [INFO] zap_io.c:2858 Loading IO from /usr/local/freeswitch/mod/ozmod_zt.so [zt]
2010-05-28 18:15:18.866962 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/zt.conf.
2010-05-28 18:15:18.866962 [INFO] ozmod_zt.c:566 Setting rxgain val to 0.000000
2010-05-28 18:15:18.866962 [INFO] ozmod_zt.c:575 Setting txgain val to 0.000000
2010-05-28 18:15:18.868055 [INFO] zap_io.c:2604 auto-loaded 'zt'
2010-05-28 18:15:18.868055 [DEBUG] zap_io.c:2625 created span 1 (FXO) of type zt
2010-05-28 18:15:18.868055 [DEBUG] zap_io.c:2638 span 1 [name]=[OpenZAP]
2010-05-28 18:15:18.868055 [DEBUG] zap_io.c:2638 span 1 [fxo-channel]=[1]
2010-05-28 18:15:18.868055 [DEBUG] zap_io.c:2667 setting trunk type to 'FXO' start(KEWL)
2010-05-28 18:15:18.868055 [INFO] ozmod_zt.c:385 configuring device /dev/dahdi/channel channel 1 as OpenZAP device 1:1 fd:51
2010-05-28 18:15:18.868055 [INFO] zap_io.c:2782 Configured 1 channel(s)
2010-05-28 18:15:18.869077 [INFO] zap_io.c:2875 Loading SIG from /usr/local/freeswitch/mod/ozmod_analog.so
2010-05-28 18:15:18.869077 [INFO] zap_io.c:2991 auto-loaded 'analog'
2010-05-28 18:15:18.869077 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/tones.conf.
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation [dial] = [v=-7;%(1000,0,350,440)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [dial] = [350,440]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation [ring] = [v=-7;%(2000,4000,440,480)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [ring] = [440,480]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation [busy] = [v=-7;%(500,500,480,620)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [busy] = [480,620]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation [attn] = [v=0;%(100,100,1400,2060,2450,2600)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [attn] = [1400,2060,2450,2600]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation [callwaiting-sas] = [v=0;%(300,0,440)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [callwaiting-sas] = [440]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation [callwaiting-cas] = [v=0;%(80,0,2750,2130)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [callwaiting-cas] = [2750,2130]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [fail1] = [913.8]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [fail2] = [1370.6]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [fail3] = [1776.7]
2010-05-28 18:15:18.870091 [ERR] mod_openzap.c:2410 Error finding OpenZAP span id: name:PRI_1
2010-05-28 18:15:18.870091 [ERR] mod_openzap.c:2410 Error finding OpenZAP span id: name:PRI_2
2010-05-28 18:15:18.870091 [DEBUG] ozmod_analog.c:946 ANALOG thread starting.
2010-05-28 18:15:18.870091 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_openzap]
2010-05-28 18:15:18.870091 [NOTICE] switch_loadable_module.c:144 Adding Endpoint 'openzap'
2010-05-28 18:15:18.870091 [NOTICE] switch_loadable_module.c:250 Adding Application 'disable_ec'
2010-05-28 18:15:18.870091 [NOTICE] switch_loadable_module.c:250 Adding Application 'disable_dtmf'
2010-05-28 18:15:18.870091 [NOTICE] switch_loadable_module.c:250 Adding Application 'enable_dtmf'
2010-05-28 18:15:18.870091 [NOTICE] switch_loadable_module.c:272 Adding API Function 'oz'
==========

Since I don't have a digital interface, I guess I can remove the PRI_1 and PRI_2 spans from
conf/autoload_configs/openzap.conf.xml to avoid the two ERR above.

On to configuring Freeswitch to handle incoming calls from the FXO port...

Thanks everyone.