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"><<a href="mailto:neilp@cs.stanford.edu">neilp@cs.stanford.edu</a>></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 => 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 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 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><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>