Why do you have 2 spans in openzap.conf.xml with the same name, in both the boost and analog sections?<br clear="all">Moises Silva<br>Senior Software Engineer<br>Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<br>
t. 1 905 474 1990 x 128 | e. <a href="mailto:moy@sangoma.com">moy@sangoma.com</a><br>
<br><br><div class="gmail_quote">On Sat, May 15, 2010 at 3:52 PM, Neil Patel <span dir="ltr">&lt;<a href="mailto:neilp@cs.stanford.edu">neilp@cs.stanford.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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 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 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 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><font color="#888888"><div><br></div><div><br></div>
</font><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>