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 => smg_prid</div></div><div><div>trunk_type =>e1</div>
</div><div><div>b-channel => 1:1-15</div></div><div><div>b-channel => 1:17-31</div></div><div><div>trunk_type =>e1</div></div><div><div>b-channel => 2:1-15</div></div><div><div>b-channel => 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><configuration name="openzap.conf" description="OpenZAP Configuration"></div>
</div><div><div> <settings></div></div><div><div> <param name="debug" value="0"/></div></div><div><div> </div></div><div><div> </settings></div></div><div><div> <boost_spans></div>
</div><div><div> <span id="smg_prid"></div></div><div><div> <param name="dialplan" value="XML"/></div></div><div><div> <param name="context" value="default"/></div>
</div><div><div> </span></div></div><div><div> </boost_spans></div></div><div><div> </div></div><div><div> <analog_spans></div></div><div><div> <span id="smg_prid"></div>
</div><div><div> <param name="dialplan" value="XML"/></div></div><div><div> <param name="context" value="default"/></div></div><div><div> </div></div>
<div><div> </span></div></div><div><div> </analog_spans></div></div><div><div></configuration></div></div></blockquote><div><br></div><div>And here is the lua code I'm using to dial out:</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>sessiondata = "OpenZAP/smg_prid/<num>"</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>