<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt">No, Thank you for taking the time to play with it.<br>We made OpenZAP last May from scratch in a 30 day span<br>which you can see in thise nearly vertical burst of code lines in the repo.<br><span><a target="_blank" href="http://fisheye.freeswitch.org/browse/OpenZAP">http://fisheye.freeswitch.org/browse/OpenZAP</a></span><br><br>Since then we have had little input, so, I have all the patience in the world<br>for you since you are one of the pioneers of this new sector of our work and we can't get very far without someone to test and provide feedback.<br><br><div> </div><div>Anthony Minessale II<br><br><span>FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a></span><br><span>ClueCon <a target="_blank"
href="http://www.cluecon.com/">http://www.cluecon.com/</a></span><br><br>AIM: anthm<br>MSN:anthony_minessale@hotmail.com<br>GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<br>IRC: irc.freenode.net #freeswitch</div><div><br>FreeSWITCH Developer Conference<br>sip:888@conference.freeswitch.org<br>iax:guest@conference.freeswitch.org/888<br>googletalk:conf+888@conference.freeswitch.org<br>pstn:213-799-1400</div><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Michael Collins <mcollins@fcnetwork.com><br>To: freeswitch-dev@lists.freeswitch.org<br>Sent: Sunday, November 4, 2007 2:27:34 AM<br>Subject: Re: [Freeswitch-dev] INFO: Update on Mikey's OpenZAP experimenting<br><br>
<style>
<!--
_filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;color:windowtext;}
span.EmailStyle18
        {font-family:Arial;color:navy;}
