Hi I tried with the following openzap.conf<br>[span zt PRI_1]<br>trunk_type =&gt; e1<br>b-channel =&gt; 1:1-15,17-31<br>d-channel =&gt; 1:16<br> <br>openzap.conf.xml<br>&lt;configuration name=&quot;openzap.conf&quot; description=&quot;OpenZAP Configuration&quot;&gt;<br>
        &lt;settings&gt;<br>                &lt;param name=&quot;debug&quot; value=&quot;7&quot;/&gt;<br>        &lt;/settings&gt;<br>        &lt;libpri_spans&gt;<br>                &lt;span name=&quot;PRI_1&quot;&gt;<br>
                        &lt;param name=&quot;node&quot; value=&quot;cpe&quot;/&gt;<br>                        &lt;param name=&quot;switch&quot; value=&quot;euroisdn&quot;/&gt;<br>                        &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
                        &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>                &lt;/span&gt;<br>        &lt;/libpri_spans&gt;<br>&lt;/configuration&gt;<br><br>But as soon as I start the freeswitch I got the following error<br>
<br>2009-10-08 15:08:35.496270 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>2009-10-08 15:08:37.601135 [DEBUG] ozmod_libpri.c:817 EVENT [ONHOOK][1][1:1] STATE [DOWN]<br>2009-10-08 15:08:37.701176 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>
2009-10-08 15:08:39.802004 [DEBUG] ozmod_libpri.c:817 EVENT [DTMF][0][1:1] STATE [DOWN]<br>2009-10-08 15:08:39.902034 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>2009-10-08 15:08:42.010983 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>
2009-10-08 15:08:44.115874 [DEBUG] ozmod_libpri.c:817 EVENT [ONHOOK][1][1:1] STATE [DOWN]<br>2009-10-08 15:08:44.215915 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>2009-10-08 15:08:46.312748 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>
2009-10-08 15:08:48.417552 [DEBUG] ozmod_libpri.c:817 EVENT [DTMF][0][1:1] STATE [DOWN]<br>2009-10-08 15:08:48.517587 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>2009-10-08 15:08:50.626485 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>
2009-10-08 15:08:52.735325 [DEBUG] ozmod_libpri.c:817 EVENT [ONHOOK][1][1:1] STATE [DOWN]<br>2009-10-08 15:08:52.835357 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>2009-10-08 15:08:54.944190 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>
2009-10-08 15:08:57.049109 [DEBUG] ozmod_libpri.c:817 EVENT [DTMF][0][1:1] STATE [DOWN]<br>2009-10-08 15:08:57.149148 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>2009-10-08 15:08:59.253979 [DEBUG] ozmod_libpri.c:885 Event Failure! 1<br>
<br>I also got the below error in the middle<br><br>2009-10-08 15:09:48.992613 [CRIT] lpwrap_pri.c:154 span 1 D-WRITE FAIL! []<br>2009-10-08 15:09:48.992613 [ERR] ozmod_libpri.c:88 Short write: -1/5 (Invalid or incomplete multibyte or wide character)<br>
<br>Please help.<br><br><div class="gmail_quote">On Wed, Oct 7, 2009 at 9:19 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Oct 7, 2009 at 3:34 AM, lakshmanan ganapathy <span dir="ltr">&lt;<a href="mailto:lakindia89@gmail.com" target="_blank">lakindia89@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>Again I was struck in a problem, Here is the scenario.<br><br>On incomming call, I just call an event outboud socket. But what happens is, for the first 15 call, it is working fine. But from the 16th call to 30th call, it says the below error.<br>


<br>
2009-10-07 15:07:48.201846 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:17 (ignored)<br>2009-10-07 15:07:55.381861 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:18 (ignored)<br>2009-10-07 15:07:58.569774 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:19 (ignored)<br>


2009-10-07 15:08:01.37824 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:20 (ignored)<br>2009-10-07 15:08:03.129846 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:21 (ignored)<br>2009-10-07 15:08:04.825851 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:22 (ignored)<br>


2009-10-07 15:08:06.289977 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:23 (ignored)<br>2009-10-07 15:08:07.761961 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:24 (ignored)<br>2009-10-07 15:08:09.737944 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:25 (ignored)<br>


2009-10-07 15:08:11.462018 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:26 (ignored)<br>2009-10-07 15:08:13.566024 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:27 (ignored)<br>2009-10-07 15:08:15.430163 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:28 (ignored)<br>


2009-10-07 15:08:17.446103 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:29 (ignored)<br>2009-10-07 15:08:19.430118 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:30 (ignored)<br>2009-10-07 15:08:21.358121 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:31 (ignored)<br>


<br>
<br>But for the next call, when it is opening channel 1:1, it is executing my dial plans.<br>I don&#39;t know why it failed when it is choosing 1:17-1:31. Any one has any idea.<br><br>Below are my configuration details:<br>


<br>openzap.conf<br>[span zt PRI_1]<br>trunk_type =&gt; e1<br>b-channel =&gt; 1:1-15<br>d-channel=&gt; 1:16<br>b-channel =&gt; 1:17-31<br></blockquote></div></div><div><br>Just a hunch, but could you try this in openzap.conf:<br>
b-channel =&gt; 1:1-15,17-31<br>
d-channel =&gt; 1:16<br><br>I want to see what happens. I don&#39;t have an E1 setup to test with right now otherwise I&#39;d do it myself. Please report back. Thanks,<br><font color="#888888">MC<br> <br></font></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">
<br>openzap.conf.xml<br>&lt;configuration name=&quot;openzap.conf&quot; description=&quot;OpenZAP Configuration&quot;&gt;<br>
        &lt;settings&gt;<br>                &lt;param name=&quot;debug&quot; value=&quot;7&quot;/&gt;<br>        &lt;/settings&gt;<br>        &lt;libpri_spans&gt;<br>                &lt;span name=&quot;PRI_1&quot;&gt;<br>


                        &lt;param name=&quot;node&quot; value=&quot;cpe&quot;/&gt;<br>                        &lt;param name=&quot;switch&quot; value=&quot;euroisdn&quot;/&gt;<br>                        &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>


                        &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>                &lt;/span&gt;<br>        &lt;/libpri_spans&gt;<br>&lt;/configuration&gt;<br><br>zaptel.conf<br><br>span=1,1,0,ccs,hdb3<br>


bchan=1-15,17-31<br>dchan=16<br><br>loadzone        = us<br>defaultzone     = us<br><br>oz list<br><br>span: 1 (PRI_1)<br>type: isdn<br>chan_count: 47<br>dialplan: XML<br>context: default<br>dial_regex:<br>fail_dial_regex:<br>


hold_music:<br>analog_options none<br><br>
<br></div></div><div class="im">_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></blockquote></div><br>
<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>