Hi All,<div><br></div><div>I am trying to dial out over my PRI, and am getting this error:</div><div><br></div><div><div>2010-05-16 01:01:21.452392 [CRIT] zap_io.c:1139 SPAN NOT DEFINED!</div><div>2010-05-16 01:01:21.452392 [ERR] mod_openzap.c:1154 No channels available</div>

<div>2010-05-16 01:01:21.452392 [ERR] switch_ivr_originate.c:2249 Cannot create outgoing channel of type [OpenZAP] cause: [NORMAL_CIRCUIT_CONGESTION]</div></div><div><br></div><div><br></div><div>This is my openzap.conf:</div>

<div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>[span wanpipe smg_prid]</div></div><div><div>name =&gt; smg_prid</div></div><div><div>trunk_type =&gt;e1</div>

</div><div><div>b-channel =&gt; 1:1-15</div></div><div><div>b-channel =&gt; 1:17-31</div></div><div><div>trunk_type =&gt;e1</div></div><div><div>b-channel =&gt; 2:1-15</div></div><div><div>b-channel =&gt; 2:17-31</div></div>

</blockquote><div><br></div><div>This is my openzap.conf.xml:</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>&lt;configuration name=&quot;openzap.conf&quot; description=&quot;OpenZAP Configuration&quot;&gt;</div>

</div><div><div>  &lt;settings&gt;</div></div><div><div>    &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;</div></div><div><div>   </div></div><div><div>  &lt;/settings&gt;</div></div><div><div>  &lt;boost_spans&gt;</div>

</div><div><div>        &lt;span id=&quot;smg_prid&quot;&gt;</div></div><div><div>        &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;</div></div><div><div>        &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;</div>

</div><div><div>        &lt;/span&gt;</div></div><div><div>  &lt;/boost_spans&gt;</div></div><div><div>  </div></div><div><div>  &lt;analog_spans&gt;</div></div><div><div>        &lt;span id=&quot;smg_prid&quot;&gt;</div>

</div><div><div>        &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;</div></div><div><div>        &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;</div></div><div><div>      </div></div>

<div><div>        &lt;/span&gt;</div></div><div><div>  &lt;/analog_spans&gt;</div></div><div><div>&lt;/configuration&gt;</div></div></blockquote><div><br></div><div>And here is the lua code I&#39;m using to dial out:</div>

<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>sessiondata = &quot;OpenZAP/smg_prid/&lt;num&gt;&quot;</div></div><div><div>new_session = freeswitch.Session(sessiondata)</div>

</div></blockquote><div><br></div><div>What am I missing here? </div><div>Thanks,</div><div>Neil</div><div><br></div><div><br></div>