_filtered {margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Let me preface this email by saying, “I
am a *<b><span style="font-weight: bold;">RETARD</span></b>*”!!!</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I didn’t read my own friggin’
configs. After some researching I figured out that I had my spans 3 and 4
flip-flopped in the openzap configuration. The actual configuration of my
systems is as follows:</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">FS
Box Asterisk
Box</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">Span 1 <--+ T1
Span 1 N/C</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">
| X-Over</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">Span 2 <–-+ Cable
Span 2 N/C</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">Span 3 <--T1 X-over--> Span 3 (PRI, DMS,
Asterisk = pri_net)</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">Span 4 <--T1 X-over--> Span 4 (??? –
possible PRI)</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">To make a long story short, my first email
was stupid. I was trying to make my span 4 be a PRI when the zaptel was
configured as plain-Jane T1 w/ fxsks signaling and then talking to who knows
what on the * side (my LAN conn is still down so I honestly don’t know
what’s up on that span, although when I configured span 4 to be clear
channel I did receive goofy ring signals on channel 24 which suggests some sort
of PRI on the * side, so I’ve got a temp PRI setup on span 4 right now…).
I configured span 3 to be PRI and I got all sorts of cool and interesting
D-channel messages. My modified configs are below, including my
zaptel.conf, which I should have looked at first! (kicking myself in the head…)
Also, I believe my conclusion about the span id settings in openzap.conf.xml is
probably wrong as well. I set up only span 3 for testing and left it with
<span id=”3”> when it was the only one configured in XML and
it came up like a champ.</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks for your patience. I’ll
keep testing and report back with more information and better researched
questions in a few days.</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">-MC</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">/etc/zaptel.conf:</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">## Test
FreeSWITCH/OpenZAP config</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">span=1,0,0,esf,b8zs
# FS back-to-back "Network"</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">fxoks=1-24</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">span=2,1,0,esf,b8zs
# FS back-to-back "CPE"</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">fxsks=25-48</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">span=3,1,0,esf,b8zs
# Asterisk back-to-back PRI (I am CPE)</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">bchan=49-71</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">dchan=72</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">span=4,1,0,esf,b8zs
# Asterisk back-to-back PRI (I am CPE)</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">bchan=73-95</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">dchan=96</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;"># Global data</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">loadzone
= us</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">defaultzone
= us</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">/etc/openzap/openzap.conf:</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">[span zt]</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">name =>
OpenZAP</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">number => 1</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">trunk_type =>
t1</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">b-channel =>
1-24</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">[span zt]</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">name =>
OpenZAP</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">number => 2</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">trunk_type =>
t1</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">b-channel =>
25-48</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">[span zt]</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">name =>
OpenZAP</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">number => 3</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">trunk_type =>
t1</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">b-channel =>
49-71</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">d-channel =>
72</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">[span zt]</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">name =>
OpenZAP</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">number => 4</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">trunk_type =>
t1</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">b-channel =>
73-95</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">d-channel =>
96</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">openzap.conf.xml:</span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;"><configuration
name="openzap.conf" description="OpenZAP Configuration"></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<settings></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="debug" value="1"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
</settings></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<analog_spans></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<span id="1"></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="dialplan" value="XML"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="context" value="default"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
</span></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<span id="2"></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="dialplan" value="XML"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="context" value="default"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
</span></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;"> <span lang="DE"> </analog_spans></span></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;" lang="DE"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;" lang="DE">
<pri_spans></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;" lang="DE">
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;"><span
id="3"></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="mode" value="user"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="dialect" value="DMS"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;"> <param
name="dialplan" value="XML"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="context" value="default"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
</span></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<span id="4"></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="mode" value="user"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="dialect" value="DMS"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="dialplan" value="XML"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
<param name="context" value="default"/></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
</span></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">
</pri_spans></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;"> </configuration></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr tabindex="-1" align="center" size="2" width="100%">
</span></font></div>
<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> freeswitch-dev-bounces@lists.freeswitch.org
[mailto:freeswitch-dev-bounces@lists.freeswitch.org] <b><span style="font-weight: bold;">On Behalf Of </span></b> Michael Collins<br>
<b><span style="font-weight: bold;">Sent:</span></b> Saturday, November 03, 2007
11:32 PM<br>
<b><span style="font-weight: bold;">To:</span></b> freeswitch-dev@lists.freeswitch.org<br>
<b><span style="font-weight: bold;">Subject:</span></b> [Freeswitch-dev] INFO:
Update on Mikey's OpenZAP experimenting</span></font></p>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">FYI, </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I have been working with MikeJ on a few OpenZAP issues.
The good news is that I’ve figured out what setting in my
openzap.conf.xml was triggering the seg fault on startup. It is probably
an easy fix to zap_isdn.c or thereabouts. The issue is with how many
spans of each type I have and what ID I give them. I have a four-port
card so I initially had this:</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <analog_spans></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <span
id="1"></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> …</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <span
id="2"></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> …</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <span
id="3"></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> …</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </analog_spans></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <pri_spans></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <span
id="4"></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> …</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </pri_spans></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">It turns out putting the first PRI span as
id=”4” made zap_isdn.c barf. I changed it to
id=”1” and the system came right up.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I don’t have physical access to the machine at this
point so all I can do now is report to you where I stand, and what I’m
doing. First off my physical config:</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">FS
Box Asterisk
Box</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">Span 1 <--+
Span 1 N/C</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">
|</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">Span 2
<–-+ Span 2 N/C</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">Span 3 <--------> Span 3</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">Span 4 <--------> Span 4 (PRI, DMS, Asterisk =
pri_net)</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I have spans 1,2 back-to-back w/ x-over T1 cable.
Ideally one span would be FXS and the other FXO, however I couldn’t get
the spans to come up unless I specified the channels as all b-channels in
/etc/openzap/openzap.conf. </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Span 3 on FS is connected to Span 3 on the Asterisk box.
I don’t recall exactly what I have * setup as, but I think
it’s FXS. (I lost my LAN connectivity to the box, so I won’t
know until Monday when I get in to the office.)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Span 4 on FS is connected to Span 4 on the Asterisk box.
I’ve got * set up to emulate the telco, so it is signaling as
pri_net. On Friday I was getting ISDN Q931 errors, which is good and bad.
Bad cuz it’s not working but good cuz at least I know the D channels
are talking. However, I can’t get anything going this
weekend. (I think I’ve got a network or hardware issue on my *
box.) </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">For reference, all the B channels seem to come up. The
only issue I have is getting the D channel on the PRI span to come up.
I’m getting this output:</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">2007-11-03 23:28:44 [DEBUG] zap_io.c:1777
load_config() span 4 [d-channel]=[96]</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">2007-11-03 23:28:44 [ERR] zap_zt.c:162
zt_open_range() failure configuring device /dev/zap/channel as OpenZAP device
4:24 fd:113</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">2007-11-03 23:28:44 [INFO] zap_io.c:1848
load_config() Configured 95 channel(s)</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I’m attaching the openzap.conf and openzap.conf.xml
contents at the end of this email. If you have any suggestions on things
you’d like to see me try then by all means let me know.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><br>
Thanks,<br>
MC</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">/etc/openzap/openzap.conf:</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">[span zt]</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">name => OpenZAP</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">number => 1</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">trunk_type => t1</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">b-channel => 1-24</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">[span zt]</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">name => OpenZAP</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">number => 2</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">trunk_type => t1</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">b-channel => 25-48</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">[span zt]</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">name => OpenZAP</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">number => 3</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">trunk_type => t1</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">b-channel => 49-72</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">[span zt]</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">name => OpenZAP</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">number => 4</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">trunk_type => t1</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">b-channel => 73-95</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">d-channel => 96</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">openzap.conf.xml:</span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"><configuration name="openzap.conf"
description="OpenZAP Configuration"></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <settings></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <param
name="debug" value="1"/></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </settings></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <analog_spans></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <span
id="1"></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <param
name="dialplan" value="XML"/></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <param
name="context" value="default"/></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <span
id="2"></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <param
name="dialplan" value="XML"/></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <param
name="context" value="default"/></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <span
id="3"></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <param
name="dialplan" value="XML"/></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <param
name="context" value="default"/></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </analog_spans></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <pri_spans></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <span
id="1"></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <param
name="mode" value="user"/></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <param
name="dialect" value="DMS"/></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <param
name="dialplan" value="XML"/></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> <param
name="context" value="default"/></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </pri_spans></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </configuration></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
</div>
</div>
<!-- kill --><div><br><br>-----Inline Attachment Follows-----<br><br>
_______________________________________________<br>Freeswitch-dev mailing list<br><a ymailto="mailto:Freeswitch-dev@lists.freeswitch.org" href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></div></div><br></div></div><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com </body></html>